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

Started by
1 comment, last by Buzz1982 20 years, 6 months ago
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
Advertisement
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]
do keep in mind that roads should not slope sideways... that would look unrealistic

This topic is closed to new replies.

Advertisement