POV-Ray : Newsgroups : povray.newusers : Height Field Server Time
24 Nov 2024 23:26:21 EST (-0500)
  Height Field (Message 1 to 3 of 3)  
From: kingmassivid
Subject: Height Field
Date: 9 Apr 2007 15:10:01
Message: <web.461a8eeb395a298d3c903e860@news.povray.org>
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


Post a reply to this message

From: Mike the Elder
Subject: Re: Height Field
Date: 9 Apr 2007 15:25:01
Message: <web.461a92b05aeb6702f30be9d60@news.povray.org>
"kingmassivid" <kin### [at] gmailcom> wrote:
> 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

Although the basic directions for a height field are in section "3.4.1.5
Height Field" of the POV-Ray help files, the example code is found in
TUTORIAL section: "2.3.3.2  Height Field Object" and looks like this:

  height_field {
    tga "image.tga"
    smooth
    pigment { White }
    translate <-.5, -.5, -.5>
    scale <17, 1.75, 17>
  }


Note that this example uses a "targa" file (tga).  You will want to
substitute "gif".

Good luck.


Post a reply to this message

From: Alain
Subject: Re: Height Field
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.