POV-Ray : Newsgroups : povray.general : Error in glass.inc : Re: Error in glass.inc Server Time
30 Jul 2024 10:17:58 EDT (-0400)
  Re: Error in glass.inc  
From: clipka
Date: 12 Apr 2009 08:25:00
Message: <web.49e1dd57e9f8fd6234d4c3f10@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> >> #declare Col_Citrine_02=color rgb<0.3020, 0.2314, 0.1529>;
> >> #declare Col_Citrine_03=color rgb<0.4667, 0.3804, 0.2980>;
> >> #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;
> >>
> >> That way, you don't change existing scenes that use that colour and
> >> you make the two others available.
> >>
> > Then follow that by moving the _01 line to preceed the _02 line to keep
> > them in numerical order.  That still keeps the backward compatibility.
> >
> >      -=- Larry -=-
> I purposely kept the original order. The position of the 3 #declare been
> unimportent.

I even purposely numbered the colors "...01" to "...03" in the original order,
because that's how the original author obvisouly intended it, and it's nice to
know that color variant 01 is the darkest and 03 is brightest.

Existing scenes can easily be fixed by adding to the actual scene:

#declare Col_Citrine_01 = Col_Citrine_03;


Post a reply to this message

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