DXUT Camera
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement