|
|
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
|
|