|
![](/i/fill.gif) |
On Thu, 6 Dec 2001 12:42:12 -0500, Alessandro Coppo <a.c### [at] iol it> wrote:
> It came to me that displacement mapping is almost like isosurfaces. For
> example, a displacement mapped sphere is an isosurface described by
> a sphere + displacement function. So I would not call it impossible (or
> only for meshes) but "just" computationally heavy.
Displacement mapping is also partially possible with primitives without
transformation to meshes or isosurfaces. I made deform-patch last year and it
worked just like transformations are performed. It curves ray instead of
geometry. But as I said it were partialy possible becouse it required
"bi-directional" displacements.
http://news.povray.org/povray.binaries.animations/15150/
http://news.povray.org/povray.binaries.animations/15155/
http://news.povray.org/povray.binaries.animations/15156/
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
![](/i/fill.gif) |