POV-Ray : Newsgroups : povray.general : Transparent Object double specular / reflection : Re: Transparent Object double specular / reflection Server Time
29 Jul 2024 08:17:41 EDT (-0400)
  Re: Transparent Object double specular / reflection  
From: Alain
Date: 2 Mar 2012 23:08:27
Message: <4f51993b@news.povray.org>

> Hi,
>
> I'm working on a project for school.
>
> #declare MaterialGlass = material {
>   texture {
>     pigment { rgbt<1,1,1,0.75>  }
>    finish {
>     specular 0.7
>    }
>   }
>   interior
>   {
>   }
> }
>
> That is my material. My Problem is that the transparent objects do double
> reflection. (Outside and Inside). What am i doing wrong?
>
> ---------
> Th3Falc0n
>
>

There is nothing wrong here.
Look carefuly at some real glass object. You'll see that there is a 
reflection from both faces, then second, third, fourth,... reflections.

Seeing a specular highlight from both faces is actualy correct. in fact, 
you should see more than 2 reflections.

To have realy true behaviour, you should add some components to your 
material:
In the finish, add this: reflection{0,1 fresnel} conserve_energy
This will enable realistic reflections and respect the conservation of 
energy.
In your interior, add some ior. Glass is around 1.5, and plastics can 
range from 1.3 to 1.7 and gemms can reatch around 2.5 (for a diamond).
No transparent object have an ior of 1 like air. If that was the case, 
the object would be prety invisible.



Alain


Post a reply to this message

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