|
![](/i/fill.gif) |
hello,
I am new here and like to get a 3D image from a normal grayscale gif image.
What I made:
---------------------------------------
// das bild
#declare inpfile = "bild.gif"
// die Farben
#declare himmel = rgb <.4,.4, 1>
#declare daten = rgb <2.5,1.7,0>*.8
// die Kamera
camera{
location <0, 10, -10> // Kamera-Koordinaten
look_at <0, 0, -1.3> // Kamera-Blickpunkt
angle 40
}
background { himmel }
light_source{ < -1000,1000,-1000> .8}
light_source{ < 1000, 000, 1000> .2 shadowless}
light_source{ < 000,1000, 000> .2 shadowless}
height_field {
gif inpfile
smooth
translate <-.5, -.5, -.5>
rotate <0, 0, 0 >
scale <10, 1, 10>
pigment {daten}
}
-------------------------------------------------
But the result is only the error file with:
Scene File Parser Initialization Error: Cannot open input file.
What is the right directory for my input picture ? Or what is my error ?
Thank you
Peter
Post a reply to this message
|
![](/i/fill.gif) |