Skip to main content

Timeline for How to live on sphere?

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Aug 4 at 19:26 comment added ratchet freak @TonyMax a cross product is a 3D operation that gives you a vector perpendicular to 2 given vectors, In this case the first cross(self, other) will give you a vector that goes to the right, then you do cross(self, right) to get the forward vector.
Aug 4 at 17:27 vote accept Tony Max
Aug 4 at 17:22 comment added Tony Max First of all thank you for great answer! I have few questions: * I understand part of shortest distance which called "GreatCirlce", this is how we get actual distance between two points on sphere * What you mean is 2 cross products? I understand part with calculating point projection on tangent plane but what is 2 cross products * To Lerp pos between points we use Slerp, right? * How can I rotate normal vector to represent moving to some direction with some 2D vector velocity? Can't find related info about it.
Aug 4 at 10:58 comment added DMGregory +1 to the suggestion to prefer vectors over angles. I use this advice whenever I can in my code, and it frequently leads to more concise, clearer code with fewer edge cases, and often better performance too because I don't need to compute transcendental functions. Yes, you're juggling 3 coordinates instead of 2, but they're often going through SIMD-friendly operations.
Aug 3 at 10:48 history answered ratchet freak CC BY-SA 4.0