More about Terrain component

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
NoeMurr
Gnoblar
Posts: 11
Joined: Sat May 18, 2019 1:02 pm

More about Terrain component

Post by NoeMurr »

Hi all,

I've read the tutorial about terrain sky and fogs.
It is interesting but it is a little shallow...

Is there something more accurate about this topic?

paroj
OGRE Team Member
OGRE Team Member
Posts: 1006
Joined: Sun Mar 30, 2014 2:51 pm
x 302
Contact:

Re: More about Terrain component

Post by paroj »

there are some (possibly outdated) pages on the wiki as well: http://wiki.ogre3d.org/Ogre+Terrain+System

NoeMurr
Gnoblar
Posts: 11
Joined: Sat May 18, 2019 1:02 pm

Re: More about Terrain component

Post by NoeMurr »

Thanks for your answer.

I've seen the link. There is something, but I was looking for something like a Manual section or similar.

It would be nice to have a section in the manual related to the Terrain componnent.

paroj
OGRE Team Member
OGRE Team Member
Posts: 1006
Joined: Sun Mar 30, 2014 2:51 pm
x 302
Contact:

Re: More about Terrain component

Post by paroj »

agreed. feel free to contribute your findings as you learn. You can start with extending the tutorial and we can factor out a manual section later.
You can find the source file here: https://github.com/OGRECave/ogre/blob/m ... torial3.md

NoeMurr
Gnoblar
Posts: 11
Joined: Sat May 18, 2019 1:02 pm

Re: More about Terrain component

Post by NoeMurr »

I'll do it as soon as I will really understand how this component works.

paroj
OGRE Team Member
OGRE Team Member
Posts: 1006
Joined: Sun Mar 30, 2014 2:51 pm
x 302
Contact:

Re: More about Terrain component

Post by paroj »

you can also take a look at the legacy terrain documentation:
http://wiki.ogre3d.org/Terrain+Scene+Manager

see here how the old concepts map to the new ones:
https://github.com/OGRECave/ogre/blob/v ... p.cpp#L306

NoeMurr
Gnoblar
Posts: 11
Joined: Sat May 18, 2019 1:02 pm

Re: More about Terrain component

Post by NoeMurr »

Hello,

If It is not a problem for the forum's rules I would like to use this thread to ask all my, probably stupid, questions about the terrain system.
Of course if a question is too complicated I will start a new thread.

The first: Is a Ogre::Terrain object supposed to be a square?

I'm reading the documentation and it states that the Terrain object is: "The main containing class for a chunk of terrain.". I've noticed that the size of this class is referred to "The number of vertices along one side of the terrain". So is the perimeter of the Terrain 4*size vertices?

paroj
OGRE Team Member
OGRE Team Member
Posts: 1006
Joined: Sun Mar 30, 2014 2:51 pm
x 302
Contact:

Re: More about Terrain component

Post by paroj »


Post Reply