POV-Ray : Newsgroups : povray.off-topic : Today's WTF : Re: Today's WTF Server Time
29 Jul 2024 02:23:16 EDT (-0400)
  Re: Today's WTF  
From: Invisible
Date: 27 Jun 2012 09:32:54
Message: <4feb0b86@news.povray.org>
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


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.