Smoothing Question - Presenting Walls more Elegantly

Using Trevor Taylor's great source code (http://sky.fit.qut.edu.au/~taylort2/MSRS/) I created a world that imports a 2D bmp map drew using "MS Paint", see:

The bmp file:

http://forum.bgu.co.il/gpics/1188472830/gallery_1848_376_14797.jpg

The world as it is shown in MSRS:

http://forum.bgu.co.il/gpics/1188472830/gallery_1848_376_25521.jpg

A zoomed view:

http://forum.bgu.co.il/gpics/1188472830/gallery_1848_376_15551.jpg

My question is as follows: is there any elegant way to build the rounded walls so that they don't appear like big stairs?

Maybe somehow to create an arc entity out of a group of wall neighbors? If so, how could it be done?

Any other suggestions, please?

Thanks,

Uri.

[2870 byte] By [UriKartoun] at [2008-1-9]
# 1

The stair-step walls work fine for the physics representation but they don't look very good. You can use a modeling package (or just write a simple program) to generate a curved wall model with the proper arc, gather the box shapes that represent the curved wall into a single entity, and then use the custom mesh that you've built for the entity.

-Kyle

KyleJ-MSFT at 2007-10-3 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 2

For angled but straight walls, you can use a single boxshape that is rotated an appropriate amount to represent a straight wall that is not aligned along an axis. The difficult part is fitting a straight line to the pixel data from the source image.

-Kyle

KyleJ-MSFT at 2007-10-3 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...

Microsoft Robotics Studio

Site Classified