POV-Ray : Newsgroups : povray.newusers : Height Field : Re: Height Field Server Time
29 Jul 2024 00:30:45 EDT (-0400)
  Re: Height Field  
From: Alain
Date: 9 Apr 2007 15:31:26
Message: <461a948e@news.povray.org>
kingmassivid nous apporta ses lumieres en ce 09-04-2007 15:07:
> hi,
> i want to try out the Height Field . i have made a gif file but i don't know
> how the code should look! can you help me?
> Lukas
> sorry for my bad english
> 
> 
 From the documentation: (here using a TGA image,just change "tga" with "gif")
Comments added.

   height_field {//Start in a box from <0,0,0>to <1,1,1>
     tga "image.tga"// the source file used
     smooth // Hide the individual facettes, simulate a higher resolution image.
     pigment { White } //change as you want
     translate <-.5, -.5, -.5>// to center it around the origin
     scale <17, 1.75, 17>// to give it it's final dimention.
   }

If you are on windows, look sections 2.3.3.2 and 3.4.1.5 in the documentation. 
May be close in the documentation for other platforms.

-- 
Alain
-------------------------------------------------
Sometimes my love of the arcane combines with my askew humor to make me 
unintelligible!!


Post a reply to this message

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