Home
Home
| Support | Store | Contact Us
   
   
Tickets
Submit a Ticket
View your Tickets
Resources
Documentation
Code Samples
FAQ
Change Log
Other
Contact Support

Look At
Created May 17, 2007 / Updated December 4, 2007

This sample explains how to change the Eyeshot model navigation method. The Eyeshot Viewport was designed to use the Model View Camera but can easily converted to First Person Camera. After subclassing the Viewport class, you need to override three methods: SceneSetupPerispective3D() for look-at settings, IsInputKey() for changing arrows keys behavior, and OnMouseDown() to disable standard Zoom/Pan/Rotate. You may also want to override the the OnMouseWheel() method to disable standard mouse wheel Zoom.

 

Download Visual Studio 2005 project (C#, Visual Basic)
LookAt.zip (626 KB)

 

Send comments on this article

   
  Copyright © 2007 devDept Software. All rights reserved.