TBezierWindow

From LinuxMCE
Revision as of 11:32, 3 April 2006 by Wikiadmin (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
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.

TBezierWindow 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)

Bezier patch

The DrawingWidgetsEngine::Paint() and DrawingWidgetsEngine::Flip() are ussualy not called by an effect/opengl programer.

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