POV-Ray : Newsgroups : povray.beta-test : skyspheres transmit of color maps not computed last : Re: skyspheres transmit of color maps not computed last Server Time
1 Jul 2024 14:44:59 EDT (-0400)
  Re: skyspheres transmit of color maps not computed last  
From: MessyBlob
Date: 19 Nov 2010 21:45:01
Message: <web.4ce7350554c4afacaddfbead0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 27.10.2010 16:47, schrieb Mr:
> There is no sane way for a general fix; even a full redesign of
> POV-Ray's internal maths to operate on non-premultiplied values would
> not be a viable solution, as this would in turn cause problems when
> working with emissive media: Non-premultiplied values can't represent
> light to be /added/ to a fully transparent background.

Would an RGB triplet for Alpha solve this, at least for internal working, and as
an extension, use a file format or compositing/post-processing method that
supports this?
i.e. each pixel has:
- source: (R, G, B)
- alpha: (R, G, B)

Examples (I hope I have this correct):
- red filtering glass would be S(1, 0, 0), A(1, 0, 0)
- green transparent emissive media would be S(0, 1, 0), A(1, 1, 1)
- blue surface that lets a little red light through: S(0, 0, 1), A(0.2, 0, 0)

Such a scheme might unify the rgb(), rgbt(), and rgba() methods of specifying
colour.


Post a reply to this message

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