|
![](/i/fill.gif) |
On Wed, 29 Jun 2005 09:50:39 EDT, "Ziyan" <beg### [at] hotmail com>
wrote:
>
>Thank you for your reply.
>Then how could I realize the horizontal mirror in POVray?
>As for the "the light turns stranger", I mean the intensity of the light
>should be weakened by using parameter "extinction", but it seems that it
>doesn't work at all. Could you help me with my programme?
>
You need to brush up on your coordinates :-)
So do I as I use Moray to make my scenes
I've modified your scene for the mirror to be in the horizontal plane.
In real life you would not expect to see extinction over such short
distances so I've added unrealistic values. Truth be told I don't
think this is what you want.
I'm sure someone else will take over as I'm on the road shortly.
Read
help 3.4.7.9 & 3.6.2.1.3
///////////////////////////////////////////////
global_settings {
assumed_gamma 1
max_trace_level 5
photons {
count 150000
max_trace_level 9
media 100, 2
}
}
background { color <0.000,0.000,0.000> }
camera {
location <0,0,10>
up 1*y
right 1.333*x
look_at <0,0,0>
angle 120
translate <0,0,0>
}
light_source { // Spotlight Spotlight001
<20.0, 10, 0.0>
color rgb <1.000, 1.000, 0.000>*50
cylinder
point_at <0, 0, 0.000>
falloff 0.268 // outer radius (in deg)
radius 0.238 // inner radius
tightness 0.000
fade_distance 4
fade_power 3
/*
Read the help 3.4.7.9 Light Fading
the above values are not realistic
*/
media_attenuation on
photons {refraction on reflection on}
}
light_source { // Light001
<0.0, 0.0, 0.0>
color rgb <1.000, 1.000, 1.000>
media_interaction off
}
background { color <0,0,0> }
//
// ******** OBJECTS *******
//
box { // Cube001
<-1, -1, -1>, <1, 1, 1>
pigment {
color rgbft <0, 0, 0, 1, 1>
}
interior {
media {
method 3
intervals 1
ratio 1
scattering {
1, rgb <1, 1, 1>
extinction 0.25
}
}
}
scale 20
hollow
}
plane {
x, -1 // -1 to put the plane below the camera
finish {
reflection {1.0}
ambient 0
diffuse 0
}
photons {
target
refraction off // with 100% reflection there will be no
refraction
reflection on
collect off
}
}
Regards
Stephen
Post a reply to this message
|
![](/i/fill.gif) |