|
|
"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
|
|
|
|
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
|
|