This project is read-only.


Camera Target


Make the camera target the center of the model's bounding-sphere, as opposed to Vector3( 0, 0, 0 ) - the world origin. Double-check that this doesn't break any existing functionality, including: zoom, rotate, draw wireframe, draw bounding box, fov, etc.
Closed Aug 2, 2011 at 11:11 PM by adamkane


ScottLaForge wrote Aug 2, 2011 at 10:28 PM

As mentioned in the commit message, once the camera zooms to within the bounds of the model, the camera starts tilting up to continue focusing on the center of the boundingShere. I imagine, the zoom should also be related to the center of the boundingSphere and not Vector3.Zero.

ScottLaForge wrote Aug 2, 2011 at 10:51 PM

Hmmmm... If the user is looking at the model from directly below, the model also rotates counter-clockwise.

wrote Aug 2, 2011 at 11:11 PM

wrote Feb 13, 2013 at 10:34 PM

wrote May 16, 2013 at 3:09 AM