POV-Ray : Newsgroups : povray.general : pigment type unspecified or not 1st item : Re: pigment type unspecified or not 1st item Server Time
27 Apr 2024 11:19:13 EDT (-0400)
  Re: pigment type unspecified or not 1st item  
From: clipka
Date: 18 May 2016 09:15:50
Message: <573c6b06$1@news.povray.org>
Am 18.05.2016 um 15:02 schrieb Mr:
> Hi, trying to remove error messages, I realised I always get this one ("pigment
> type unspecified or not 1st item") because my scene makes use of the #default
> directive early on to define the generic pigment and then uses pigment{} to call
> it, is there another way we should call the default pigment, like a keyword? or
> is this feature going to be deprecated? If not, I don't see why should it
> generate an error message?

To get a texture with the default pigment, just use

    texture {
      // note: no pigment at all!
    }

That's why it is called the default pigment ;)


Post a reply to this message

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