Jump to content

TBezierWindow: Difference between revisions

From LinuxMCE
No edit summary
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007.  In general any information should apply to LinuxMCE.  However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.</td></tr> </table>
[[Category: Development]]
[[Category: Programmer's Guide]]
TBezierWindow
TBezierWindow
TBezierWindow - implementation of bezier patch
TBezierWindow - implementation of bezier patch


Which has 16 points named anchors and creates a 3D curved object asociated with that points (please read the following link for more informations http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=28)
Which has 16 points named anchors and creates a 3D curved object associated with that points (please read the following link for more informations http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=28)


Bezier patch
Bezier patch


The DrawingWidgetsEngine::Paint() and DrawingWidgetsEngine::Flip() are ussualy not called by an effect/opengl programer.
The TBezierWindow looks identically with the TBasicWindow only difference is after setup the anchors to look as a rounded surface
 
First of them iterates all widgets and draw them if they have the visible flag set true.
Flip method will made the complete update to the screen.
 
The decision of separation of the Paint (3D render) and flipping is cause some implementations may add different OpenGL code, for instance it may mix with one texture, etc.
 
The TBezierWindow looks identically with the TBasicWindow only

Latest revision as of 17:17, 23 August 2009

TBezierWindow TBezierWindow - implementation of bezier patch

Which has 16 points named anchors and creates a 3D curved object associated with that points (please read the following link for more informations http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=28)

Bezier patch

The TBezierWindow looks identically with the TBasicWindow only difference is after setup the anchors to look as a rounded surface