public:t-gede-14-1:lab9
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:t-gede-14-1:lab9 [2015/03/19 07:51] – [Lab] marino | public:t-gede-14-1:lab9 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Bullet ===== | ===== Bullet ===== | ||
| - Setup Bullet Project. | - Setup Bullet Project. | ||
| - | - Downlaod [[https://code.google.com/p/bullet/downloads/ | + | - Downlaod [[https://github.com/bulletphysics/bullet3/releases|Bullet]] | 
| - Build Bullet | - Build Bullet | ||
| - Run <bullet root> | - Run <bullet root> | ||
| Line 83: | Line 83: | ||
| </ | </ | ||
| - | - **Create a pointer** to physics in your Application, | + | - **Create a pointer** to physics in your Application, | 
| + | _physicsEngine-> | ||
| - **Before we start** there are some basic changes that have to made to the environment, | - **Before we start** there are some basic changes that have to made to the environment, | ||
| - **You can check out Sinbad' | - **You can check out Sinbad' | ||
| Line 244: | Line 245: | ||
| _Mouse = 0; | _Mouse = 0; | ||
| }</ | }</ | ||
| - | - **Now we spawn a cube from the origin of the camera** and give it some linear velocity in the direction of the camera. < | + | - **Now we spawn a cube from the origin of the camera** and give it some linear velocity in the direction of the camera. You will have to pass a pointer to the SceneManager into the frameListener. < | 
| // Create a cube entity. | // Create a cube entity. | ||
| Ogre:: | Ogre:: | ||
| Line 262: | Line 263: | ||
| <box red 100% | **Attention!**> | <box red 100% | **Attention!**> | ||
| - | ** Compile and run using a Release built target!!! Very important, unless you plan to fry some eggs and bacon on your laptop :)** Just make sure to use the Release version of the plugins file when you run the application.It can be found under ''< | + | ** Compile and run using a Release built target!!! Very important, unless you plan to fry some eggs and bacon on your laptop :)** Just make sure to use the Release version of the plugins file when you run the application.It can be found under ''< | 
| + | cf.load(" | ||
| + | #elif NDEBUG | ||
| + | cf.load(" | ||
| + | #endif | ||
| + | |||
| + | #if _DEBUG | ||
| + | _root = new Ogre:: | ||
| + | #elif NDEBUG | ||
| + | _root = new Ogre:: | ||
| + | # | ||
| ===== When You Are Finished ===== | ===== When You Are Finished ===== | ||
| Upload your **commented source files** into Lab9 in MySchool (zip them up if more than one). | Upload your **commented source files** into Lab9 in MySchool (zip them up if more than one). | ||
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-14-1/lab9.1426751507.txt.gz · Last modified: 2024/04/29 13:32 (external edit)
                
                