[Kde-games-devel] Ksudoku, Kubrik 3D background
Matthew Woehlke
mw_triad at users.sourceforge.net
Fri May 16 18:23:34 CEST 2008
Luciano Montanaro wrote:
> You would have to paint the background on every update, but it should
> not be much slower than clearing the background to zero.
This is OpenGL painting *two* textured triangles, waaaaaay below the
demands of modern 3D games. It had *better* be ludicrously fast ;-).
Actually, you'll take the biggest hit from mode changing (i.e. disabling
and enabling texturing and lighting). I wouldn't expect that to be
problematic (or even noticeable, unless you're getting FPS in the three
digits), but if it is, it might actually help to create a plain-white
texture and texture the cube with it.
OTOH you can also reclaim a little performance by not clearing the color
buffer.
--
Matthew
There are lies, and damn lies... and then there is marketing
-- a coworker
More information about the kde-games-devel
mailing list