Ogre and Visual Studio Beginners -Let's Learn a Game Engine!

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Ogre and Visual Studio Beginners -Let's Learn a Game Engine!
PostPosted: Sun May 29, 2011 5:55 am 
User avatar
Reduced to ashes

Current Scorched3D Rank: 489






Joined: Wed Aug 25, 2004 3:54 pm
Posts: 539
Location: In a van down by the river.
For anyone who has some free time & wishes join me in toying around with the
ogre game engine just for the sake of a learning experience when discovering
what making a game entails feel free to hop along as we learn to fire up a test.

I am posting this Topic in the developers section to *hopefully* get more
people interested/involved with learning to develop in an organized place.

Prerequisites:

1) you will need Microsoft Visual Studio 2008 (or) 2010.

If you do not own/obtain a copy then you can either buy it or download the
express version for students or "non commercial use" by Clicking Here.

Suggestion:
If your on win7 OS go with Microsoft Visual Studio 2010 Professional Edition
If you are on XP OS then go with Visual Studio 2008 Professional Edition

2) you will need to obtain the Ogre game engine sdk, so depending on which
visual studio you chose to go with above select the appropriate sdk Release
by Clicking Here.

On with the show

Once you get the above steps installed & ready we will be following this
helpful tutorial for beginners blog to get the engine fired up for testing..
which I am still in the process of trying to learn to do btw.

Tutorials:

Ogre and Visual Studio Beginners FAQ

Ogre Wiki

Forum Guide:Building Ogre with Visual Studio

*stay on topic please -off topic spam comments = deleted spam post.
*If we find any other helpful links or docs post them as we progress.
*if we get stuck ask here ((maybe)) some guy can find time to
answer simple questions, or we can try to help each other out.

And hopefully at some point we may see something like this


Attachments:
a_new_world.jpg
a_new_world.jpg [ 89.29 KiB | Viewed 993 times ]
Image
GoPro + F18 = AWESOME Lap Around The Boat VFA-211 (CVN 65)
Top
 Profile  
 
 Post subject: Re: Ogre and Visual Studio Progress
PostPosted: Sun May 29, 2011 4:57 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: 489






Joined: Wed Aug 25, 2004 3:54 pm
Posts: 539
Location: In a van down by the river.
Ok so spending all day reading threw "apparently" old guides & requirements for
building ogre from previous docs over the years I became extremely confused
& stuck in several aspects along the way..

I felt like a mentally challenged chimp trying to read nasa code in Chinese
when reading their own ogre required prerequisites for windows visual studio
http://www.ogre3d.org/tikiwiki/Prerequisites

I wasn't sure If I needed more installed & configured Dependencies
directx sdk, MingGW, CMake, Boost etc..

then my eyes locked on something helpful that helped clarify things
posted in the more recent ogre forums:
http://www.ogre3d.org/forums/viewtopic.php?f=1&t=54682

#####_Post Message Begin_#####

Re: Guide: Building Ogre with Visual Studio

by ecoumans ยป For the VERY lazy people, I'm trying to provide a 1 step Ogre
1.7 compilation for visual studio. There is no requirement of DirectX, CMake or
hassle with external dependencies, it uses OpenGL and a simplified OIS input
for testing.


The trick was to pre-generate visual studio projectfiles using cmake using
relative paths, but I haven't tested it yet on a different machine.

1) Download http://gamekit.googlecode.com/files/OgreKit.zip
unzip and open OGREKIT.sln, compile all and run the OgreKitMigrate project

You can see several demos loading Blender .blend files in the
new precompiled OgreKit-executable-win32.zip
just run run_all_blends.bat and press 'q' for next test.

Can someone try out if this latest OgreKit.zip source code compiles
out-of-the box using MSVC 2008?
Thanks,
Erwin

#####_Post Message End_#####

so I will try this and see what happens :D

<edit> omg It Worked! haha..
now that's just too funny, ironic, & very cool that there's a little chimp
scratching his little rear end & looking at me. :mrgreen:

Click Image To Enlarge


Attachments:
ironic_success.jpg
ironic_success.jpg [ 264.62 KiB | Viewed 982 times ]
Image
GoPro + F18 = AWESOME Lap Around The Boat VFA-211 (CVN 65)
Top
 Profile  
 
 Post subject: Re: Instructions
PostPosted: Sun May 29, 2011 7:02 pm 
User avatar
Reduced to ashes

Current Scorched3D Rank: 489






Joined: Wed Aug 25, 2004 3:54 pm
Posts: 539
Location: In a van down by the river.
So now for you guys I will explain how i did it in Very Simple steps
for those interested in firing this engine up & having a look.

note: for those of you who have never done this before it's pretty simple and
NO you don't even have to meddle with code or anything to get it test running.

for windows 7 users follow these steps

1) Install Microsoft Visual Studio 2010 Pro Edition

2) download the ogre sdk v1.7 self extracting archive
link: http://softlayer.dl.sourceforge.net/pro ... v1-7-2.exe

3) extract the ogre sdk 1.7 to: C:\OgreSDK

4) download the pre system configured sdk kit here:
http://gamekit.googlecode.com/files/OgreKit.zip
and also extract that to C:\OgreSDK

5) download the pre compiled build.exe here:
http://gamekit.googlecode.com/files/Ogr ... -win32.zip
and extract that to C:\OgreSDK\OgreKit\

so your OgreSDK directory should now look like this:
C:\OgreSDK\OgreSDK_vc10_v1-7-2
C:\OgreSDK\OgreKit
C:\OgreSDK\OgreKit\OgreKitWin32\OgreKit.exe

6) the next step is to convert & build so now browse to directory
C:\OgreSDK\OgreKit and double click OGREKIT.sln & Visual studio should fire
up asking you if you want to convert changes so select yes & wait for it to
finish.. it may take some time.

7) when it's finished make sure your solution explorer tab is open to your left
if not press Ctrl + Alt + L

final step) at the very top folder in the solution tree you will see:
Solution 'OGREKIT' (20 Projects)
right click that top folder and select >build solution

this will take along time so wait for it to finish.

when it's done and you see that there are *no errors* by looking at your
lower output window in visual studio that should read
========== Build: 20 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

that means it's safe to try running C:\OgreSDK\OgreKit\OgreKitWin32\OgreKit.exe

that's all I have discovered this far :)

If you want to dig threw more faq working with this ogre game kit
here is the link to the wiki list from the makers of the above working ogre kit.

Ogre gamekit Wiki
Image
GoPro + F18 = AWESOME Lap Around The Boat VFA-211 (CVN 65)


Top
 Profile  
 
 Post subject: Re: Ogre and Visual Studio Beginners -Let's Learn a Game Engine!
PostPosted: Mon May 30, 2011 7:50 pm 
User avatar
Obliterated

Current Scorched3D Rank: Unranked








Joined: Wed Feb 16, 2005 1:26 am
Posts: 1583
Location: Some Where On Earth I Think
I see that its available for linux as well I might install it some time. Interesting side note I used to spend time with one of the retired devs on Irc many many moons ago. Funny where people end up. I miss those undernet days.
Image
"Always do right. This will gratify some people and astonish the rest."
Mark Twain


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group