POV-Ray : Newsgroups : povray.general : Pigment Map Question : Re: Pigment Map Question Server Time
4 Aug 2024 06:13:57 EDT (-0400)
  Re: Pigment Map Question  
From: Ken
Date: 28 Jun 2003 20:35:33
Message: <3EFE3515.905465B@pacbell.net>
Brian wrote:
> 
> Hi everyone!
> 
> I am going through the tutorials and have come to Section 3.9.4 "Working
> With Pigment Maps".
> 
> I copied the example given in this section yet, when I rendered it I got the
> following Error Message:
> 
> File: C:\Program Files\POV-Ray for Windows
> v3.5\scenes\textures\finishes\pigmentdemo.pov Line: 3
> #declare Pigment1 = pigment {
> 
> checker color Black <----ERROR
> 
> Parse Error: No matching } in 'pigment', undeclared identifier 'Black' found
> instead

"Black" is a predeclared color from the file colors.inc. To use the predeclared
colors you need to add the following at the top of your .pov file -

#include "colors.inc"

-- 
Ken Tyler


Post a reply to this message

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