|
|
> I need to shear an isosurace by using
> some sort of function before blobbing the isosurface
To shear a function along an axis, just replace one of the axis variables
(y, for instance), with the same variable offset by a different variable
(y+C*x). For example, take the unit sphere function:
x*x + y*y + z*z - 1
By replacing y with y+2*x, we can bring the right side of the sphere down
and the left side up:
x*x + (y+2*x)*(y+2*x) + z*z - 1
Try rendering it and see the results.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|