Archived

This topic is now archived and is closed to further replies.

Buzz1982

is there any other way of making terrain with a road?

Recommended Posts

hi, i m making a demo in which i have created a terrain using a height map bmp file.now for making roads i have edited the bmp such that, i had created lines going in curves on the bmp with a particular color.now when i read the file and create a terrain, terrain with a road is created but i dont understand how to texture map the road with a road texture and terrain area with grass texture. if there is any other technique that u can share for making a terrain with roads and also texture map them, please tell me. thanx

Share this post


Link to post
Share on other sites
If you are generating a land texture, for the whole terrain... why not simply check if the corresponding heightfield element is "road" coloured, and colour the texture element appropriately.

EDIT: Also remember that the road does not have to be defined within the heightmap... you could store the road polygonally, or with bezier curves, and alter the polygonal terrain model appropriately

[edited by - dmounty on October 15, 2003 7:15:37 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
do keep in mind that roads should not slope sideways... that would look unrealistic

Share this post


Link to post
Share on other sites