process=True changes vertices order
See original GitHub issueHi,
Thanks for the great library.
I’m having a question about the process parameter in trimesh.Trimesh
. When it is set to true, and validate=False
, even if there is no duplicate vertices or NaNs, the order of the vertices is changed. Is this intentional?
Thank you in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
trimesh.base — trimesh 3.17.1 documentation
A Trimesh object contains a triangular 3D mesh. Parameters. vertices ((n, 3) float) – Array of vertex locations. faces ((m, 3) ...
Read more >Vertex order is changed when .obj … | Apple Developer Forums
I load an .obj file with 473 vertices and a corresponding number of normals and texture coordinates. The resulting model loads and is...
Read more >Modify or transfer vertex orders | Maya 2020
You can change the vertex order using the Reorder Vertices command. To reorder vertices. Delete the history of the polygon object whose vertices...
Read more >navis.MeshNeuron — navis 1.3.1 documentation
MeshNeuron(x, units=None, process=True, validate=False, **metadata)[source]¶. Neuron represented as mesh with vertices and faces. Parameters.
Read more >Transfer Vertex Order, Reorder Vertices, Restore Blend Shape
In this tutorial I show you how can you transfer or reorder the vertices.Andor Kollar - Character Artist © 2019 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries, are you loading an OBJ by chance? It’s a little bit of a long story as to why it needs another kwarg, but you can pass
maintain_order
to the OBJ loader. If it’s another format it really shouldn’t be changing the order with justprocess=False
. Snippet in OBJ loader: https://github.com/mikedh/trimesh/blob/ee075ebc9f083f125d6fcfe2ed99cf8b479ad1b1/trimesh/exchange/obj.py#L22-L28Call with:
trimesh.load(file_name, process=False, maintain_order=True)
Oh I didn’t read the issue title. Yeah if
process=True
it will change vertex order 😄