Showing posts with label road. Show all posts
Showing posts with label road. Show all posts

Monday, 8 June 2009

Road Update

I've created a slightly improved road and road junction asset.
Previously the centre white line would break up as the polygons would intersect over the road junction. I've created a new cross-section which has the centre white line overlaid as polygons rather than a white stripe in the source texture. Now the centre white line polygons intersect cleanly without breakup.

Tuesday, 5 May 2009

Road Clutter

In the middle of a very busy work period, I decided to give myself the first night off in many weeks. And what do I end up doing? Some new Rail Similarity assets. I sometimes feel like I'm married to 3DSMax.

I've spent the last few hours knocking up these new clutter assets for the road network. Once again, simple assets and quick to make. The 'zebra crossing' beacons flash on and off using simple animated textures. The markings on the 'zebra crossing' are a simple quad overlay using transparency.

I've included a 3DSMax render to show them in their full glory.

Saturday, 28 March 2009

Road Network

Recently, I have been trying to improve the complexity of the road layout by adding junction assets.

With rail track, this is a simple problem to solve, as the junction assets consist of two elements; ballast and rails. With roads however it required a bit of experimentation to come up with junction assets that would work correctly and provide the 'clean' look I was after.

Here is the cross-section for the road junction asset. The junction asset must contain two nodes called 'Ballast' and 'Rail' (both case sensitive) for it to render correctly across the junction. In my road junction asset, you can see the 'Ballast' asset represents the tarmac, and the 'Rail' (not used in this case) is simply hidden below the road.

With a very subtle hump in the centre of the road (see the cross-section above), the road polygons cleanly intersect one another without any z-fighting issues.

I've also placed small 'filler' assets at the apex of the internal corners to help with the visuals. This is the result in-game.