1
이 이미지에서 1.3의 인덱스를 가진 유리 튜브의 바로 위와 왼쪽에 광원을 놓았습니다. 그러나 나는 빛이 튜브를 통해 이동하고 바둑판 표면에서 반사되는 예상 된 유물 (증거)을 보지 못했습니다. 빛이 유리에 의해 조작되는 경우빛이 POV 레이에서 유리를 통해 여행합니까?
나는 POVRAY 이미지를 많이 보았다. 그러나 나는 어떤 매개 변수 또는 매개 변수 조합이 이것에 영향을 미치는지에 관해서는 손해보고있다. 위 이미지를 렌더링하는 POV 파일은 다음과 같습니다.
//EXAMPLE OF TRANSPARENT OBJECTS
//Files with predefined colors and textures
#include "colors.inc"
#include "glass.inc"
#include "golds.inc"
#include "metals.inc"
#include "stones.inc"
#include "woods.inc"
//Place the camera
camera {
sky <0,0,1> //Don't change this
direction <-1,0,0> //Don't change this
right <-4/3,0,0> //Don't change this
location <100,0,50> //Camera location
look_at <0,0,.5> //Where camera is pointing
angle 3 //Angle of the view--increase to see more, decrease to see less
}
//Ambient light to "brighten up" darker pictures
global_settings { ambient_light White*0.2
assumed_gamma 1.0
max_trace_level 10
photons {
spacing 0.05
autostop 0
jitter 0
}
adc_bailout 0
}
//Place a light--you can have more than one!
light_source {
<0,-2,2.2> //Change this if you want to put the light at a different point
color White*2 //Multiplying by 2 doubles the brightness
spotlight
radius 5
falloff 20
tightness 10
point_at <0, -2, 0>
}
//Place a light--you can have more than one!
light_source {
<0,-.2,.1>
color White * 2 //Multiplying by 2 doubles the brightness
spotlight
radius 5
point_at <0, 0, 0>
}
//Set a background color
background { color White }
//Create a "floor"
plane {
<0,0,1>, 0 //This represents the plane 0x+0y+z=0
pigment {
checker color White, color Gray
}
photons{
target
reflection on
refraction on
}
}
cylinder
{ <0,-2,.2>, <0,-2,2>, .2
texture{T_Glass1}
interior { ior 1.3}
photons
{
reflection on
refraction on
}
}
cylinder
{ <-0,0,0.2>, <0,2,0.2>, .2
texture{T_Glass1}
interior { ior 1.3}
photons
{
reflection on
refraction on
}
}
모든 힌트 또는 포인터가 감사하겠습니다.