Hi Praveena,

On 28 June 2012 10:42, Praveena Sara <[email protected]> wrote:
> Thanks for the reply. I want to load a .OSG model which is a cylinder, but 
> not a osg::Cylinder. I wonder if it is possible.

It makes no difference what the subgraph below the transform node is,
it could be an osg::ShadeDrawable+osg::Cylinder or a whole city model
it makes no difference.  The only thing you need to do is compute the
transform to move the two end up points of interest to where you want
to put them.  There is plenty of articles on the web about matrix
maths so go have fun learning ;-)

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

Reply via email to