Hi,
if you mean you drew something in the XY plane, then you need to rotate
around Y to get the YZ. Y is common.
Some google search terms for you:
"right hand rule"
"right handed coordinate system"
I don't want to be blunt, but you will have to start understanding these
rotations/tranformations if you want to do 3D graphics. There is more
than enough free resources out there.
jp
Akilan Thangamani wrote:
Hi,
I have drawn a geometry normal to XY-plane and I would like to transform it in
such a way that it must be normal to YZ-plane.I did rotation for 90 degree
about X-axis. Will it do what I wanted to do? The corresponding code would
seems to be ,
......
....
osg::Matrix
rot=osg::Matrix::rotate(osg::DegreesToRadians(90.),osg::Vec3f(1.0,0.0,0.0));
....
..
Thank you!
Cheers,
Akilan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17275#17275
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org