POV-Ray : Newsgroups : povray.newusers : Controlling transmittance in texture maps with alpha channels : Re: Controlling transmittance in texture maps with alpha channels Server Time
29 Jul 2024 14:22:42 EDT (-0400)
  Re: Controlling transmittance in texture maps with alpha channels  
From: spl
Date: 21 Sep 2005 20:25:01
Message: <web.4331f9d0f2f06250b279c3b00@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> One thing you could try is to use a texture_map to take the weighted
> average of your existing texture and a completely transmitting texture.
> As you change the weights used in the average, the transmittance of the
> overall object should vary.

Thanks Mike.

Your suggestion works.

Unfortunately, it's painfully slow and it takes close to 20 seconds per
scanline for a relatively small image -- 640 x 400.  At the resolution at
which I need to render, I have the feeling that it would be prohibitive for
animation of any length.  This is on a reasonably fast Linux box.

Anyhow, I learned a new trick, so that's a good thing.


Post a reply to this message

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