|
![](/i/fill.gif) |
Among other things, clipka saw fit to write:
>> >> #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.
>
> 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;
If backwards compatibility is important, I would suggest choosing another
name for the colours, like this:
#declare Col_AnotherName_01=color rgb<0.3020, 0.2314, 0.1529>;
#declare Col_AnotherName_02=color rgb<0.4667, 0.3804, 0.2980>;
#declare Col_AnotherName_03=color rgb<0.5020, 0.4118, 0.3529>;
#declare Col_Citrine_01 = Col_AnotherName_03;
That way, old scenes would not change (and no change would be needed in the
source), and the colour order, from darkest to lightest, is maintained.
--
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby
Post a reply to this message
|
![](/i/fill.gif) |