Hi Terry,

On 2/22/07, Terry Welsh <[EMAIL PROTECTED]> wrote:
I have a really weird bug that shows up in one of my apps.  Sometimes
objects get the wrong StateSet applied to them.  I have not been able
to produce a simple enough test case to send in yet, but I wanted to
know if anyone else has seen this problem in the last month.

The problem was introduced when RenderBin.cpp went from v1.46 to
v1.47.  The problem goes away if I add state.popAllStateSets(); at
line 386.


I'm aware of the problems introduced with the new code in
RenderBin.cpp, this code allows RenderBin's to inherit state from
above, something required for shadow volume work, but there must be
something amiss in this implementation.    The suggested change above
will break the inheritance so is not appropriate, but might give me a
clue to what might need to be changed once I get back to do bug
hunting on this one.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to