"Nagore Barrena" writes:

> Hi,
>
> I'm rendering new 3d models using OSG. In translate fuction 
> (preMult->(osg::Matrix::translate(osg::Vec3(x,y,z)) What unit are x, y and z? 
> There are metres, milimetres, pixels?
>
> Thanks in advance!
>
> Cheers,
> Nagore

Hi Nagore,

OSG does not do any modification to your model's coordinates, so the
values you are passing to the translations are defined in the same
units as the 3d models you are loading.

-- 
Alberto

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

Reply via email to