Basic question about Terrain and OgreNewt

mvelazquezm

18-03-2010 08:22:18

I want to do a Downhill skate game, like a car game.

I want to have several tracks for the game, that will be a road in a hill...
I don´t know how to do the terrain:
- Using heightmaps? I don´t know how implement it.... Any help???
- Using simple mesh with (CollisionTree type)..... Is this a good idea for my purposes???

Thanks again!

majc

18-03-2010 15:28:50

Take a look at this post http://www.ogre3d.org/addonforums/viewtopic.php?f=4&t=11696 specialy the one made by chookaa.

mvelazquezm

19-03-2010 09:36:48

Ok, thanks.

But Can I control with heightmaps by some way the circumstance that my "rider" goes over the road or over the grass???? (it isn´t the same, in the grass.... the rider falls :-) )

Any help? Thanks!

majc

19-03-2010 11:01:01

I think you only can do that with materials, one for the grass and another for the road in that case i think heighmaps can't acomplish that.

PJani

19-03-2010 11:14:36

You will need to use Material Pair and to write your own code in material contact callback and check if contact happen on grass or road if so you trigger some event...

landcie69

11-05-2010 04:05:33

[color=black]MBT Shoes[/color] really give total freedom to your toes.Sounds so surprising!Fashion couldn’t go without [color=black][b]Christian Louboutin[/b][/color] and [color=black]Vibram Five Fingers[/color],which highly promote women’s chic personality and sexy,elegant glamor.If we say [color=black]Herve Leger[/color] gives the whole romantic fantacy to girls,then links of london brings beauty of logic in the form of shiny links.[color=black]P90X dvd[/color]