POV-Ray : Newsgroups : povray.pov4.discussion.general : Realistic transmittance and filter at sharp angles of incidence : Re: Realistic transmittance and filter at sharp angles of incidence Server Time
29 Nov 2022 20:41:20 EST (-0500)
  Re: Realistic transmittance and filter at sharp angles of incidence  
From: Simon Copar
Date: 16 May 2013 14:55:01
Message: <web.51952b5e873d8dde65a03f8f0@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:
> "Simon Copar" <inf### [at] gmailcom> wrote:
> >
> > This could actually be simulated as a thin hollow shell filled with absorbing
> > media, but that's overkill for this purpose.
>
> Probably. You might try the aoi pattern if you haven't done so already.
>
> pigment{
>   pigment_pattern{
>     aoi
>     color_map{[.5 rgb 1][1 rgb 0]}
>   }
>   poly_wave falloff_val
> }

Right, didn't think of that. The poly_wave does not approximate the realistic
angular dependence that well (it starts rising too quickly, makes the almost
perpendicular regions too opaque), but I can just sample the curve by myself
with more entries of the pigment_map (or just push 0.5 to something like 0.75).

This will make the images so much better.

Still, built-in method would be nice to have.


Post a reply to this message

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