POV-Ray : Newsgroups : povray.general : Height fields : Re: Height fields Server Time
12 Aug 2024 03:32:40 EDT (-0400)
  Re: Height fields  
From: Bob Hughes
Date: 4 Apr 1999 21:03:01
Message: <3707FD99.C5D236EF@aol.com>
'matrix' used to shear it might do if you can get the right matrix maybe
(I have no skill in them myself whatsoever). Or possibly (and better
yet) multiple instances of the same HF scaled/translated/rotated by some
amount to offset from a "base" HF. Something like:

union {
 object {Your_Base_HF} // same as the one below, only no 'water_level'
(could have tho)

 #declare C=1
 #while (C<10)
  object {
   Your_Added_HFs //with a large enough 'water_level' to remove the
base.
         scale C/5 //goes to 2 times larger than original
        rotate C*3*y //rotates to 30 degrees on y axis
       translate <C/10,C/10,0> //move a total of 1 unit along x & y axes
  }
 #declare C=C+1 //ten HFs
 #end

 } //union

This is just my quick answer typed out here so you'll need to write your
own.

Steven Jones wrote:
> 
> Does anyone know how to make an overhang on a height field?

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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