|
|
Slime wrote:
>
> Well, tired as I am of working with this patch, I wanted to add one more
> thing: function warps.
>
> [...]
IMO a function warp should have a somewhat different functionality, it
should work like a (type 0) displace warp in megapov. This means it would
displace the pattern in the direction defined by the function(s). See the
displace warp samples on my website:
http://www-public.tu-bs.de:8080/~y0013390/pov/warp_b.html
for how this works. While your version might be quite intuitive for
mapping purposes it's quite a bit more difficult to handle for random
functions like in your last sample.
I remember such a feature has been discussed somewhere else before.
Megapov had the very useful feature of displace warps and in 3.5 it would
be logical to use functions but instead of three float functions i would
rather use one vector function. Why? - This could supply the
functionality of both the type 0 and type 1 displace warp if there is also
a new vector function calculating the gradient of a float function.
Syntax could be something like:
function {
gradient { fn_whatever(x, y, z) }
}
Another possible feature that would round up the whole thing is a warp
function of course.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|