Jump to content
  • Advertisement

Archived

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

Buzz1982

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

This topic is 5389 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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]

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!