POV-Ray : Newsgroups : povray.newusers : Help - very difficult when it should be easy : Re: Help - very difficult when it should be easy Server Time
29 Apr 2024 14:36:44 EDT (-0400)
  Re: Help - very difficult when it should be easy  
From: Bald Eagle
Date: 21 Nov 2016 08:00:01
Message: <web.5832ef06ba97f5c1c437ac910@news.povray.org>
I think I figured it out.
At first I thought there might be a problem with the quadrant / sector that the
calculation was done in, then it seemed like it might be anything with a Vec
with a negative x component (because the Strut object is constructed in the +x
direction).

After doing some other simplified experiments, it looks like I need to rotate in
the -y direction.   Perhaps due to the left-handed coordinate system?
Can anyone confirm?

Aside from that, I needed to translate to LastVertex (Point1) rather than
ThisVertex (Point2)

and if Twist is set to -y*RotY, then the Struts follow the spherical curvature
as desired.


Looks like it was a busy weekend here at news.povray.org
I'm glad I got some much needed rest AND (perhaps because of that) unraveled the
whole spherical trigonometry vector rotation translation spaghetti.   :)


Post a reply to this message

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