Mesh Investigator

Back to Index

Shows a Mesh Investigator representation of the selected file in the File List.

The Mesh Investigator allow you to display an unknown file as a 3D mesh. This is useful for files that contain mesh data somewhere within them, but where the file itself isn't a standard or known file format. You can use the fields to describe the location of the vertices, face indices, and texture (uv) points in the file, and then render a mesh or texture (uv) map of the resulting data.


This is the button to show a file in the Mesh Investigator

The assumption here is that the file you're trying to process contains at least a list of vertices, and a list of face indexes. Under that assumption, you fill the corresponding fields and can then generate a mesh.

Vertices: Data Offset: The offset in the file to the table of vertices.
Vertices: Count: The number of vertices in the table.
Vertices: Block Size: The number of bytes used to represent each vertex in the table.
Face Indices: Data Offset: The offset in the file to the table of face indices.
Face Indices: Count: The number of face indices in the table.
Face Indices: Block Size: The number of bytes used to represent each face index in the table. Should be 2 or 4 bytes.

If the mesh file also contains UV co-ordinates for a texture image, you can find them here. The assumption is that the UV co-ordinates are included in the vertex table. By clicking the Calculate UV button, it will read the co-ordinates and display an image of the corresponding texture file.

Texture UV Offset: The offset (in an individual vertex entry) to the UV data for that vertex. For example, a value of 12 means that, for each vertex, if you skip the first 12 bytes you will find the UV fields for that vertex.

There is also a Show Stats button which will display some details about the mesh, including the vertex, face, and UV lists.