I have been using the importer to import x3d files into Blender (2.75), but I have noticed that the import seems to function correctly on windows 10, but doesn’t seem to work correctly on linux (AWS EC2 Ubuntu 14.04).
I have attached the the 2 blend files so that you can see the differences. I couldn’t upload an x3d file so I have pasted the scene data below.
Any ideas for how to get the importer to work on linux like it does on windows would be very appreciated.
Thanks
<Scene>
<NavigationInfo type=‘EXAMINE’/>
<Background skyColor=‘0 0 0’/>
<Viewpoint fieldOfView=‘0.2837941’ position=’.0 0 18.103’ orientation=‘0 0 1 -0.0’
jump=‘true’ description=‘v1’/>
<!-- # Jmol perspective:
screen width height dim: 962 616 962
perspectiveDepth: true
cameraDistance(angstroms): 18.103123
aperatureAngle(degrees): 16.260204
scalePixelsPerAngstrom: 185.60333
light source: (-0.34815532, -0.34815532, 0.87038827)
lighting: set ambientPercent 45; set diffusePercent 84; set specular true; set specularPercent 22; set specularPower 40; set celShading false; set celShadingPower 10; set specularExponent 6; set zShadePower 3;
center: (0.36404997, 0.2578, 0.0)
rotationRadius: 2.5861602
boundboxCenter: (0.36404997, 0.2578, 0.0)
translationOffset:
zoom: 100.0
moveto command: moveto 1.0 {0 0 1 0} 100.0 0.0 0.0 {0.36404997 0.2578 0.0} 2.5861602 {0 0 0} 0 0 0 3.0 0.0 0.0;
–>
<Transform translation=’-.364 -.258 0’>
<Transform translation=’.0 -.001 0’>
<Shape DEF=’_0’><Sphere radius=‘0.425’/><Appearance DEF=’_1’><Material diffuseColor=’.566 .566 .566’ transparency=‘0’/></Appearance></Shape>
</Transform>
<Transform translation=‘1.092 .0 0’>
<Shape DEF=’_2’><Sphere radius=‘0.275’/><Appearance DEF=’_3’><Material diffuseColor=‘1 1 1’ transparency=‘0’/></Appearance></Shape>
</Transform>
<Transform translation=’-.364 1.03 0’>
<Shape USE=’_2’></Shape>
</Transform>
<Transform translation=’-.364 -.515 .891’>
<Shape USE=’_2’></Shape>
</Transform>
<Transform translation=’-.364 -.515 -.891’>
<Shape USE=’_2’></Shape>
</Transform>
<Transform translation=’-.091 -.129 -.223’ rotation=’-.333 .529 -.817 3.142’>
<Shape DEF=’_4’><Cylinder DEF=’_5’ height=’.546’ radius=‘0.101’ top=‘false’ bottom=‘false’/><Appearance USE=’_1’></Appearance></Shape>
</Transform>
<Transform translation=’-.273 -.386 -.669’ rotation=’-.333 .529 -.817 3.142’>
<Shape DEF=’_6’><Cylinder USE=’_5’/><Appearance USE=’_3’></Appearance></Shape>
</Transform>
<Transform translation=’.0 -.001 0’>
<Shape DEF=’_7’><Sphere radius=‘0.102010004’/><Appearance USE=’_1’></Appearance></Shape>
</Transform>
<Transform translation=’-.364 -.515 -.891’>
<Shape DEF=’_8’><Sphere radius=‘0.102010004’/><Appearance USE=’_3’></Appearance></Shape>
</Transform>
<Transform translation=’-.091 -.129 .223’ rotation=’-.333 .529 .817 3.142’>
<Shape USE=’_4’></Shape>
</Transform>
<Transform translation=’-.273 -.386 .669’ rotation=’-.333 .529 .817 3.142’>
<Shape USE=’_6’></Shape>
</Transform>
<Transform translation=’-.364 -.515 .891’>
<Shape USE=’_8’></Shape>
</Transform>
<Transform translation=’-.091 .257 0’ rotation=’-.333 1.943 0 3.142’>
<Shape USE=’_4’></Shape>
</Transform>
<Transform translation=’-.273 .773 0’ rotation=’-.333 1.943 0 3.142’>
<Shape USE=’_6’></Shape>
</Transform>
<Transform translation=’-.364 1.03 0’>
<Shape USE=’_8’></Shape>
</Transform>
<Transform translation=’.273 -.001 0’ rotation=‘1 1.001 0 3.142’>
<Shape USE=’_4’></Shape>
</Transform>
<Transform translation=’.819 .0 0’ rotation=‘1 1.001 0 3.142’>
<Shape USE=’_6’></Shape>
</Transform>
<Transform translation=‘1.092 .0 0’>
<Shape USE=’_8’></Shape>
</Transform>
</Transform>
</Scene>
Attachments
ubuntu.blend (815 KB)windows.blend (1.02 MB)