How do I delete/remove a vertex from the mesh

Blitz3D Forums/Blitz3D Programming/How do I delete/remove a vertex from the mesh

Rob Pearmain(Posted 2003) [#1]
I have done AddVertex
I have the index and the surface
How do I delete it?


Rob(Posted 2003) [#2]
You have no choice but to rebuild the entire mesh omitting the vertex you wish to delete.

ClearSurface can help, although not by much.


Perturbatio(Posted 2003) [#3]
Maybe there's another way, but all I can think of is iterating through all model vertices and create a new mesh with them (excepting the one you want to delete).


Perturbatio(Posted 2003) [#4]
Wow! I was right! :)


Rob Pearmain(Posted 2003) [#5]
Hmmm, ok, that's not good is it,

Thanks