DXUT Camera

Started by
0 comments, last by jollyjeffers 17 years, 11 months ago
I am having trouble using camera classes in DXUT (new to it). I just want to use the first person camera class for my application but could not understand how it works. Can someone explain how to use it or any tutuorial or sample using it, so that i can understand the working? Thanks
Advertisement
You mean the CModelViewerCamera and CFirstPersonCamera (derived from CBaseCamera)?

All of the SDK tutorials tend to use those classes, unless you're trying to do something special with them they should just be ready-to-go. In my experience they've been trivial to configure.

The one trick is that you need to structure the mouse/keyboard messages routed to the camera after any other GUI events have had a turn. If you dont pass on any messages the camera won't do anything [smile]

hth
Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement