Page 1 of 1

Simple terrain...

Posted: Thu Dec 18, 2008 2:18 am
by rordude
I really am getting used to ogre3d, and having trouble building. Can some one make make a terrain runnable in ogre 3d to where I can move on it. And send me the source and files? Thanks, this would be a big help...

Posted: Thu Dec 18, 2008 12:25 pm
by DasGurke
Look at the Terrain sample. Or at the Terrain Tutorial. If these are not enough, Ogre is probably too advanced for you.

Re: Simple terrain...

Posted: Thu Dec 18, 2008 2:14 pm
by rordude
In that demo of the terrain, does the source file come with it?

Posted: Thu Dec 18, 2008 2:26 pm
by spacegaier
Why don't you have a look in your OgreSDK yourself instead of asking others to do that for you?

If you would do so, you would find there a folder anmed samples with one big ViusualStudio solution, that includes all demo projects.

So in one word: YES!

I know, but I really would like...

Posted: Fri Dec 19, 2008 2:58 am
by rordude
Ok, yes I know that I have alot to learn about ogre. But please, this would be a major help to me, if someone can please just make a simple source with terrain. I would really, really like this to be done, as it will help me with development. Please help me.

thanks :)

Posted: Fri Dec 19, 2008 12:14 pm
by spacegaier
Did you even have a glance at what I wrote? I described you where to find a full and working source file for loading a terrain. What do you want more?

Posted: Sat Dec 20, 2008 2:22 am
by rordude
spacegaier wrote:Did you even have a glance at what I wrote? I described you where to find a full and working source file for loading a terrain. What do you want more?

I did read that yes, but I can't figure that out, because it's with the others, can some one please, just put a source with terrain in a zip, and send it to me...?

Posted: Sat Dec 20, 2008 12:10 pm
by DanielSefton
1) This isn't the right forum - the recruitment forum is for recruiting team members to serious Ogre projects.

2) If you already have the SDK downloaded, then all you want is the OctreeSceneManager. You don't need the source, you just need to link to the Plugin_OctreeSceneManager DLL and then follow the tutorial DasGurke linked to.

The DLL is already in the SDK. In fact, you don't even need to care where it is, all you need to add is this:

Code: Select all

mOgreRoot->loadPlugin("Plugin_OctreeSceneManager");

mSceneMgr = mRoot->createSceneManager("TerrainSceneManager");

mSceneMgr->setWorldGeometry("terrain.cfg");
Hey presto, you've got terrain.