Hi everyone,
Im fairly new to python so i apologise now if this turns out to be a dud question
If you take an object with any number of vertices and with the vertex indices in any order, is it possible to ‘tell’ a vertex which ones are its immediate neighbours?
So far i have made a cloth patch using python as this allows me to control the ordering of the vertices, then any vertex can be told which other vertices in the list are its neighbours using simple maths junk.
Now i really need to be able to give python an arbitrary object and let it work out which vetices are connected, ie which are ‘next’ to each other.
I’m just experimenting with cloth simulation, using a mass-spring system, and i’ve got a cool ‘flag in the wind effect’ but now i want to move onto more advanced stuff and this is proving very tough.
I have a few ideas how to do this logically, but they don’t appear tio work in code so i put it to you great people
darn, i have a lesson, have to go hope this makes sense!
cheers
Piran