POV-Ray : Newsgroups : povray.unofficial.patches : Announce: SkyPOV 0.1 : Re: color definition (Re: Announce: SkyPOV 0.1) Server Time
31 Jul 2024 00:29:36 EDT (-0400)
  Re: color definition (Re: Announce: SkyPOV 0.1)  
From: Geoff Wedig
Date: 10 Nov 2000 08:18:09
Message: <3a0bf591@news.povray.org>
Chris Huff <chr### [at] maccom> wrote:

> In article <3A0A735E.A48E843C@tapasmail.net>, J?r?me M. Berger 
> <jbe### [at] tapasmailnet> wrote:

>>       Maybe, but OTOH you don't need to specify a color where the object is
>> fully transparent, so their patterns are related. I've never felt the
>> need to specify transparency independently from color...

> Simplest case: a multicolored transparent ball which is evenly 
> transparent and has a big color_map. You decide you want to change the 
> amount of transparency...you have to change every color in the 
> color_map. If you had it specified in a separate block, you would only 
> have to change one value. It would also make specifying transparence for 
> image_maps a lot easier.

Well, this, at least, is easy.  If you want a constant transparency that you
want to be able to change, just declare it as a variable (say, Trans) and
use that in your color map.  All you have to do is change one place.  I
often do this with variables that are used many places (the size of certain
objects in relation to one another, for instance), and are likely to be
changed while tuning the scene.

The transparency for image maps, I agree, though.

Geoff


Post a reply to this message

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