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'
Preview of image 'test_buggy_colors_003t_mirror.jpg'
|