0

Hey everyone I'm pretty new to graphics programming and I want some guidance or working samples, I want to make any 3D objects but for starters I want to make a 3D cube using triangle mesh with given coordinates via python, and export all the mesh in an .obj file so I can load the mesh and view it in meshlab.

I would really love some guidance on this thanks.

1 Answers1

1

if you are comfortable with meshlab you could find useful pymeshlab

https://pymeshlab.readthedocs.io

Here is a simple tutorial on how to create a mesh from just array of coords and indexes...

https://pymeshlab.readthedocs.io/en/latest/tutorials/import_mesh_from_arrays.html

ALoopingIcon
  • 2,218
  • 1
  • 21
  • 30
  • 3
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/34915339) – Gugu72 Aug 29 '23 at 14:42