Hi JP,

J.P. Delport wrote:
> Hi Fred,
> 
> maybe have a look at this:
> http://www.bricoworks.com/articles/stateset/stateset.html
> 
> I remember something like that state equality is only tested using 
> pointers and not internal data. So, maybe you'll have to explicitly 
> share state (that getOrCreate won't do).
> 
> Sorry I can't actually answer from more experience.
> 
> jp

What about if I need to put a texture in my state? Often, each object has its 
own texture.

Having distinct StateSet objects will be required, and I will be hit by the 
performance drop.

What can I do in this case?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38258#38258





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to