POV-Ray : Newsgroups : povray.binaries.images : Color question (smaller attach) :) Server Time
17 Aug 2024 02:22:09 EDT (-0400)
  Color question (smaller attach) :) (Message 1 to 3 of 3)  
From: JPGargoyle
Subject: Color question (smaller attach) :)
Date: 23 Nov 2001 20:37:41
Message: <3bfef9e5@news.povray.org>
Hi all!
This is my very first post ever :))

I am still a beginner so mabe this post might be somewere else. If that is
the case, my apologies to all.
Well, I was experimenting with PovRay 3.5 beta 7 and I was trying to get the
"negative" of a color when I get some unexpected results (at lest to me :D).

My question is: Is   rgb 1    the same as   rgb <1,1,1> ?

pigment{color rgb 1} gives the same result as pigment{ color rgb <1,1,1>}
but
pigment{color rgb <1,1,1> - Gray25} gives the expected results and
pigment{color rgb 1 - Gray25}results in something completely different.

I've tried this in PovRay 3.1g and the result is the same (also an
unexpected result).
Both versions show a warning message while parsing: Suspicious expression
after rgb. (If someone could explain in what situations this appears I would
be grateful)

Well, my question is: What is the difference between rgb 1 and rgb <1,1,1>?

I've encolsed 2 pics to show what I mean.

Thank you.

PS: sorry for the English (I an Portuguese)


Post a reply to this message


Attachments:
Download 'test_buggy_colors_003t.jpg' (79 KB) Download 'test_buggy_colors_003t_mirror.jpg' (72 KB)

Preview of image 'test_buggy_colors_003t.jpg'
test_buggy_colors_003t.jpg

Preview of image 'test_buggy_colors_003t_mirror.jpg'
test_buggy_colors_003t_mirror.jpg


 

From: Ruy
Subject: Re: Color question (smaller attach) :)
Date: 24 Nov 2001 16:27:35
Message: <3c0010c7@news.povray.org>
Em primeiro lugar, Benvindo :-)

Now that you posted your files with a sensible size, perhaps it would be a
good idea to cancel the large post, so people don't download it by mistake
(like I just did).

Anyway, good to know our portuguese speaking community is increasing. Please
drop by the povray.international forum sometime.



Ruy


Post a reply to this message

From: JPGargoyle
Subject: Re: Color question (smaller attach) :)
Date: 24 Nov 2001 18:14:51
Message: <3c0029eb$1@news.povray.org>
"Ruy" <ruy### [at] hipernetcombr> wrote in message
news:3c0010c7@news.povray.org...
> Em primeiro lugar, Benvindo :-)
Muito Obrigado :)


> Now that you posted your files with a sensible size, perhaps it would be a
> good idea to cancel the large post, so people don't download it by mistake
> (like I just did).
I will do that.


> Anyway, good to know our portuguese speaking community is increasing.
Please
> drop by the povray.international forum sometime.
I will soon. :)



> Ruy



Post a reply to this message

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