rotation camera sample

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Kenny
Posts: 2
Joined: Tue Feb 24, 2004 7:49 am

rotation camera sample

Post by Kenny »

yeah cool engine, but have anybody a sample for rotation camera?
i want create a md2 model viewer for my custom md2 models .. but not check to make with irrlicht.

i want load in the center the md2 model and rotate and zoom the camera (not model).

*the maya camera not good work*


or coming a tutorial for this?
Gorgon Zola
Posts: 118
Joined: Thu Sep 18, 2003 10:05 pm
Location: switzerland

Post by Gorgon Zola »

hi kenny
take a look at CSceneNodeAnimatorFlyCircle for the math. then apply that to a basic camera.

cheers
tom
StuCollier
Posts: 52
Joined: Tue Mar 30, 2004 12:16 pm

Post by StuCollier »

Does anyone have code to "roll" the camera. I understand enough to get my custom camera to move in all axis, straffe etc but am struggling to understand how to roll left and right ?

Ultimatly I would like to produce a camera that can take the properties of an object incl rotation values and position.....
StuC
Freeware games
www.ovine.net
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

Well, you have to change the rotation matrix. There is a little math to do. Check the matrix4 information and the source how the rotation matrix is implemented. Then change it to your needs. I would help you if i could, but in fact i would have to google for it myself.
Please send me an e-mail instead of a private message.
Post Reply