[Bf-committers] OSX vpaint bug
Ton Roosendaal
bf-committers@blender.org
Thu, 5 Jun 2003 14:02:32 +0200
Hi,
I've pinned down the problem, and it still doesn't look good.
- AglSwapbuffers() doesn't swap or switch buffers (as its definition
says) but copies the backbuffer to the front, leaving the backbuffer
unaltered.
- I tried the option AGL_BACKING_STORE when creating an opengl
window... didn't help
- when calling glDrawBuffer(GL_FRONT) and glFlush(), the backbuffer
gets swapped to the front. (this causes the flashing while
vertexpainting)
The BF got 'premier support' from Apple, so I've mailed them about it.
I also like to get feedback from OSX coders here... anyone has a clue?
It might well be the way a window is created, or some OpenGL global
setting I'm not aware of.
Alternatively, an opengl-compatible selection routine can be used of
course. Using the backbuffer for peeking color-codes is not really a
good method... for this either an off-screen opengl buffer should be
used, or the builtin opengl selection methods. I'll look into both.
-Ton-
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton@blender.org
http://www.blender.org