POV-Ray : Newsgroups : povray.unofficial.patches : Q : double_illuminate propagation in CSG's : Re: Q : double_illuminate propagation in CSG's Server Time
2 Sep 2024 02:14:36 EDT (-0400)
  Re: Q : double_illuminate propagation in CSG's  
From: SamuelT
Date: 21 Jun 2000 13:09:25
Message: <3950F79F.621903AF@aol.com>
Hi Michael. I ran into this problem just yesterday when I tried to get two
triangles to have double-illumination inside a union. I had to put
double_illuminate in both triangle statements, because I could not find any
other workaround.


Michael Andrews wrote:

> Hi Folks,
>
> Can someone check me on this behaviour? In the doc's for Megapov (0.5a)
> it states that double_illuminate is used in the same way as hollow and
> no_shadow. As I recall, hollow and no_shadow propagate down a CSG so
> that
>
> union {
>   object { ... }
>   object { ... }
>   texture { ... }
>   hollow
> }
>
> makes both objects hollow, the same as writing
>
> union {
>   object { ... hollow }
>   object { ... hollow }
>   texture { ... }
> }
>
> and no_shadow behaves in the same fashion.
>
> However, when double_illuminate is used in the same way the first syntax
> does _not_ seem to produce objects that double_illuminate.
>
> I've only looked at unions so I don't know if this applies to the other
> CSG types. I would guess it does. So the question is, _should_
> double_illuminate propagate down the CSG tree? Or do the doc's simply
> need changing to stste that it does not propagate and you must
> explicitly set this flag for each object in a CSG?
>
> Bye for now,
>         Mike Andrews.


Post a reply to this message

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