POV-Ray : Newsgroups : povray.binaries.images : Shot glass test : Re: Shot glass test, with liquid Server Time
5 May 2024 05:42:41 EDT (-0400)
  Re: Shot glass test, with liquid  
From: Bald Eagle
Date: 26 Oct 2018 19:15:00
Message: <web.5bd39f699da5216458c7afe0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> clipka <ano### [at] anonymousorg> wrote:
>
> >
> > As for the alpha thing, it might be worth trying `use_alpha on` in the
> > finish block. That'll turn off that texture layer's highlights and
> > specular reflections wherever the image is transparent.
>
> Is that an undocumented feature of use_alpha?

No...


Imagine use_alpha as being sort of a texture map.
In the areas of the image map that have an alpha-channel "flag" for those
pixels, POV-Ray turns it on, which negates the texture - including the
highlights and specular reflections of the finish so that it's truly invisible -
NOT just clear yet still reflective like glass.

http://wiki.povray.org/content/Reference:Finish

New in version 3.8 you can now specify use_alpha in the finish block. If set to
off, the default and also the old behavior, then pigment filter and transmit
only hide the surface's diffuse, ambient and emission components. If set to on
then pigment filter and transmit also hide the surface's highlights and specular
reflection.


Post a reply to this message

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