POV-Ray : Newsgroups : povray.newusers : Overriding the transparency of a union : Re: Overriding the transparency of a union Server Time
7 Jul 2024 08:22:07 EDT (-0400)
  Re: Overriding the transparency of a union  
From: Alain
Date: 13 May 2010 21:14:10
Message: <4beca3e2$1@news.povray.org>

> I saw a couple older posts about this and am hoping there may be a new feature
> that would make things easier.
>
> I am doing a complex animation where certain parts fade in and out. The parts
> are made of unions of components with each components having its own
> texture/pigment. I would like to just fade the transparency for the whole union.
> Is there a way to do this at the union level or do I need to embed a
> transparency clock down to each component.
>
>
> Thanks
>
>
>

No, not directly as each texture or pigment assigned to any individual 
component override the global union's texture, including any filter and 
transmit.

You can use a variable to set the transparency. If several/all elements 
have the same transparency level, then you only need to set one variable.

Also, you'll probably need to change from union to merge if you don't 
want to see the internal surfaces that are hiden when you don't have 
transparency.



Alain


Post a reply to this message

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