public:t-gede-13-1:lab1
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:t-gede-13-1:lab1 [2013/01/15 09:41] – hannes | public:t-gede-13-1:lab1 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This lab is based on chapter 9 "The Ogre 3D Startup Sequence" | This lab is based on chapter 9 "The Ogre 3D Startup Sequence" | ||
| - | ===== Preparation | + | ===== Discussion |
| - | You need to: | + | Discussion thread for this lab (with updated notes) is here: [[http://ruclasses.proboards.com/index.cgi? |
| - | - Download and install C++ development environment | + | |
| - | - Download and install the Ogre 3D SDK | + | |
| - | - Create a system environment variable OGRE_HOME that points to SDK folder | + | |
| - | - Add the SDK bin/debug and bin/release to your system path (for DLLs to be found) | + | |
| - | - Create a new project called " | + | |
| - | - Add Ogre folders and files to project properties | + | |
| - | * Additional include directories | + | |
| - | * Linker-> | + | |
| - | * Linker-> | + | |
| - | - Copy plugins_d.cfg and resources_d.cfg from the SDK bin/debug folder into your own GEDE2013/ | + | |
| + | ===== Preparation ===== | ||
| + | |||
| + | If you are using your own computer, you need to: | ||
| + | - Download and install C++ development environment, | ||
| + | - Download and install [[http:// | ||
| + | To prepare your environment and project you need to: | ||
| + | - Create a system environment variable **OGRE_HOME** that points to Ogre SDK folder. You can then refer to this variable in your project setup as $(OGRE_HOME). This is so that you can easily take your project to a different machine where Ogre might be installed in a different folder. If each machine defines this variable, the project should be able to find the needed includes and libraries (see below). | ||
| + | - The Ogre run-time libraries (DLLs) are in folders called bin/debug and bin/release inside the SDK folder. You need to add these two folders to your system path variable so that the system can find them when you launch your application. | ||
| + | - It is good to organize all your lab source code from the very beginning of this class to avoid a complete mess later. VC++ helps you organize the code into **solutions** and **projects**. A solution is really a collection of projects, which is a great way to keep track of labs. Once you launch VC++, create a new project called " | ||
| + | - Right-click on your project inside VC++ and choose **properties**. Add Ogre folders and files in several locations within the properties: | ||
| + | * C/ | ||
| + | * Linker-> | ||
| + | * Linker-> | ||
| + | - Copy **plugins_d.cfg** and **resources_d.cfg** from the SDK bin/debug folder into your own GEDE2013/ | ||
| ===== Lab Project ===== | ===== Lab Project ===== | ||
| - | Work through the enumerated actions in the hand-out given to you. What follows are some notes regarding those actions. | + | Work through the enumerated actions in the hand-out given to you: |
| - " | - " | ||
| Line 33: | Line 37: | ||
| - " | - " | ||
| + | ===== When You Are Finished ===== | ||
| + | |||
| + | Upload your **commented source files** into Lab1 in MySchool (zip them up if more than one). The lab projects will not be graded, but their completion counts towards your participation grade. | ||
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-13-1/lab1.1358242880.txt.gz · Last modified: 2024/04/29 13:32 (external edit)