|
|
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
|
|
|
|
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
|
|
|
|
> 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
|
|