On 27/06/2012 02:10 PM, Invisible wrote:
> Clearly in this universe, something is fatally wrong with the laws of
> reflection. o_O
Bah. Damned sign conventions...
http://en.wikipedia.org/wiki/Specular_reflection
This claims that the direction of the reflected ray is
R = 2 (I . N) N - I
Running this gives me the previous distorted image. If I change it to
R = I - 2 (I . N) N
then it comes out correctly:
Post a reply to this message
Attachments:
Download 'test11-reflect2.jpg' (192 KB)
Preview of image 'test11-reflect2.jpg'
![test11-reflect2.jpg](/povray.off-topic/attachment/%3C4feb0b86%40news.povray.org%3E/test11-reflect2.jpg?preview=1)
|