Pages

Thursday, July 22, 2010

Install and configure OGRE3D with Visual C++ 2008


OGRE3D is the most popular open-source graphics rendering engine and it is used for game developing, simulators, educational software, interactive art, scientific visualization and even in commercial 3D games. Ogre provides a powerful environment for creating C++ programs and it has to be co

nfigured for Visual C++ to create project. Here I mentioned requiring software to be installed and how to configure ogre in Visual C++ 2008 Express Edition for MS windows.

Download and Install
Download following bunch of software and install them as the order

  1. DXSDK_Aug09.exe : Download
  2. Visual C++ 2008 Express Edition : Download
  3. Windows Server 2003 R2 Platform SDK : Download
  4. OgreSDKSetup1.6.5_VC90.exe : Download
  5. Ogresdkwizard90_v1_5_1.zip : Download (This tool adds a new type of project to the VC++ interface, so that you can easily create a new Ogre project using a wizard. Double click ”VC9_Express_Setup.js” or run it in command prompt)
Configure ogre in VC++ 2008
After complete the full installation, open VC++ 2008 Express Edition from; Start –> All Programs –> Visual C++ 9.0 Express Edition. Here you have to set paths for configure ogre and DirectX.
Open following window and add new paths (if not exist) for each following options in “show directories for:” tab.
Tools –> Options –> Projects and Solutions –> VC++ Directories
(Paths can be changed as your installation directories.)
  • Executable files…
C:\Program Files\Microsoft DirectX SDK (August 2009)\Utilities\Bin\x86
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
C:\OgreSDK\bin
C:\OgreSDK\bin\debug
C:\OgreSDK\bin\release
  • Include files…
C:\Program Files\Microsoft Platform SDK for Windows Serve
r 2003 R2\Bin
C:\Program Files\Microsoft DirectX SDK (August 2009)\Include
C:\OgreSDK\include
C:\OgreSDK\include\opt
C:\OgreSDK\include\CEGUI
C:\OgreSDK\include\WIN32
C:\OgreSDK\include\OIS
C:\OgreSDK\samples\include
C:\Program Files\Microsoft Platform SDK for Windows Serve
r 2003 R2\Include
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\atl
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc
  • Library files…
C:\Program Files\Microsoft DirectX SDK (August 2009)\Lib\x86
C:\OgreSDK\lib
C:\OgreSDK\lib\opt
C:\OgreSDK\samples\src
C:\Program Files\Microsoft Platform SDK for Windows Server
2003 R2\Lib
Your First Program
File –> New –> Project –> Visual C++ –> OGRE SDK Application –> “enter new project name” –> OK –> Next –> (check Application type as Standard application) –> Finish
If correctly configured first program will be run successfully.
Debug –> start Debugging –> select a Rendering subsystem –> OK
OGRE head should be viewed on your screen.

Now enjoy your works ! Use Ogre Tutorials and Ogre Forums for more help.

Friday, July 9, 2010

එකම ඉරක් යට... එක අහසක් යට...(Waving Flag)

This is a very nice Sinhala version for Waving Flag - Listen on Youtube

Lyrics

Ohhh ohhh ohhh ohhh - (x2)
Give me freedom... Give me fire...
Give me reason... Take me higher...
See the champions... Take the field now...
You define us... Make us feel proud...

ලොවට හඬගා... මේ නිමේශය...
කියන් සුමිතුර... මෙයයි දෛවය...
අමිල සමගිය... අපගෙ තෙදබල...
එයයි ජීවය... අපගෙ හදතුල...

දසදෙස ජයගෝෂා... සැම සිත්තුල බැඳි ආශා...

අප සැමදෙන රොද බැඳලා... ගොස නංවමු සිනා වෙලා...

සුමිතුරේ...
එකම ඉරක් යට... එක අහසක් යට...
එක්වී සැමදෙන.. ගොසදෙමු ධජ නංවා
මෙ ධජ නංවා - (X4)

When i get older... I will be stronger...
they'll call me freedom... just like a wavin flag
Now wave your flag (x7)

Ohhh ohhh ohhh ohhh- (x2)

ජයද පැරදුම... එක්ව විඳිනෙමු...
ප්රීtතිමත් වී... සොවට තිත වෙමු...
පැතුම් පීදී... හදට යාවෙන...
ලොවක් නංවමු...සෙනෙහෙ රජයන...

In the streets are... Heads out lifting...
As we lose our... Inhibitions...
Celebration... Is around us...
Every nation... All around us...

Singing forever young... Singing songs underneath the sun
let's rejoice to the beautiful game... And together at the end of day

We all say...

එකම ඉරක් යට... එක අහසක් යට...
එක්වී සැමදෙන.. ගොසදෙමු ධජ නංවා
මෙ ධජ නංවා - (X4)

When i get older... I will be stronger...
they'll call me freedom... just like a wavin flag
Now wave your flag (x7)

Ohhh ohhh ohhh ohhh- (x2)

සුමිතුරේ...
එකම ඉරක් යට... එක අහසක් යට...
එක්වී සැමදෙන.. ගොසදෙමු ධජ නංවා

When i get older... I will be stronger...
they'll call me freedom... just like a wavin flag
Now wave your flag (x7)

ohhh ohhh ohhh ohhh
And everybody will be singing...
ohhh ohhh ohhh ohhh
And we all will be singing...

Voice - K' Naan
Remixed by - Pradeep
Remix Record - The Audio Lab
Audio downloadable links - (256kbps)
http://www.mediafire.com/?0njwjyvytmm
http://hotfile.com/dl/51707032/dc94bd...
http://rapidshare.com/files/404188041...
http://www.4shared.com/audio/vXzoYq0h...

All credits goes to original singer(s), producer(s), Lyricist(s), license holder(s), owner(s) and relative authority(ies).

Friday, June 18, 2010

Vidusayura Ship Simulator 2010

Vidu Sayura is a Ship Simulator project for Sri Lanka Navy, developed by UCSC (University of Colombo School of Computing). This a virtual training environment and it has developed with Ogre(open-source graphics rendering engine) in C++ and modeled it with 3D max.

Virtual reality is a term that applies to computer-simulated environments that can simulate places in the real world as well as in imaginary worlds. It is one of the hottest IT buzz words today. Ship Simulator is like a computer game which simulates maneuvering various ships in different environments, although without the effects of wind and current.

Ship simulations have been used for naval training, ship hull designing, simulating military scenes and entertainment activities such as computer games. Today ship simulations have become an essential tool in maritime education. Ship simulators are use to develop ship handling skills and theoretical understanding of ship motions in naval training.

By using this simulation system trainer can demonstrates ship motions, maneuvering tactics and assign particular mission to trainees and evaluate their performance. Trainees can use the simulation system to study at their own pace. These learning and teaching scenarios enable more productive and collaborative learning and teaching environment. Implementation and operational cost of the ship simulation system is a fraction of the conventional training involving real ships. Consequently this ship simulation system reduces the total cost of training and increases the quality of training.



  • Damitha Sandaruwan, University of Colombo School of Computing, dsr@ucsc.cmb.ac.lk
  • Nihal Kodikara, University of Colombo School of Computing, ndk@ucsc.cmb.ac.lk
  • Chamath Keppitiyagama, University of Colombo School of Computing, chamath@ucsc.cmb.ac.lk
  • Rexy Rosa, Department of Physics, University of Colombo, rosa@phys.cmb.ac.lk
  • Prabath Samarasinghe, University of Colombo School of Computing, yps@ucsc.cmb.ac.lk
  • Uditha M de Soysa, University of Colombo School of Computing, umd@ucsc.cmb.ac.lk
  • Chandana Perera, Center for Research and Development, S L Navy, chandanalk@navy.lk