I have a map(c++ STL) variable that contains the attribute values of the tiff image.
What data is needed to create a 3D mesh?
Besides coordinate values and color values, what do I need?
Please Help me.
Thank you.
I have a map(c++ STL) variable that contains the attribute values of the tiff image.
What data is needed to create a 3D mesh?
Besides coordinate values and color values, what do I need?
Please Help me.
Thank you.
The topology, i.e. which vertices form lines/triangles/quads.
Texture mapping also needs texture coordinates, lighting needs normals.
A list of 3D points give you a point cloud. Turning a point cloud to a mesh is a very difficult problem. Meaning there is a lot of research going on even now about this. If you have what points form triangles, then you essentially have a mesh. The only thing you need for a mesh is a set of points, and how they connect to form faces (usually we form quads or triangles for ease of representation).