POV-Ray : Newsgroups : povray.general : glass panes : Re: glass panes Server Time
2 Aug 2024 04:22:40 EDT (-0400)
  Re: glass panes  
From: Ross
Date: 21 Jan 2005 18:04:36
Message: <41f18a84$1@news.povray.org>
"Maurice" <cel### [at] nospamhotmailcom> wrote in message
news:41f17e71$1@news.povray.org...
> Hi,
>
> I'm wondering what would be a good texture,finish and interior for you
> average windowpane glass?
>
> I'm currently using the settings below, but I woner if it could be
> optimised:
>
> // Glass of window panes
> #declare T_Glass=texture{
>    pigment{
>      color rgbt 1
>    }
>    finish{
>      ambient 0.1
>      diffuse 0.04
>      reflection{ 0.5 fresnel on }
>      conserve_energy
>    }
> }

i think glass would have "ambient 0"

for reflection, i think it would be a variable reflection. My reason is that
if you look straight at the glass, you can see pretty much straight through
it (depending on the type of glass i guess) and if you look at it at a
shallow angle it is more reflective. This effect is very pronounces with
water anyway. glass too i think. i'm not sure of the physical values, but
something like "reflection {0.1, 0.5 fresnel on}"

> #declare I_Glass=interior{
>    ior 1.5
>    fade_power 2 //1.5
>    fade_distance 1
>    fade_color <0.70, 0.7, 0.9>
>    //dispersion 1.01
>    //dispersion_samples 100
> }
>

fade stuff... hopefully someone else can help you on that :) I would have
left it at defaults. I've only ever really used them for lights. i've used
fade_color for murky water once...

good luck!


Post a reply to this message

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