Notifications
Clear all
[Closed] How can I change vertex ID in mesh or poly?
Nov 12, 2009 7:12 am
I want to change vertex ID in mesh or poly.
I don’t want to change topology or vertex number.
I just want to rearrange IDs as I wanted.
any thought?
Thanks in advance.
3 Replies
1 Reply
rearranging ids means changing topology. To change vertex id you have to rebuild the mesh or create a new one. There is no other way.
Nov 12, 2009 7:12 am
He… I meant only the visual topology.
So… if I need to rebuild the mesh… what would be “efficient” approach.
What I can think would be…
1.Get the position array of vertex along with matching ID array
2.Define my ID array( whatever that i… random, by texture and etc…)
3.Replace original ID array with my array ID.
4.Rebuilding mesh
right?
1 Reply
according to new ids:
- set verts positions (setVert …)
- set new faces verts (setFace …)
if you have any vert data you have to: - copy vert data
it will not effect texture verts, smoothing groups, face ids, and face data