Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 20 December 2012 - 03:15 PM
Posted 21 December 2012 - 06:09 AM
Posted 21 December 2012 - 06:49 AM
The projection of a sphere on a plane is an ellipse. I can think of several strategies to compute exactly what ellipse it is. For instance, you can compute the lowest and highest ray that are tangent to the sphere, intersect them with the ground plane and that will give you the major axis of the ellipse. The point where the sphere touches the ground is a focus of the ellipse. That's already enough information to recover the ellipse exactly.
Edited by Álvaro, 21 December 2012 - 06:50 AM.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.