|
|
Peter Popov wrote:
>
> #declare F_Relief = function {
> pigment {
> image_map { tga "relief.tga" interpolate 2 }
> rotate 90*x
> }
> }
>
> #declare F_Terrain = function { y - F_Relief(x,y,z).gray }
>
> Any idea why the max gradient would be that high? I ended up making a
> mesh out of the tga in Rhino instead, but I want to learn to do this
> right.
Try 'interpolate 4'. IIRC interpolate 2 does not lead to a continuous
function, therefore the high gradient.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 03 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|