|
![](/i/fill.gif) |
When I first saw that, I thought it really looked like a bug, but then I
started thinking about why they would do that. It's obvious it was
intentional, since diffuse still works. The reason, I think, is because
you might want to use shadowless lights to simulate radiosity.
Radiosity is typically a diffuse effect, so just having diffuse work
should do a pretty good job. If hilights worked and you had a bunch of
shadowless fill lights, you'd end up with a bunch of bright spots all
over object, making it appear like they are reflecting light from
several light sources without casting any shadows.
So it's probably not a bug.
-Mike
Nieminen Mika wrote:
>
> I just discovered a strange side effect with the 'shadowless' lights.
> Try this:
>
> camera { location -z*5 look_at 0 angle 35 }
> light_source { <100,100,-100>,1 }
> sphere { 0,1 pigment { rgb <1,0,0> } finish { specular 1 } }
>
> A regular sphere with a highlight.
> Now apply the keyword 'shadowless' to the light source.
> The highlight disappears!
> This works equal in both pov3.0 and 3.1. It also works if the highlight is
> a phong highlight instead of a specular one.
> Is this a bug? Should I report to povray.bugreports?
>
> --
> main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
> *_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/
Post a reply to this message
|
![](/i/fill.gif) |