POV-Ray : Newsgroups : povray.general : CSG and heightfields : Re: CSG and heightfields Server Time
12 Aug 2024 03:21:46 EDT (-0400)
  Re: CSG and heightfields  
From: Nieminen Mika
Date: 3 Apr 1999 00:26:16
Message: <3705a678.0@news.povray.org>
Chris Capel <chr### [at] hotmailcom> wrote:
:>Particularly, using an intersect of a cube and a heightfield can make a
: field
:>with nice solid edges, which is often handy...

: Could you give an example of this?  I tried doing this, but could not get it
: working correctly.  This may be exactly what I need...

intersection
{ box { 0,1 }
  height_field { gif "height.gif" smooth }

  (transformations and texturing here)
}

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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