|
 |
Hi, I'm very new to POV-Ray so i've been looking at the reference docs to find
out what I can do. this code is present in the docs:
pigment {
brick pigment{Jade}, pigment{Black_Marble}
}
but i can't seem to get it working in a file. here's an example:
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
background { color Cyan }
camera {
location <0, 2, -3>
look_at <0, 1, 2>
}
sphere {
<0, 1, 2>, 2
pigment {
brick pigment{Jade}, pigment{Black_Marble}
}
}
light_source { <5, 30, -30> color White }
the render fails and it leaves this error:
File 'firstimg.pov' line 13: Possible Parse Error: Unmatched {
File 'firstimg.pov' line 14: Parse Error: No matching }, pigment identifier
found instead
Fatal error in parser: Cannot parse input.
I can't get the brick pattern to work with two pigments, so i'm kind of confused
here, especially since this code was copy-pasted from the docs. Could I get some
help with this? Thank you (:
Post a reply to this message
|
 |