Mesh Loader

Mesh Loader Loads geometry which has been imported in Ventuz and is stored in the Project folder.

3D Geometries which cannot be expressed by the primitives available in Ventuz (i.e. Rectangle Node, Cube Node, ...) are usually modeled in dedicated 3D modeling programs and then imported into Ventuz. The Mesh Loader accepts a file name of a Ventuz Mesh file (*.vzm) and is responsible for loading and rendering the mesh. If a mesh is split into multiple subsets, the Subset property can be used to either render all of them (value set to -1) or only the subset at a dedicated index. The output property SubsetsCount provides the number of existing subsets in the loaded mesh file.

For a discussion on importing non-vzm files (i.e. OBJ, COLLADA, ...) see Importing of 3D Geometry and for a list of supported geometry formats and their characteristics go to Supported Formats.

Improve Transparency

When using alpha blending on concave meshes the interior of the object becomes visible, which is often undesirable.

Enabling the ImproveTransparency property can solve this problem in many cases. This is done by rendering the object twice, first only in the depth buffer and then normally. So this is a bit more expensive. When alpha is at 100% doing this is not necessary and therefore skipped, so you only have to sacrifice performance when it matters.