POV-Ray : Newsgroups : povray.general : Error in glass.inc Server Time
27 Nov 2024 03:40:46 EST (-0500)
  Error in glass.inc (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Anthony D  Baye
Subject: Error in glass.inc
Date: 8 Apr 2009 16:25:01
Message: <web.49dd074be82e1c1e65c467e0@news.povray.org>
all the citrine colors have the same name

#declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
#declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
#declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;

A.D.B.


Post a reply to this message

From: Jim Holsenback
Subject: Re: Error in glass.inc
Date: 9 Apr 2009 13:41:49
Message: <49de335d@news.povray.org>
"Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote in message
news:web.49dd074be82e1c1e65c467e0@news.povray.org...
> all the citrine colors have the same name
>
> #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
> #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
> #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;

good eye ... I see this in my 3.6.1 distribution. I've not been keeping up
with beta's lately, so I don't know if it's been addressed. Can someone with
recent beta have a look and see if it's still there?

Cheers Jim


Post a reply to this message

From: clipka
Subject: Re: Error in glass.inc
Date: 9 Apr 2009 14:35:01
Message: <web.49de3eb8e9f8fd62b06defeb0@news.povray.org>
"Jim Holsenback" <jho### [at] hotmailcom> wrote:
> > #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
> > #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
> > #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;
>
> good eye ... I see this in my 3.6.1 distribution. I've not been keeping up
> with beta's lately, so I don't know if it's been addressed. Can someone with
> recent beta have a look and see if it's still there?

I didn't bother to search where my beta installation has its include files, but
I guess I can answer your question just as well by telling you that it's still
that way in the POV code repository right now ;)


Post a reply to this message

From: Jim Holsenback
Subject: Re: Error in glass.inc
Date: 9 Apr 2009 15:03:12
Message: <49de4670$1@news.povray.org>
"clipka" <nomail@nomail> wrote in message
news:web.49de3eb8e9f8fd62b06defeb0@news.povray.org...
> "Jim Holsenback" <jho### [at] hotmailcom> wrote:
> > > #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
> > > #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
> > > #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;

> I didn't bother to search where my beta installation has its include
files, but
> I guess I can answer your question just as well by telling you that it's
still
> that way in the POV code repository right now ;)

I've ran into some delays with my preforce setup ..... would you mind making
the change when you get a moment?

BTW: I was last in glass_old.inc and only glanced over glass.inc .... must
have just read past it, So thanks to Anthony for spotting it, and thanks in
advance to you if you're able to make the change. :-)

Jim


Post a reply to this message

From: Alain
Subject: Re: Error in glass.inc
Date: 10 Apr 2009 16:21:52
Message: <49dfaa60$1@news.povray.org>
Anthony D. Baye nous illumina en ce 2009-04-08 16:21 -->
> all the citrine colors have the same name
> 
> #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
> #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
> #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;
> 
> A.D.B.
> 
> 
No change in the last beta.
Change the names to:
#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.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you have ever gotten in a flame 
war over various rendering softwares.
Stephan Ahonen


Post a reply to this message

From: Jim Holsenback
Subject: Re: Error in glass.inc
Date: 11 Apr 2009 06:39:33
Message: <49e07365@news.povray.org>
"clipka" <nomail@nomail> wrote in message
news:web.49de3eb8e9f8fd62b06defeb0@news.povray.org...
> I didn't bother to search where my beta installation has its include
files, but
> I guess I can answer your question just as well by telling you that it's
still
> that way in the POV code repository right now ;)

Finished up with preforce setup and I see that you've made the change
already .....

Thanks!


Post a reply to this message

From: Larry Hudson
Subject: Re: Error in glass.inc
Date: 11 Apr 2009 20:25:59
Message: <49e13517$1@news.povray.org>
Alain wrote:
> Anthony D. Baye nous illumina en ce 2009-04-08 16:21 -->
> 
>> all the citrine colors have the same name
>>
>> #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
>> #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
>> #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;
>>
>> A.D.B.
>>
>>
> No change in the last beta.
> Change the names to:
> #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 -=-


Post a reply to this message

From: Alain
Subject: Re: Error in glass.inc
Date: 11 Apr 2009 23:54:38
Message: <49e165fe$1@news.povray.org>
Larry Hudson nous illumina en ce 2009-04-11 20:25 -->
> Alain wrote:
>> Anthony D. Baye nous illumina en ce 2009-04-08 16:21 -->
>>
>>> all the citrine colors have the same name
>>>
>>> #declare Col_Citrine_01=color rgb<0.3020, 0.2314, 0.1529>;
>>> #declare Col_Citrine_01=color rgb<0.4667, 0.3804, 0.2980>;
>>> #declare Col_Citrine_01=color rgb<0.5020, 0.4118, 0.3529>;
>>>
>>> A.D.B.
>>>
>>>
>> No change in the last beta.
>> Change the names to:
>> #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.

-- 
Alain
-------------------------------------------------
PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.


Post a reply to this message

From: clipka
Subject: Re: Error in glass.inc
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

From: Jellby
Subject: Re: Error in glass.inc
Date: 12 Apr 2009 11:40:05
Message: <bab9b6-r7a.ln1@badulaque.unex.es>
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

Goto Latest 10 Messages Next 1 Messages >>>

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