terrain from heightmaps.

se5a

08-07-2013 09:36:04

So I've got terrain similar to tute 3
and I've stuck a model in the scene, but I can't figure out how to get it sitting on top of the terrain rather than inside it.

se5a

12-07-2013 02:14:03

I figured out how to do a ray scene query at the location of the object, then updated the objects location to match the terrain height.

I'm having problems with some of the stuff in the intermediate tutorials, I can't find the Mogre.Demo.ExampleApplication.Example class for them, where can I find this?

Beauty

29-07-2013 12:07:45

As far as I know the advanced Mogre tutorials were not updated/checked for years. They we written in the time before Mogre, when C# users used MogreDotNet.

Maybe your needed class is the Tutorial Framework:
http://www.ogre3d.org/tikiwiki/Mogre+Wi ... +Framework
The source code is available, just click on the related link on the wiki page.

For using the Ray Query I added information and an example to the Wiki.
http://www.ogre3d.org/tikiwiki/Ray+query+with+MOGRE