Notifications
Clear all

[Closed] How can I change vertex ID in mesh or poly?

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
(@denist)
Joined: 1 year ago

Posts: 0

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.

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
(@denist)
Joined: 1 year ago

Posts: 0

according to new ids:

  1. set verts positions (setVert …)
  2. set new faces verts (setFace …)
    if you have any vert data you have to:
  3. copy vert data

it will not effect texture verts, smoothing groups, face ids, and face data