François Bodic wrote:
Hi everybody,

I want to draw a simple tube and so as to do that I draw two cylinders (one outer and one 
inner). The problem comes when I want to draw the bottom and the top "rings". 
Is there a nice way to do that with OSG?

Well, you already have the vertices for the ends of the two tubes, and presumably they're already on the graphics card in a buffer object. Is there a reason why you can't just render then as a DrawElementsUShort triangle strip?
   -Paul

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

Reply via email to