Jump to content
  • Advertisement

Archived

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

kill

Terrain...

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

I still can''t get it to work, because I get access violation. If someone can help me go step by step, I''d be very thankful. Here''s what I want to do: create a completely flat, wireframe terrain. Here''s what I''m doing. 1. Create a .pcx file, fill it with black color(the height is 0) 2. Create another .pcx file, fill it with black. I suppose this should mean that the material used for every tile should be base_material + 0. 0 being black. Right? 3. Convert the second .pcx into .wmp 4. Create one material. This material will be used to render the terrain. 4. Allocate the terrain structure. 5. Load terrain. 6. Render terrain <- unhandled exception, access violation. What could I possibly be doing wrong? Can someone provide simple source code and .pcx, .wmp files? Thanx a lot for your time.

Share this post


Link to post
Share on other sites
Advertisement

  • 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!