POV-Ray : Newsgroups : povray.programming : Flag problem? Server Time
23 Dec 2024 10:48:52 EST (-0500)
  Flag problem? (Message 1 to 2 of 2)  
From: Slime
Subject: Flag problem?
Date: 10 Oct 2002 20:00:44
Message: <3da614ac@news.povray.org>
Are these two flags in objects.h *supposed* to be set to the same value?

...
#define NO_GLOBAL_LIGHTS_SET_FLAG 0x0040000L /* Object doesn't receive light
from global lights explicitly set in scene file */
/* Photon-related flags */
#define PH_TARGET_FLAG            0x0040000L /* object receives photons */
...

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Nathan Kopp
Subject: Re: Flag problem?
Date: 12 Oct 2002 09:22:33
Message: <3da82219$1@news.povray.org>
The first flag is unused and should have been removed from the code.

-Nathan

"Slime" <slm### [at] slimelandcom> wrote...
> Are these two flags in objects.h *supposed* to be set to the same value?
>
> ...
> #define NO_GLOBAL_LIGHTS_SET_FLAG 0x0040000L /* Object doesn't receive
light
> from global lights explicitly set in scene file */
> /* Photon-related flags */
> #define PH_TARGET_FLAG            0x0040000L /* object receives photons */
> ...
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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