|
|
Wasn't it Ziyan who wrote:
>Such as, from glas to air or from water to air.
>I know the critical angle of total reflectance from glas to air is 42 grad,
>and from water to air 49 grad.
>I tried times, but there's still refraction.
>How to achieve that?
>Thanks a lot.
Just position the water and your viewpoint to a situation where you'd
see total internal reflection in the real world, and you'll see the same
effect in POV. For example:
#version 3.6;
global_settings {assumed_gamma 1.0}
camera {location <2.5,-0.5,-10> look_at <0,0,0> angle 27}
background {rgb 1}
light_source {<-30, 100, -30> color rgb 1}
// A tank of water
box {-<2,1,1>,<2,1,1>
interior {ior 1.2}
pigment {rgbt <0.9,1,1,0.7>}
}
// Things to be reflected
// the floor
plane {y,-1 pigment {checker}}
// a box outside the water
box {<-2,-1,6><2,1,8> pigment {bozo}}
// something in the water
sphere {<0,0.9,0> 0.1 pigment {rgb 0} scale <3,1,1>}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|