POV-Ray : Newsgroups : povray.binaries.images : Glass problem : Re: Glass problem Server Time
6 Aug 2024 16:58:45 EDT (-0400)
  Re: Glass problem  
From: JSR
Date: 16 Nov 2006 11:05:00
Message: <web.455c8bb169412694d8ef73430@news.povray.org>
"Gilles Tran" <tra### [at] inapgfr> wrote:
> Note that the full code for the glass scene you took as an example is
> available here (I guess it's only linked from Wikipedia for now):
> http://www.oyonale.com/ressources/downloads/gt_glass_wikipedia.zip
>
> What makes the glass shine nicely is the very high ambient value from the
> sky (cf scene code).
>
> The relevant glass texture is the one below.
>
>     #declare F_Glass=finish {
>         ambient 0
>         diffuse 0
>         specular 0.8
>         roughness 0.0003
>         phong 1
>         phong_size 400
>         reflection {
>             0.01, 1
>             fresnel on
>         }
>         conserve_energy
>     }
>
>     #declare T_Glass =texture{
>         pigment{rgbf<1,1, 1, 0.95>}
>         finish {F_Glass}
>     }
>
>
>     #declare I_Glass=interior{
>         ior 1.51
>         fade_distance 10
>         fade_power 2
>     }

Hi,
First of all, I forgot to mention that the image I used as an example was
made by you. Sorry. I think that it's a beautiful image, as the rest of
your work.
I've tried to change 'pigment', 'finish' and 'interior' with these
parameters, but the result was very similar.
I think that the problem isn't in the glass shine, but in the refraction or
reflection.
I found a difference in 'mesh' definition between my glass and your glass
and I think that the problem could be there. But, where?  :)
Thanks,

JSR.


Post a reply to this message

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