POV-Ray : Newsgroups : povray.newusers : Orientation problem : Re: Orientation problem Server Time
28 Jun 2024 20:43:07 EDT (-0400)
  Re: Orientation problem  
From: kurtz le pirate
Date: 31 Dec 2011 09:19:03
Message: <kurtzlepirate-601C33.15190231122011@news.povray.org>
In article <kurtzlepirate-285173.17130230122011@news.povray.org>,
 kurtz le pirate <kur### [at] yahoofr> wrote:

> Hello,
> 
> I have some difficulties to orient objects.
> [snip]
> How to properly orient my torus depending on the normal vector ?

I found my mistakes :

first :
 my rect_to_polar routine return the 'azimuth' with a wrong sign. 


second :
  rotations around y then around z is different from rotation around  z
  then around y.




Now that this issue is resolved, I can continue...

-- 
klp


Post a reply to this message

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