Robert Osfield a écrit :
As replied in previous posts, their is a whole mechanism in osg::State
for managing state, there is no need for a "disapply" as this
automatically comes part of the package.
I'm not agree with you. I find the origin of the bug : There is a real
problem : see my bug fix on osg-submission.
What we have here is a bug though, the empty geode is breaking the
mechanism for some reason.
Not at all : I send to you another scene without empty geode where you
can experience the same bug.
Handling GLSL is a bit of oddity due to
the somewhat decoupled nature of Programs and Uniforms, and the lack
of any glEnable/glDisable mode for GLSL. Perhaps its these oddities
that aren't quite handled correct by the State::apply(..) methods that
manage the lazy state updating, and state reset.
Robert.
Cheers,
--
Lamoliatte Stephane
Ingenieur R&D
R.S.A. Cosmos
Z.I. de la Vaure - B.P.40
42290 Sorbiers, France
Tél : +33 (0)4 77 53 30 48
Fax : +33 (0)4 77 53 38 61
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org