In article <kurtzlepirate-285173.17130230122011@news.povray.org>,
kurtz le pirate <kur### [at] yahoo fr> 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
|