View Full Version : MAthmatical deformations of a line.
eadint
06-07-2005, 06:11 PM
I dont even know where to start with this one so any tips would be greatly appreciated. what i want to do is create a line or a tube. and perform a mathmatical deformation to it. essentialy i want to deforme the tube or line to a sine wave over time is this possible and what plugin would i want to use.
Dodgy
06-07-2005, 06:52 PM
Make your object in modeler then export to layout. Add the Mathmorph deformation plugin. Enter your equation...
There's a mathmatical displacement function in modeler too probably...
eadint
06-08-2005, 11:24 AM
I applied a sin(f) to the y point in the formula and it just made the whole thing go up and down. any other sugestions.
Dodgy
06-08-2005, 02:03 PM
Of course it did. It's taking each point's position and adding sin(f) to that point's position. Thus as f changes over time, the object as a whole will go up and down.
If you want a sin wave rippling through the object, you'll need to incorporate the x/z variable into your equation.
.5*(sin(x*4+f/10)*sin(z*4+f/10))
gives a nice ripple across a 1m mesh which has been judiciously subdivided.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.