POV-Ray : Newsgroups : povray.general : "No pigment type given" : Re: "No pigment type given" Server Time
11 Aug 2024 01:23:25 EDT (-0400)
  Re: "No pigment type given"  
From: John M  Dlugosz
Date: 23 Sep 1999 21:19:59
Message: <37ead1bf@news.povray.org>
Good example:  I use a couple planes for clipping a more complex object.
I'll look for things like that.

--John

Ken <tyl### [at] pacbellnet> wrote in message
news:37E99B4F.B8955C8A@pacbell.net...
>
>
> "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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.