Sign in to follow this  
Montynis

[.net] [XNA] Implementing camera class

Recommended Posts

Montynis    122
Hello, I have got two questions about implementing camera class: 1) Are there any good examples on the internet which show hot to implement both first and third person camera. I know one great example http://www.thehazymind.com/archives/2006/10/moving_cameras.htm, but I would like to find out more in order to compare the solutions. 2) In wikipedia, i have found this article: http://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation#Performance_comparisons_with_other_rotation_methods Does the information in this article mean that matrix based camera is much faster than quaternion or angle/axis based camera (the table in the article says that if we use matrices, we have to calculate less operations)? Thanks in advance. [Edited by - Montynis on August 4, 2007 1:19:55 PM]

Share this post


Link to post
Share on other sites
Gage64    1235
This site has some source code that includes a camera class (Look at the book's source code. Note that there are two editions).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this