POV-Ray : Newsgroups : povray.unofficial.patches : How high? - Iso question : Re: How high? - Iso question Server Time
1 Sep 2024 14:32:15 EDT (-0400)
  Re: How high? - Iso question  
From: Abe
Date: 12 Apr 2001 17:57:53
Message: <3AD624FD.BF4DA25A@taconic.net>
If I understand your question correctly you are looking for sensible
proportions of vertical to horizontal dimensions? I find a y dimension
10-20% of the xz dimension works as an average good start for scaling
height fields. Ultimately trial and error prevails.

Abe

Tom Melly wrote:
> 
> While the x and z dimensions of the contained_by box are obviously up to me,
> how do I work out what (sensible) values to use for the y dimensions of, for
> example, the following:
> 
> #declare MountFunc = function{"ridgedMF" <0.9, 2, 5, 0.75, 2>}
> #declare MBase =
> isosurface{
>   function { y - MountFunc(x,0,z) * min(2, max(0.125,(sqr(x/5) +
> sqr(z/5)))) }
>   eval
>   max_gradient 50
>   contained_by{box{<-20,-1,-20>,<20,15,20>}}
>   texture{MBaseTex}
> }
> 
> --
> "To stop children being afraid of the dark, try to fill their daylight hours
> with as much terror as possible"
> www.tomandlu.co.uk


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.