[libavg-devel] Div Node Rotations Patch

Ulrich von Zadow uzadow at libavg.de
Mon Aug 20 10:28:11 CEST 2007


Nick Hebner schrieb:
> Well I fixed the double rotation problem, and started working on using 
> the stencil buffer to do masking. My solution does not seem to be 
> working - it is simply not masking any areas off. I am not sure what I 
> am doing wrong, but I will continue to investigate this. If you see 
> anything, please let me know.

Hm - I don't have time to figure out what all the code does, but are all 
opengl calls succeeding? Have you placed OGLErrorCheck() calls after the 
stencil calls in pushClipRect to test that, for instance?

Also, pushClipRet really needs the bClip parameter. It prevents leaf 
nodes from setting their own clip rectangle. Images and other leaf nodes 
have clip rects that are exactly as big as the item itself, so they 
don't really clip anything. But: the stencil buffer is never 
antialiased, so we'll have jaggies at the edges if we clip.

Cheers,

   Uli

-- 

Ulrich von Zadow | +49-172-7872715 | cocacoder at jabber.berlin.ccc.de




More information about the libavg-devel mailing list