Jump to content
  • Advertisement

Archived

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

Johnn

3d RPG and maps

This topic is 5283 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

Ive been learning openGL for some time now and I started working on my first project which is a RPG. Ive read the height map exemple in opengl game programming, which is one of the ways I could use to make my maps (I played around with this method. From a high above POV, it seemed nice, but when getting close to the ground, it didnt looked really good (spikes and such). and the maps coordonates were hard to control (y values in the 90s-255s [huge difference]) I read the tutorial at nehe about loading 3d worlds (sectors in .txt files) I think I could also use common map format files (.bsp). Basically, im wondering which is the best way I could use based on my knowledge. I mean, is it worth the trouble to learn about more complex stuff to save time in the long run and get nicer looks or do more manual hard coded maps should be my best bet? Thanks for the advices in advance!

Share this post


Link to post
Share on other sites
Advertisement
To avoid the nasty lookingness of the terrain when getting very close to the ground, you can do a few things:
1. Increase the texture size (duh).
2. Use multitexturing.
3. Place various objects such as grass, trees, roads, stains on the ground, etc.

Share this post


Link to post
Share on other sites
Try using floating point height values instead of 8-bit greyscale values. Things will interpolate much more smoothly.

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!