ivanmunguia / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Road sides, walls #240

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Although outdoor roads tend to have nothing surrounding them, there are a lot 
of cases when road rails and separators are appropriate. StuntRally's road 
system only has this for bridges so far, which automatically have stone borders 
at each side. Personally I'd like to see this improved to allow various types 
of rails and separators surrounding roads.

Rails should be meshes like most objects, which the editor can bend and / or 
place in a repetitive pattern around each side of the road. Any road segment 
should have the ability to specify a rail model on each side, and a distance 
that rail comes from the edge of the road. Ideally this can work on both ground 
roads and bridges (replacing the current stone walls when enabled).

The same system could probably be used to offer separators on large roads. This 
would allow creation of highways and freeways, which IRL are usually separated 
by a central stone wall. Like this 
http://www.torange.us/photo/13/13/Concrete-dividers-on-the-road-1353581190_87.jp
g or this http://image.ec21.com/company/i/ii/iid/iido/upimg/01.jpg

I think the classic type of rail would be the most important one to have for 
starters (like http://i42.tinypic.com/72vamd.jpg ). After that there can be 
plastic separators ( 
http://www.arenaaccess.co.uk/uploaded_img/large/P779_safewall-road-2nd-job2%5B1%
5D.jpg ), fences, and anything that works.

Original issue reported on code.google.com by MirceaKi...@gmail.com on 13 May 2013 at 10:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
New mode in editor where you could put another splines that would be wall.
Adding it to current road is possible but much more complicated.
Would be good for gravel too, some variation at least.
Also, see screenshot here, this should be added to main road creation (very 
difficult). Because terrain doesnt give that much detail and takes too much 
time to do, while this would be from road (but needs a terrain like texture 
though).

Original comment by Cry...@gmail.com on 14 May 2013 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago
Yes... that's looks very pretty too. As for the side railings, the simplest way 
I was thinking they could be done is by reading the road as a curve (like the 
engine does to draw it based on points) and looping a mesh X distance from a 
side (eg: a rail piece). But it might be more complex in practice... I don't 
know the code sadly so I can't think further.

Original comment by MirceaKi...@gmail.com on 14 May 2013 at 9:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by Cry...@gmail.com on 2 Apr 2014 at 11:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 199 has been merged into this issue.

Original comment by Cry...@gmail.com on 11 Oct 2014 at 9:10