playmesumch00ns
01-14-2003, 10:25 AM
I' m creating the effect of sort-of-a cutting torch for an animation.
I've got a locator controlling the position of the torch effect. The locator itself moves along a path that is created using the "Curve from edges" tool. What I want is for the edges on either side of the locator to move apart as it passes, creating the effect that the surface is being cut open... (the image below illustrates what I mean)
Now I've figured out a way to do this using MEL and expressions, first by storing a list of the vertices on one side of the 'cut', then by doing some trickery sampling the locator's position, and figuring out which vertex it's closest to, and whether it's moving towards that vertex or away from it, and hence how much I should move each vertex. I reckon I can make this work...
But it seems quite long-winded and deadline is fast approaching, can anyone think of a simpler way to achieve this effect?
Thanks
I've got a locator controlling the position of the torch effect. The locator itself moves along a path that is created using the "Curve from edges" tool. What I want is for the edges on either side of the locator to move apart as it passes, creating the effect that the surface is being cut open... (the image below illustrates what I mean)
Now I've figured out a way to do this using MEL and expressions, first by storing a list of the vertices on one side of the 'cut', then by doing some trickery sampling the locator's position, and figuring out which vertex it's closest to, and whether it's moving towards that vertex or away from it, and hence how much I should move each vertex. I reckon I can make this work...
But it seems quite long-winded and deadline is fast approaching, can anyone think of a simpler way to achieve this effect?
Thanks
