|
|
Does anybody know how to make a bright object without shadow?
I am upset when I tried to plot objects (cylinder or sphere) looks bright
but with no shadow. It seems to me no way to plot a pictures without shadow
by POV-ray. Is it right? I am a scientist in physics. I want to use Pov_ray
plot 3-D pictures for my project.
here is a example:
#include "colors.inc"
//area light
//light_source{<10,10,-100> color White area_light x*8,y*8,4,4}
//light_source{<10,20,10> color shadowless}
light_source{<10,20,-1100> color White}
//background { color red 0.2 green 0.5 blue 0.1 }
camera {
location < 0.0, 2.0, -100.0>
direction < 0.0, 0.0, 20.0>
look_at < 0.0, 1.0, 0.0>
// right < 0.67,0,0>
// rotate <0,180,0>
}
//background
//plane{z,1000 pigment{White}}
plane{z,1000 pigment{rgb 1}
finish { brilliance 1 diffuse 1}
}
//plane{y,0 pigment{rgb 1}
//finish { brilliance 0 diffuse 1}
//}
//cylinder{-y,y*50,20 pigment{White} finish{ambient 1} hollow}
//object to show
//cylinder{0,y*2,.5 pigment{Red}}
//object to show
union{
cylinder{0,y*4,.25 pigment{Red}}
cylinder{<-1,1,-2>,<1,1,-3>.15 pigment{Red}}
cylinder{<-1,2,-5>,<1,2,-5>.05 pigment{Red}}
//finish{ambient 0}
// finish { brilliance 1 diffuse 1}
}
//finish{ambient 1}
Thanks,
Wanwan
Post a reply to this message
|
|