CodeBase - Update Rotate Camera in 3D Around Object

Return to the CodeBase listing

Category: Camera

Version: 1.0

0
0

Information

Uploaded: 25th May 2004 23:55

Modified: 28th May 2004 14:29

Author:  Maleck

Summary

Updated code based on Philip Young's camera rotation example. This rotates camera view around a position (initially 0,0,0) view mouse controls.

Full Description

*********************************************************************<br /> *** Camera Rotation Code Around 3D Object with Mouse Controls ***<br /> *** Based on code from Philip Young in codebase ***<br /> *** Modified by Eric Lenhart 5-2004 Please use freely with credit ***<br /> *** ***<br /> *** Controls have been modified to use mouse controls instead ***<br /> *** arrows and added additional stats onscreen ***<br /> *********************************************************************<br /> <br /> <br /> *** Controls: ***<br /> Hold right mouse button to rotate<br /> Use scroll to zoom<br /> Both mouse buttons enables scroll also<br /> While rotating, cursor will wrap around screen<br /> Holding right mouse and shift will move camera focus point along X and Y (still needs work)<br /> Space bar recenters camera<br />

Comments

No comments yet.