C++ Camera Class for PS2 and D3D

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,477
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 7, 2008

This is a demonstration of my C++ camera class which is available for download from my blog: gamedev.alaskajohn.net

The class includes the raw code for basic quaternion math used for rotations around an arbitrary axis.

Link to this comment:

Share to:

Uploader Comments (alaskajohn)

  • Hi, thats a cool camera class you got there!

    I got one small tip that 'may' help. I see your using sin, cos and sqrt. If you use sinf, cosf and sqrtf then you will avoid any double or long to float conversions. I think they are available on the PS2 dev kits (they are on the PSP). Your class does have some handy funcitonality there (geoSynchronousOrbit :) and its good to see some actual quaternion code going on as opposed to cheating with D3DX :p

    Nice one

  • ah... sinf ... that makes sense. Thanks.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • End of video says the song is by "Dope"...actually, the one you used was done by Marlyn Manson :) ... good sond though :)

  • sweet code dude!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more