Hi OSGers,

 

I have to display a high number (>500) of similar cylinders:

- Same size (both radius and height)

- Same texture coordinates (but different texture)

- Different positions, but fixed (the cylinders don’t move)

- Each one has to be a different drawable (or node), so that they can be individually picked, change color or texture.

 

I’ve used osg::Cylinder until now, but due to its texture coordinates autogeneration, I have to change to, probably, geometry.

 

Which is the most efficient way? Assigning each geometry a unique texcoord array saves opengl calls or just main memory? A MatrixTransform above each node, sharing vertices between geometry or computed vertex positions for each geometry?

 

Thanks for your suggestions.

 

Ignacio Garcia

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

Reply via email to