[vtkusers] Rotation not applied when importing VRML file.

Matias Tailanian matias at tailanian.com
Sun Dec 2 12:37:26 EST 2012


Dear all,
I've been testing some examples about importing vrml files in vtk. I added
an new example program to the VTK Wiki [1], where I show how to get an
individual object from a a scene and its associated transform. The problem
is that when importing the actor into vtk, it loses it's rotation. The
traslation is correctly applied.

The attached .wrl file was generated with 3d max10  and contains a teapot
rotated 30° along x axis.

[1]  http://www.cmake.org/Wiki/VTK/Examples/Cxx/IO/individualVRML


Thanks in advance.
Best regards,
                   Matías
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121202/91ed846e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: teapot.WRL
Type: model/vrml
Size: 34938 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121202/91ed846e/attachment.wrl>


More information about the vtkusers mailing list