[osg-users] Model get twisted in osgviewer

legeochen legeochen at gmail.com
Mon Mar 2 03:24:02 PST 2009


Hi All
I came into such a problem. When I view a tunnel model in the format of
shapefile with osgviewer, I found it get twisted. And when I turn it around,
the distortion also changes. Since the value of vertices in my model are a
little big, like (34462366.949, 2667053.504, 756.321), and generated by
translating, rotating with Matrixd.  So, I'm wondering the problem is that
osgviewer uses Matrixf? And, What should I do?  Thanks!!
Cheers!
legeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/0c189ae7/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tunnel.JPG
Type: image/jpeg
Size: 11842 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/0c189ae7/attachment-0004.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twistedsection.JPG
Type: image/jpeg
Size: 9592 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/0c189ae7/attachment-0005.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data.rar
Type: application/octet-stream
Size: 5823 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/0c189ae7/attachment-0002.obj>


More information about the osg-users mailing list