|
 |
Josh English <Jos### [at] joshuarenglish com> wrote:
> I have a bezier patch modeling system, and I could probably work it to
> create a shape inside any demented cube, but I was hoping to be able to
> copy meshes and deform them, not draw each one individually.
>
> But if that's what it takes, that's what it takes!
Well, if you have a modeling system, then you can use the Bernstein polynomials
to access any point on the patch.
You could add a 3rd dimension with some finagling.
Then you take your mesh, find the bounding box min and max, convert all the 3D
coordinates to uv(w) coordinates, and use the Bezier splines to adjust the
coordinates of the mesh.
> (Isosurfaces scare me. I have no idea how you bent a box.)
>
> - Josh
The same way one "bends" a line to make a parabola. When your shape is an
equation, one can feed anything into it as the input.
So when I take the equation of a box and substitute x*x for x, then I get a
parabolicly bent box.
We can tilt, rotate, twist, scale, _nonlinearly scale_, perturb the surface,
etc.
- BE
Post a reply to this message
|
 |