|
|
Hi have a scene w/ the following object :
#declare terrain = height_field {
png "Eau.png"
smooth
texture {
material_map {
png "Eau_m.png"
texture {
pigment {
slope y
color_map {
[0 White]
[0.60 SteelBlue*0.1]
[0.65 White*2]
[0.7 Gray95]
[0.75 Gray80]
[0.85 MediumForestGreen]
[1 ForestGreen]
}
}
}
texture {pigment { Jade } scale 1/60 } // Foret
}
rotate x*90
}
translate <-.5, 0, -.5>
scale <6900,65535,6075>
finish { ambient rgb <0.1,0.2,0.1> }
}
But when I'm trying to generate the scene, I got following message :
File: Eau.pov Line: 35
File Context (5 lines):
rotate x*90
}
translate <-.5, 0, -.5>
scale <6900,65535,6075>
finish
Parse Error: Cannot layer over a patterned texture.
Can someone explain me why I got this kind of error ? I don't understand has
I use the same script (I think ;-D) w/ another scenes and it's working
perfectly.
Thanks
Lolo
Post a reply to this message
|
|
|
|
destroyedlolo wrote:
>
> Can someone explain me why I got this kind of error ? I don't understand has
> I use the same script (I think ;-D) w/ another scenes and it's working
> perfectly.
I doubt that - see what's different in the other scenes and you will
realize what's wrong.
You are trying to layer a second texture (the "finish { ambient rgb
<0.1,0.2,0.1> }") over the material_map texture and this can't work.
What you probably want to do is place that finish where it belongs -
namely inside the textures of the material map.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
|
|
Hi Christoph,
> I doubt that - see what's different in the other scenes and you will
> realize what's wrong.
Yes, you're right : I forgot to remove this line after my copy/past.
Thanks a lot, it's working now :-)
Laurent
Post a reply to this message
|
|