[Opengeoscience-developers] OpenGeoscience branch, fix_transparency, created. 98de04b24e734ad7821985e17c1dba894c60181a

David E DeMarle dave.demarle at kitware.com
Mon Jul 15 12:00:29 EDT 2013


Looks good here. I approve.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sat, Jul 13, 2013 at 1:08 AM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "OpenGeoscience".
>
> The branch, fix_transparency has been created
>         at  98de04b24e734ad7821985e17c1dba894c60181a (commit)
>
> - Log -----------------------------------------------------------------
>
> http://public.kitware.com/gitweb?p=OpenGeoscience/geoweb.git;a=commitdiff;h=98de04b24e734ad7821985e17c1dba894c60181a
> commit 98de04b24e734ad7821985e17c1dba894c60181a
> Author: Aashish Chaudhary <aashish.chaudhary at kitware.com>
> Date:   Sat Jul 13 00:58:44 2013 -0400
>
>     Fixed blending
>
>     If using blend function GL_SRC_ALPHA and GL_ONE_MINUS_SRC_ALPHA
>     we get color (RGBA) source factor (As,As,As,AS) and color dest
>     factor ((1,1,1) – (As,As,As), 1 – As). Well the problem is that
>     this results in resulting alpha for the final pixel < 1.0. Now
>     we use white background for the body which then shows up through
>     our GL renering. For example if src alpha is 0.6 then we will get
>     0.6 * 0.6 + 0.4 * 1.0 = 0.36 + 0.4 = 0.76 as the final pixel alpha
>     value.
>
>  web/lib/vgl/blend.js |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> -----------------------------------------------------------------------
>
>
> hooks/post-receive
> --
> OpenGeoscience
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
>
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130715/ed1d43db/attachment.html>


More information about the Opengeoscience-developers mailing list