POV-Ray : Newsgroups : povray.general : media with unions : Re: media with unions Server Time
16 Nov 2024 01:16:13 EST (-0500)
  Re: media with unions  
From: Margus Ramst
Date: 30 Oct 1998 04:17:55
Message: <3639842F.6A20D8BA@peak.edu.ee>
Mike wrote:
> 
> You could either do it by making a union and then giving that an interior or
> #declare an interior and use it in each object.
/.../

Yeah, but when you #declare a media and use it in each object, there is actually
a separate media for each object. When container object is translated, the media
in it is also translated (unless you do the translation before the interior
statement). This may ruin the effect of having many objects showing a single
media. When you use the media for the entire union, the media is only moved when
the union is moved. Moving the component objects of the union doesn't affect the
media. Keep this in mind.

Margus


Post a reply to this message

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