OGRE Newbie's Tutorials

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

OGRE Newbie's Tutorials

Post by Robomaniac » Sun Nov 21, 2004 6:47 am

I've finally set about to create a series of 10 lessons covering the basics of the OGRE engine.

You can get the first one at:
http://centaurforce.sourceforge.net/Ogr ... ewbie1.htm

Expect more tomorrow!
Yes, i know half of the pictures don't work, but please report any bugs you might find!
0 x
phear hingo

My Webpage

User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19265
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 2
Contact:

Post by sinbad » Sun Nov 21, 2004 3:10 pm

Thanks Robo, my only comment is that if this is a newbie tutorial, you probably shouldn't be pulling the latest development version from CVS. Better to pull the latest stable / bugfix branch (Hastur currently).
0 x

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Sun Nov 21, 2004 6:12 pm

alright, will change that :)
0 x
phear hingo

My Webpage

eZZy
Gnoblar
Posts: 6
Joined: Thu Mar 13, 2003 6:43 pm
Location: Kaunas, Lithuania

Post by eZZy » Sun Nov 21, 2004 10:32 pm

Nice thing that new tutorials are comming in. The old ones really ( i mean REALLY) needs an update! ;)

Though, there are some positive things of old tutorials. You have to learn how to use API reference and u can also see how the engine becomes more and more sophisticated. :)
0 x

User avatar
Goosey
Halfling
Posts: 88
Joined: Wed Sep 29, 2004 3:33 am
Location: Ohio, USA
Contact:

Post by Goosey » Mon Nov 22, 2004 11:27 pm

Thats great. The more tutorials the better! I think a lot of people (including myself) can learn a lot quicker when things are explained in human-terms rather then just digging through source code. :)
0 x
I <3 the OGRE Wiki, and SO SHOULD YOU! :)

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Mon Nov 22, 2004 11:48 pm

Heres a basic list of what the tutorials will be:
  • Downloading and Compiling OGRE
  • Ogre Basics + Init/Exit
  • Update Loop
  • Meshes and Materials
  • Lighting and Shadows
  • Particle Effects
  • Advanced Effects
  • Movement and Input
  • Tech Demo Walkthrough and Source
  • Wrapping Up
  • Also, if i want, i might even throw in a cegui or ogreode tutorial ;)
0 x
phear hingo

My Webpage

notatoa
Gnoblar
Posts: 7
Joined: Tue Nov 16, 2004 11:41 am

Post by notatoa » Tue Nov 23, 2004 6:19 am

Also, if i want, i might even throw in a cegui or ogreode tutorial
OgreOde is pretty easy to work with, a tutorial for CEGUI would be fantastic Robo :D
0 x

PJB
Gnoblar
Posts: 19
Joined: Mon Aug 16, 2004 1:48 am
Location: East Sussex, England
Contact:

Post by PJB » Tue Nov 23, 2004 10:06 am

That's a nice tutorial robo, it would definitely have helped me the first time I started using Ogre (I was a complete novice to CVS). I look forward to seeing the next in the series!

A couple of minor points I noticed:
- descicion == decision (spelling)
- Turtoise == Tortoise (spelling)
- image006.gif is missing
- image008.jpg is missing
- image009.gif is missing
- image010.gif is squashed vertically to be unreadable
0 x

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Tue Nov 23, 2004 3:45 pm

I'm gonna work on redoing the 1st tutorial in a read web page editor as opposed to word, and start working on tuts 2 and 3, so expect an update tonight
0 x
phear hingo

My Webpage

User avatar
dennis
Gremlin
Posts: 154
Joined: Mon Nov 11, 2002 4:21 pm

Post by dennis » Tue Nov 23, 2004 4:21 pm

Robomaniac wrote:I'm gonna work on redoing the 1st tutorial in a read web page editor as opposed to word, and start working on tuts 2 and 3, so expect an update tonight
You might want to check out HTML-kit.
Robomaniacs' Tutorial wrote:Sit Back… Relax… and wait for OGRE to finish building.
You might want to give an estimate of the build-time here, because on some machines it could take a looooong time! (> 30 mins. :shock: ) Oh, and try to keep the images as small as possible. Perhaps you could even show the relevant parts only.
0 x

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Tue Nov 23, 2004 4:42 pm

i chose not to include a build time estimate b/c it varies so much. Ex. on my laptop, ogre takes only about 20 mins to rebuild fully, which on my desktop, it can take up to an hour and a half :\

I'm gonna rework the images too
0 x
phear hingo

My Webpage

User avatar
charlie
Greenskin
Posts: 146
Joined: Mon Nov 15, 2004 1:43 pm
Location: Austria
Contact:

Post by charlie » Sat Nov 27, 2004 3:33 pm

Great work!
That's something I was really waiting for. A good tutorial from the scratch about ogre (although I still don't have a c++ .net).

A OgreOde Tutorial would really be great (especially one that deals with car physics since I haven't found a really good example for something like that. Or if there's a good tutorial concerning this topic please let me know)

At the moment only the first lesson about comiling the whole stuff is online, right?
0 x

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Sat Nov 27, 2004 4:17 pm

Yes, the first tutorial is the only one up, i will have the rest up by sunday night

[edit]
I don't think i'll be able to get all of them up, but the basic ones should be put up by then.
0 x
phear hingo

My Webpage

User avatar
y721
Gremlin
Posts: 153
Joined: Mon Nov 08, 2004 3:15 am
Location: Taiwan

Post by y721 » Mon Nov 29, 2004 3:36 am

Hi:

Is anyone planning to write a Terrain tutorial? For example, which algorithm is used? how do I apply color map on terrain based on height?
..etc.

thank you.
0 x

Jodi
Gnoblar
Posts: 1
Joined: Tue Nov 30, 2004 3:03 am

Post by Jodi » Tue Nov 30, 2004 3:15 am

Please,

a hold-my-hand tutorial on CEGUI and OgreODE would really be appreciated.

Thanks!
0 x

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Tue Nov 30, 2004 3:21 am

I've decided to take a slightly different approach to the lessons, making them into a downloadable package w/ projects, an html tutorial, and source. The source will be the main source of documentation for the tutorials, as it will be extremely well commented. I will get the next one out as soon as possible (its almost complete, but I can't upload it for a bit)
0 x
phear hingo

My Webpage

User avatar
japito
Halfling
Posts: 77
Joined: Mon Apr 26, 2004 11:01 pm
Location: In your MBR ... (sometimes in spain)

Post by japito » Tue Nov 30, 2004 4:17 am

Robomaniac weee, Robomaniac is great, Robomaniac for president....
0 x
ummmm emmmm estoooo.....

ALutke
Gnoblar
Posts: 2
Joined: Thu Jun 17, 2004 9:48 am
Location: Exeter, UK
Contact:

Post by ALutke » Fri Dec 03, 2004 10:06 am

Being quite new to OGRE, I am really looking forward to this!

Thanks Robomaniac!! :P
0 x

Yokom
Halfling
Posts: 88
Joined: Tue Nov 30, 2004 2:34 am

Post by Yokom » Sun Dec 05, 2004 7:48 am

When you go for the first example can we get a tut on building a project without the old example code.

More or less building an application from scratch thing. Im going to have to trudge though it soon(tm). For now still working on artwork.
0 x

MrSandman666
Gnoblar
Posts: 18
Joined: Sun Dec 05, 2004 6:34 pm

Post by MrSandman666 » Sun Dec 05, 2004 6:50 pm

Yes, that would be greatly appreciated! I've been hunting high and low for a tutorial that explains how to write an Ogre app from scratch without that example application thing.
It really doesn't help at all if you want to learn the inner workings of Ogre and you're only refered to some helper classes that hide these inner workings from you.
0 x
Mr. Sandman bring me a dream...

dorvo
Halfling
Posts: 68
Joined: Tue Nov 02, 2004 8:01 pm

Post by dorvo » Mon Dec 06, 2004 3:09 pm

I've found the easiest way to learn how to build an Ogre app from scratch is to have the ExampleApplication and ExampleFrameListener header files open while you create your own application and frame listener classes. This way, you can refer back to the examples. Then just experiment. If it doesn't compile, or doesn't perform as you thought it should have, then you've gained some knowledge on how the code should be laid out.

Ogre was designed well enough that it's relatively easy to learn to use, especially for someone like me who's not as active in game development as I should be.
0 x

MrSandman666
Gnoblar
Posts: 18
Joined: Sun Dec 05, 2004 6:34 pm

Post by MrSandman666 » Mon Dec 06, 2004 3:32 pm

Well, that's just what I did... I manage to compile something basic but I still think it would be good for newbies to have things explained "the right way" (tm).

I'm still not far with my learning and things will probably look a lot clearer when I actually start programming again but looking just at the documentation things look very confusing. For example, I've been trying to find a way to morph objects by applying modifiers to individual vertices but so far I haven't found anything about where or how vertices for a mesh are stored. I guess it will become clear once I experiment more, just giving feedback on newbie problems...
0 x
Mr. Sandman bring me a dream...

User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac » Mon Dec 06, 2004 6:40 pm

The newbie's tuts are coming soon, prolly by this wednesday or smthg similar.

Sooner or later, the first 2 are done, just haven;'t been able to upload them yet
0 x
phear hingo

My Webpage

soy1bonus
Gnoblar
Posts: 1
Joined: Sat Dec 11, 2004 6:21 pm
Location: Spain
Contact:

Great work man!

Post by soy1bonus » Sat Dec 11, 2004 6:27 pm

Great job. I really like tutorials (in general) and yours are awesome.

I am searching a 3d engine to make a game (it's a university project) and I was thinking about Ogre or, maybe Irrlicht.

I played a lot with Irrlicht and is very easy to use but I like some features that only Ogre has, like the texture shadows and the material scripts.

It's the first 'serious' project I'm going to develop so when I started with Ogre it was SO difficult....

I tried to follow some of the old tutorials but I was stucked when setting up the terrain.cfg, and I couldn't find the proper definition on the API.

Well Robomaniac, thank you for this.
0 x

philvanzu
Gnoblar
Posts: 3
Joined: Fri Dec 17, 2004 11:47 am

Post by philvanzu » Fri Dec 17, 2004 12:03 pm

Robomaniac wrote:The newbie's tuts are coming soon, prolly by this wednesday or smthg similar.

Sooner or later, the first 2 are done, just haven;'t been able to upload them yet
According to this post's date it should be done now but where can we download it ???

I'm stuck on the old tutorial n° 2 with ogre::scenenode::yaw() no longer taking a ogre::real as first argument..

(plus I admit I don't really know what "yaw" is - google translates it as "shoelace" in french - and that's not very talkative to me hehe. I suppose it must be a Y axis rotation , just not sure.)
0 x

Post Reply