[GEM-dev] motion blur

cyrille henry cyrille.henry at la-kitchen.fr
Mon Aug 21 17:55:57 CEST 2006


I add the line :

	post("mask %d, depth %d, current %d, color %d", mask, 
GL_DEPTH_BUFFER_BIT, GL_CURRENT_BIT, GL_COLOR_BUFFER_BIT);


and it gives me :
mask 256, depth 256, current 1, color 16384

looks OK.
???

cyrille

chris clepper a écrit :
> On 8/21/06, *cyrille henry* <cyrille.henry at la-kitchen.fr 
> <mailto:cyrille.henry at la-kitchen.fr>> wrote:
> 
>     well, if you see something, then it "work better"
>     i think we have the same problem.
> 
>     so, i think the gemglcleardeph and gemglclear does not only clear depth
>     buffer, but also the color buffer.
>     but i don't really see why, and how to solve this. 
> 
> 
> It works on both Nvidia and ATI on OSX, but not ATI on Windows.  The 
> code only clears the depth buffer, so I can't see what would trigger the 
> clearing of any other buffers.  Maybe the GLdefine constants are wrong 
> or there is an OR being done?  Try printing out GL_DEPTH_BUFFER_BIT, 
> GL_CURRENT_BIT and GL_COLOR_BUFFER_BIT to the console.
> 
> cgc
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev




More information about the GEM-dev mailing list