POV-Ray : Newsgroups : povray.general : Warning: No pigment type given. : Re: Warning: No pigment type given. Server Time
5 Aug 2024 00:22:57 EDT (-0400)
  Re: Warning: No pigment type given.  
From: Christopher James Huff
Date: 10 Jan 2003 09:17:36
Message: <cjameshuff-0AF590.09075410012003@netplex.aussie.org>
In article <3e1e41b1$1@news.povray.org>,
 "Greg M. Johnson" <gregj:-)56590@ao:-)l.com> wrote:

> I found some code which gives an annoying (and false) warning about lack of
> pigment.  It happened when I was unioning a whole bunch of blobs together.

The problem is here:

#declare toothblob=blob{threshold 0.7 cylinder{0,y,1,1 pigment{rgb 1}} }

The blob itself doesn't have any texture, the POV code that checks for a 
texture doesn't know about the component textures. Meshes probably have 
the same problem. A dummy texture is the only method I know of to get 
rid of the warning, it could be in the blob instead of the union.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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