POV-Ray : Newsgroups : povray.unofficial.patches : How high? - Iso question : How high? - Iso question Server Time
1 Sep 2024 14:33:48 EDT (-0400)
  How high? - Iso question  
From: Tom Melly
Date: 12 Apr 2001 10:12:38
Message: <3ad5b7d6@news.povray.org>
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.