POV-Ray : Newsgroups : povray.general : Transparent Object double specular / reflection Server Time
29 Jul 2024 10:19:02 EDT (-0400)
  Transparent Object double specular / reflection (Message 1 to 3 of 3)  
From: Th3Falc0n
Subject: Transparent Object double specular / reflection
Date: 2 Mar 2012 10:10:00
Message: <web.4f50e27069044603d4f4b400@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


Post a reply to this message

From: Stephen
Subject: Re: Transparent Object double specular / reflection
Date: 2 Mar 2012 10:53:43
Message: <4f50ed07$1@news.povray.org>
On 02/03/2012 3:08 PM, Th3Falc0n wrote:
> 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
>
>
Nothing TheFalcon. In RL you do get a reflection from each surface, 
inside and outside. To reduce the effect make your glass thinner. Also 
the interior statement should have a value for IOR such as

   interior{
     ior  1.520
	}


-- 
Regards
     Stephen


Post a reply to this message

From: Alain
Subject: Re: Transparent Object double specular / reflection
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.