shared vertex problems

Blitz3D Forums/Blitz3D Programming/shared vertex problems

Hello. Im trying to create a REAL CreateMirror function in blitz.. in theory it works, but practically, it failed bigtime. Until i learn more, i cant do it....

What it was going to do:
All entire triangles below Min_y are removed
all triangles with at least one vertice above Min_y are cropped to min_y, Then, when this is complete, create a copy of the mesh below min_y which is flipped in the Y direction.. a plane is then placed at min_y and is returned from the function.
the mirrored mesh is child to the plane

Problem now is:

some triangles share vertices... which means it ends up distorting rather than working proberly.. Shame

Does anyone have any ideas for a fix for this? i believe this function would bean excelent function and will make mirroring feasible in blitz games :)


Cheers all