12-22-2012, 02:54 AM
(12-21-2012, 11:36 PM)micheus Wrote: These objects emiter (objects looking like ligths), do they produce soft or sharp shadows?
It depends on whether it's specified as a point light or an area light. (I haven't used it either, as most programs don't support this in translation.) If it'll help, here's the relevant part of the Pov-ray help file:
2.2.4.6.2 Assigning an Object to a Light Source
Light sources are invisible. They are just a location where the light appears to be coming from. They have no true size or shape. If we want our light source to be a visible shape, we can use the looks_like keyword....
.....
Rendering this we see that a fairly believable light bulb now illuminates the scene. However, if we do not specify a high ambient value, the light bulb is not lit by the light source. On the plus side, all of the shadows fall away from the light bulb, just as they would in a real situation. The shadows are sharp, so let's make our bulb an area light:
light_source {
<0, 2, 0>
color White
area_light <1, 0, 0>, <0, 1, 0>, 2, 2
adaptive 1
jitter
looks_like { Lightbulb }
}
We note that we have placed this area light in the x-y-plane instead of the x-z-plane. We also note that the actual appearance of the light bulb is not affected in any way by the light source. The bulb must be illuminated by some other light source or by, as in this case, a high ambient value...
HTH