|
|
See the message describing this problem in p.g:
http://news.povray.org/web.4207f0fd47077f18b0aac12c0%40news.povray.org
The attached image was produced with the following code:
camera {
location <0,10,-35>
look_at <0,10,0>
}
union {
box {<-20,0,0>, <-10,20,10>}
box {<-5,0,0>, <5,20,10>}
box {<10,0,0>, <20,20,10>}
clipped_by {plane {-z, -1}}
pigment {rgb 1}
}
plane {y,-1 pigment {rgb <1,1,0>}}
#declare spot = cone{<0,-1,0>, 1, <0,0,0>, 0 pigment {rgb 1} finish {ambient
1}}
light_source { // middle - unmodified
<0,10,5>
rgb 1
spotlight
radius 30
falloff 45
tightness 0
point_at <0,0,5>
looks_like {spot}
}
light_source { // left:
<-15,10,5> // "shadowless" before spotlight defs
rgb 1 // turns into a point light
shadowless
spotlight
radius 30
falloff 45
tightness 0
point_at <-15,0,5>
looks_like {spot}
}
light_source { // right:
<15,10,5> // "shadowless" after spotlight defs
rgb 1 // no effect
spotlight
radius 30
falloff 45
tightness 0
point_at <15,0,5>
shadowless
looks_like {spot}
}
Post a reply to this message
Attachments:
Download 'shadowless_spot.jpg' (16 KB)
Preview of image 'shadowless_spot.jpg'
|
|
|
|
> light_source { // left:
> <-15,10,5> // "shadowless" before spotlight defs
> rgb 1 // turns into a point light
> light_source { // right:
> <15,10,5> // "shadowless" after spotlight defs
> rgb 1 // no effect
Sorry, I've commented these two light incorrectly. Left one has no effect in
shadow and the right one turns into a point light.
Przemek
Post a reply to this message
|
|