|
 |
Josh English <Jos### [at] joshuarenglish com> wrote:
> I think it has been asked here before but I can't think of the right
> term. In 2d vector graphics there is a function called envelope which
> allows you to take an object and distort it into any quadrangle.
>
> I am trying the same thing in POV-Ray, but every transformation I can
> pull out of my hat and the include files maintains the original
> parallelogram. I tried slicing a box in half and transforming the two
> sides but it ended up with an ugly crease.
>
> Am I fooling myself into thinking this is even possible in POV-Ray?
>
> Uncle Josh
There was an object bender macro that basically took an object, turned it into a
zillion slices, and did things that way.
What you need to do is define you object as an isosurface, and then you can do
non-linear transformations on them:
http://news.povray.org/povray.binaries.images/thread/%3Cweb.5d4b7ce3a683fa3a4eec112d0%40news.povray.org%3E/
See at the top how I took a "box" and bent it.
Look through Mike Williams' Isosurface Tutorial, and you'll get an idea of what
you can do.
The control handles of the Bezier polygon in the 2D envelope tool is a neat
idea.
Would be super cool to incorporate that into a modeler....
- BE
Post a reply to this message
|
 |