|
|
Hello!
I have modeled a rectangular frame from a sphere_sweep, and put a light
inside the right part of the top cylinder. But in the rendered image the
left part of the cylinder is more lit than the right part. There is only
a small light spot at the light source. I do not know if it really would
look like that or is it some artefact?
Here is the resulting image: http://www.iitis.gliwice.pl/~arataj/a.tga
Here is the POV file:
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
global_settings {
assumed_gamma 2.2
max_trace_level 7
photons {
count 150000
max_trace_level 7
adc_bailout 0.1
media 150
radius ,1.5
}
}
camera {
orthographic
location <0.2, 2.5, -0.15>
up <0, 0.75, 0>
right <1, 0, 0>
look_at <0.2, 0.0, -0.15>
}
sphere_sweep {
linear_spline
5,
<-1, 0.5, 0.5>, 0.2
< 1, 0.5, 0.5>, 0.2
< 1, 0.5, -0.5>, 0.2
<-1, 0.5, -0.5>, 0.2
<-1, 0.5, 0.5>, 0.2
scale <0.2, 1.0, 0.2>
translate <0, 0.3, 0>
translate <0.0, 0.5, -0.0>
pigment { color <0.95, 0.95, 0.95> filter 0.95 }
hollow on
interior{
ior 1.45
media {
scattering {
1, rgb <0.1, 0.2, 0.3>
}
}
}
finish {
ambient 0.2
diffuse 0.02
reflection 0.4
specular 1.0
roughness 0.0001
}
photons {
target
refraction on
reflection on
collect on
}
}
light_source {
< 0.5, 0.5, 0.5>
colour red 0.5 green 0.5 blue 0.5
scale <0.2, 1.0, 0.2>
translate <0, 0.3, 0>
translate <0.0, 0.5, -0.0>
}
Cheers,
Artur
Post a reply to this message
|
|