POV-Ray : Newsgroups : povray.general : Strange syntax : Re: Strange syntax Server Time
25 Feb 2026 08:49:18 EST (-0500)
  Re: Strange syntax  
From: Bald Eagle
Date: 24 Feb 2026 12:25:00
Message: <web.699dddebf71f0dcaa433a43625979125@news.povray.org>
kurtz le pirate <kur### [at] freefr> wrote:
> Hello,
>
>
> I found this in some very old code (2016) :
>
> light_source {
>    <0, 100, 0>
>    color White=1
>    }

> How this <color White=1> is interpreted and why does it turn red?

Yeah, that's weird.
The parser is a strange and wondrous thing.

Presumably you are including colors.inc.
Can you output the color value of White as a 5D vector to the debug stream
before instantiating the light source, and then show what happens to it after?

- BE


Post a reply to this message

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