how to write a direct3d camera and make it move like a first person game

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bums735 bums735
    New Member
    • Dec 2011
    • 3

    how to write a direct3d camera and make it move like a first person game

    hello all, me and my friend are writing a 3d game engine in directx 11 in our spare time for fun in c++ but were wondering on how we would achieve making our camera move around our 3d world, or rather how to make the 3d world move around our camera, any help would be greatly appreciated. thanks :D
  • YarrOfDoom
    Recognized Expert Top Contributor
    • Aug 2007
    • 1243

    #2
    I believe you are looking for the "View Transform".
    Here's an MSDN article on this topic.

    The article is written for dx9 though, as the MSDN documentation on dx11 doesn't seen to be finished yet. I don't know how much the function calls differ, but the theory should apply to both.

    Comment

    Working...