VRML objects not rotate
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The display of VRML object does not take into account for the rotation command instruction.
The VRML code below represents a triangle with 3 spheres and 3 cylinders. Each cylinder connects 2 spheres together. Paraview is not able to do a right display of cylinders.
//////////////////////////////////////////////////////////////////////////////
#VRML V2.0 utf8 Background { skyColor 1 1 1} Viewpoint { position 0 0 25 orientation 0 0 -1 0 description "front" } ######## node idx : 0 ########## Transform{ translation 0.000000 5.000000 0.000000 children[Shape { geometry Sphere{radius 1.000000} appearance Appearance {material Material{diffuseColor 0.200000 0.200000 0.70000}} }] } ######## node idx : 1 ########## Transform{ translation 5.000000 0.000000 0.000000 children[Shape { geometry Sphere{radius 1.000000} appearance Appearance {material Material{diffuseColor 0.200000 0.700000 0.20000}}
appearance Appearance {material Material{diffuseColor 0.000000 0.200000 0.550000}}
}]
} ######## node idx : 2 ########## Transform{ translation 10.000000 5.000000 0.000000 children[Shape { geometry Sphere{radius 1.000000} appearance Appearance {material Material{diffuseColor 0.700000 0.200000 0.20000}} }] } ######## segment idx : 0 ########## Transform{ translation 5.00000 5.00000 0.000000 rotation -0.000000 0.000000 2.500000 1.5708 children[Shape { geometry Cylinder{ bottom TRUE side TRUE top TRUE radius 0.500 height 10.000000 } appearance Appearance {material Material{diffuseColor 0.700000 0.200000 0.200000}} }] } ######## segment idx : 1 ########## Transform{ rotation -0.000000 0.000000 2.500000 0.785398 translation 2.500000 2.500000 0.000000 children[Shape { geometry Cylinder{ bottom TRUE side TRUE top TRUE radius 0.500 height 7.071068 } appearance Appearance {material Material{diffuseColor 0.200000 0.200000 0.700000}} }] } ######## segment idx : 2 ########## Transform{ rotation -0.000000 0.000000 2.500000 -0.785398 translation 7.500000 2.500000 0.000000 children[Shape { geometry Cylinder{ bottom TRUE side TRUE top TRUE radius 0.500 height 7.071068 } appearance Appearance {material Material{diffuseColor 0.200000 0.700000 0.200000}} }] }