T-SIM V4.5 Reference
VRML Image distortion
VRML file format is a format for transfer of 3D objects. These objects can have associated textures, usually stored separately in JPEG files. VRML files can be created in VRML modelers or exported from general 3D modelers like Cinema, 3DStudioMax etc.
Current T-SIM importer supports VRML 2.0 format only, VRML 1.0 is not readable for T-SIM. Moreover, only IndexedFaceSet entity is imported. It means T-SIM expects set of triangles with associated texture and texture coordinates.
Steps to pre-distort VRML 3D images
The projection algorithm is tightly connected with the used tool to ensure correct location of VRML 3D triangles. Every triangle in the VRML file has its corresponding triangle in the tool. Knowing this, the projection algorithm can automatically move / scale / rotate the VRML 3D coordinates to match the 3D simulation in T-SIM.
The picture above shows 3D model in T-SIM (rotated, scaled and moved after the import from VRML file). The original 3D VRML model has different 3D nodal coordinates, but the topology remains the same. Thanks to that T-SIM exactly knows the node correspondence between the VRML model and the tool.
The described projection algorithm
ensures correct projection of the VRML data. However, it has the following
The tool must be created from the VRML file. It is not possible to create the tool using other import (from STL, DXF file etc.). This means that the whole tool and the images for projection must be included in one VRML file. It is not possible to compose different VRML files containing different areas of the tool body. Moreover, make sure that the imported VRML file does not contains any degenerated triangles. Any degenerated triangle is automatically removed by T-SIM and this changes the tool topology. As a result, the projection is impossible - VRML file contains more elements than the tool and the correspondence is broken.
Back to top of this document