[osg-users] How to draw 3D cylinder and 3D band?

Alberto Luaces aluaces at udc.es
Wed Jan 4 03:16:16 PST 2017


Hi Daven,

no screenshot came through, but I think I understand what you want to
do.  You will have to construct the geometry yourself.  Please have a
look at the osggeometry example.

Actually you can deform the cylinder with scaling operations, but that
is not possible for the band, so you will have to generate the vertices
and then join them with triangles or quads.

-- 
Alberto




More information about the osg-users mailing list