|
|
tiocfaidh schrieb:
> I have tried this:
>
> height_field{ tga "test.TGA" smooth
> texture {
> pigment{quick_color Tan}
> finish {ambient 0.10 diffuse 0.75 phong 0.1}}
> translate<-0.5,-0.001,0> scale<100,15,100>}
>
> But doesnt work, I keep getting parse errors, no matching } .....
Parses fine here; your "brace imbalance" must be due to some other parts
of your source file.
Here's where it pays off to develop a consistent coding (and indenting)
style. Cleaned up a bit, your code is as follows:
height_field {
tga "test.TGA" smooth
texture {
pigment {
quick_color Tan
}
finish {
ambient 0.10 diffuse 0.75 phong 0.1
}
}
translate<-0.5,-0.001,0> scale<100,15,100>
}
Beautifying the rest of the code should help you locate the problem.
Post a reply to this message
|
|