lis-epfl / robogen

RoboGen - Robot generation through artificial evolution
http://www.robogen.org
GNU General Public License v3.0
27 stars 16 forks source link

Terrain generation is buggy #3

Open amaesani opened 11 years ago

amaesani commented 11 years ago

The current implementation of rugged terrains is broken.

ODE is afflicted by some serious bugs which make uneffective loading the terrain from an heighfield image (for understanding what an heightfield is check this nice OpenSceneGraph example http://osghelp.com/?p=163).

In many unpredictable cases, objects will fall through the terrain when this is specified using an heightfield.

For the groups that have chosen to work with rugged terrains, it would be good to come up with alternative ideas (e.g. one simple thing that might just work is to implement a rugged terrain as a number of fixed "cubes" that acts as different terrain levels).

As before, if someone could contribute code for this it would be highly appreciated

30223403_640 .

teddyjh commented 11 years ago

Hello,

Anyone who have tried to solve this?

amaesani commented 11 years ago

Not yet, one (relatively) simple way to do it might be to use solid immovable shapes (boxes mainly) to generate rugged terrains at different elevations.

teddyjh commented 11 years ago

Okey. So, we should just add a lot of obstacles and in that way make a terrain?

amaesani commented 11 years ago

Yes, you might try to do it using many (relatively small) obstacles.