User Tools

Site Tools


public:t-gede-13-1:lab4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-gede-13-1:lab4 [2013/02/05 13:06] hannespublic:t-gede-13-1:lab4 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
 No special preparation is required - preparing the joypad is explained in the project steps below. No special preparation is required - preparing the joypad is explained in the project steps below.
 +
 +**NOTE:** To get the joypads to start sending data, you may have to press a **Mode** button in the center of the device. This is true for the joypads handed out in the lab class!
  
 ===== Lab Project ===== ===== Lab Project =====
Line 93: Line 95:
  _Cam->setPosition(_myogrenode->getPosition()+Ogre::Vector3(20.0f*Ogre::Math::Cos(_camangle), 10.0f, 20.0f*Ogre::Math::Sin(_camangle)));  _Cam->setPosition(_myogrenode->getPosition()+Ogre::Vector3(20.0f*Ogre::Math::Cos(_camangle), 10.0f, 20.0f*Ogre::Math::Sin(_camangle)));
  _Cam->lookAt(_myogrenode->getPosition());  _Cam->lookAt(_myogrenode->getPosition());
-</code> Test to see if this works.             +</code> Test to see if this works.    
 +  - **OPTIONAL: Map more axes and buttons** Add more controls to the camera or other things in the environment. For example, zoom the camera in and out with a different axis of movement or let a button start the effect from lab 2.         
  
  
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-13-1/lab4.1360069582.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki