|
![](/i/fill.gif) |
(see images in povray.binary.images)
This little test shows how it is theoretically possible to do non-linear
transformations on objects using megapov.
The object is the union of a cube, a sphere and a cone.
A function based on the distance to this object is created, using the
proximity pattern.
Then an isosurface is created, using this function and a limit slightly
positive. This way, the surface is "just a bit" envelopping the object.
The advantage is that there is no equation here to describe the object;
the proximity pattern does all the job.
The second picture makes use of this first function, which is composed
with a (rather uninteresting) space transform, to perform the reverse
transformation to the object. And the nice point is that this
transformation is non-linear.
The sad point is that the rendering times are absolutely insane.
As Chris wrote, there is a granularity issue here, and very strong
sampling for the proximity detection, high accuracy for the isosurface,
and a bit of AA are necessary to get a fairly ugly and tiny image of a
very simple object.
"Material" questions could certainly be solved the same way to get the
texture follow the object transformation.
--
__ __ __ __ _
| | / \ / / |_ / |/
\/\/ \__/ /_ /_ |__ \_ |\
Post a reply to this message
|
![](/i/fill.gif) |