POV-Ray : Newsgroups : povray.general : Rounding object : Re: Rounding object Server Time
6 Aug 2024 06:21:12 EDT (-0400)
  Re: Rounding object  
From:
Date: 11 Jul 2002 10:42:59
Message: <8s5riuojtrle3remepsom0decrl3v6b6cd@4ax.com>
On Thu, 11 Jul 2002 09:29:21 -0500, Christopher James Huff <chr### [at] maccom>
wrote:
> Actually, the .gray conversion multiplies each component by a factor 
> (because each component has a different contribution to the total gray 
> value) and sums up the results. This usually works fine for colors, but 
> you have a point which may have negative components, so there are valid 
> results that will still give w.gray = 0.

Yes. I forgot to mention such exceptions but it appear so rarely that I
usually ignore them. Of course .gray vs. .x&.y&.z is not so different if it is
written in such short macro since current implementation of macros use most of
time to jump over files. In theory all your notes are valid and important.

ABX


Post a reply to this message

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