POV-Ray : Newsgroups : povray.off-topic : More math fail : Re: More math fail Server Time
4 Sep 2024 13:18:52 EDT (-0400)
  Re: More math fail  
From: Invisible
Date: 18 Jan 2010 04:49:36
Message: <4b542eb0@news.povray.org>
>> All these years, I thought the correct way to compute the cross 
>> product of two vectors is
>>
>>   x3 = y1 z2 - z1 y2
>>   y3 = x1 z2 - z1 x2
>>   z3 = x1 y2 - y1 x2
>>
>> But, apparently, I was wrong. The correct way is in fact
>>
>>   x3 = y1 z2 - z1 y2
>>   y3 = z1 x2 - x1 z2
>>   z3 = x1 y2 - y1 x2
>>
> 
> You should have caught that based on symmetry.

Well, the rule seems clear: the expression for (say) Y involves every 
coordinate except Y itself. I never realised it actually matters which 
order you put them in...


Post a reply to this message

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