Thread: direct3d rotation

  1. #1

    direct3d rotation

    i recently started programming in direct3d 8 and have figured out how to "walk" and "strafe", but am having problems figuring out how to rotate the camera. i want to begin working on a simple demo that will allow the user to walk around with a "Quake - Like" camera feel...if you know of any source or any sites that could help me build this, please let me know..thanks!

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    the view matrix is your 'camera'.

    SetTransform(D3DST_VIEW, &matView);

    So do your transforms to the view matrix and repeat the line above to make the change.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. camera rotation matrix
    By Vick jr in forum Game Programming
    Replies: 5
    Last Post: 05-26-2009, 08:16 AM
  2. Image rotation - doesn't always work
    By ulillillia in forum C Programming
    Replies: 12
    Last Post: 05-03-2007, 12:46 PM
  3. Quaternion Rotation
    By psychopath in forum Game Programming
    Replies: 16
    Last Post: 07-23-2006, 03:28 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. one final problem with rotation
    By DavidP in forum Game Programming
    Replies: 3
    Last Post: 11-19-2003, 03:50 AM