Jump to content
  • Advertisement
Sign in to follow this  
Montynis

[.net] [XNA] Implementing camera class

This topic is 4000 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!