Open batuff opened 1 year ago
Hello,
Ok, thanks for the report. This package is a bit abandoned in favor of cgalMeshes. Did you try with cgalMeshes?
Thanks for the answer. I didn't know about cgalMeshes. I will try it.
Sorry there's only off and ply available in this package.
Dear developers,
when using the function writeMeshFile() to write a .obj file (Wavefront file), the vertex indexing start from zero, while it should start from 1 (https://en.wikipedia.org/wiki/Wavefront_.obj_file).
This wrong indexing prevent the file to be imported correctly in 3D visualization/modeling tools such as Blender.
example code:
resulting in output file (my_mesh.obj):
that cannot be used, since facets are defined with vertex index starting from zero (
f 0 1 2 3
while it should bef 1 2 3 4
).