Welding Verts

Blitz3D Forums/Blitz3D Programming/Welding Verts

Rob Farley(Posted 2005) [#1]
Is there any way to run through all the verts in a model and weld them? I assume there is?!

Basically I'm creating a model made up of a bunch of other models using addmesh and I want to weld the seams.

I'm assuming I can run through all the verts and do a weld of sorts... just no idea where to even start with such a task.


Ross C(Posted 2005) [#2]
Probably run thru all the verts, find matching verts, by distance, find the connecting verts of the triangles it uses, then rebuild the mesh based on that data. It's pretty late for a code sample :oS but i hope that gives you a start point. sleeeeep for me.... :o)


Beaker(Posted 2005) [#3]
Look in here for various weld functions:
http://www.blitzbasic.com/codearcs/codearcs.php?cat=12