POV-Ray : Newsgroups : povray.general : Strange syntax : Re: Strange syntax Server Time
25 Feb 2026 08:47:03 EST (-0500)
  Re: Strange syntax  
From: Cousin Ricky
Date: 24 Feb 2026 22:21:40
Message: <699e6ac4$1@news.povray.org>
On 2026-02-24 12:36 (-4), kurtz le pirate wrote:
>
> How this <color White=1> is interpreted and why does it turn red?

Where does the identifier `White` come from?  Like BE, I would like to
know its value.

My understanding of that syntax is that it compares each component of
`White` with 1.  But if `White` comes from colors.inc, the
component-wise comparison would still end up as white.  The only way I
can see this evaluating as red is if `White.red` is exactly 1, and
`White.green`, `White.blue`, `White.filter`, and `White.transmit` are
all something other than 1.


Post a reply to this message

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