Hi all,

I am developing an application in which I have to share the same vertex array 
between different nodes in order to apply a different texture to each of 
them. I know that this is possible to do because I have read it. However, I am 
a beginner in the osg world and I am not able to find the way to do it.

Someone told me that I could use the same geode having different geometries 
but how can I specify a vertex array for a geode? As far as I know this is 
impossible, is not it?
I have also read something about using the DrawElementsUShort primitive but how 
should I use it?

My question is: is there any example of sharing vertex arrays between geometry 
nodes anywhere? Or has anybody done this before? In short, could anybody 
please help me with this task?

Thank you very much in advance.

Regards,

Aitor


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

Reply via email to