VTK exporters : Large coordinates truncated
I created sphere at 1000000,1000000,1000000 in Paraview and I exported(X3D) to Meshlab
The coordinates in X3D files were truncated
The same occurs for STL,PLY,VRML
I fixed it for x3d that way:
1- In file VTK/IO/Export/vtkX3DExporterXMLWriter.cxx at line 30 add #include <iostream>
2- In file VTK/IO/Export/vtkX3DExporterXMLWriter.cxx at line 88 add *this->OutputStream << std::fixed << std::setprecision(5);
Edited by andre santana de araujo