B-SIM V2.5 Reference - Blow molding simulation
VRML Image distortion
VRML file import
This is a brand new feature enabling to read 3D textured model saved in VRML format. However, there are several limitations in the import of VRML files into B-SIM.
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.
The current B-SIM importer supports VRML 2.0 format only, VRML 1.0 is not readable for B-SIM. Moreover, only IndexedFaceSet entity is imported. It means B-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 B-SIM.
The picture above shows 3D model in B-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 B-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