|
![](/i/fill.gif) |
"John M. Dlugosz" wrote:
>
> I get this message with no line number or other indication of =where=. Is
> it saying that I left a texture out or something, and where might I find it?
>
> --John
It usualy occurs when you are creating objects with CSG operations and
forget to attach a pigment to one of them. Sometimes they are easy to
locate and other times they can hide rather effectively. I've been using
the program for few years now and still get that warning on occasion.
For example this should cause a warning like you are seeing:
intersection {
sphere { <0,0,0>,1 pigment { rgb 1 }}
plane { y,0 }
}
As you can see the plane has no pigment so the parser issues a no pigment
warning. You could get around this by specifying a pigment for both objects
or even more effeciently by adding a pigment to the intersection instead.
example:
intersection {
sphere { <0,0,0>,1 }
plane { y,0 }
pigment { rgb 1 }
}
Although it's a basic example it illustrates well what to look for.
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
![](/i/fill.gif) |