Jump to content
  • Advertisement
Sign in to follow this  
Kitasia

Help learning 3d!

This topic is 4843 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 got a book that teaches 3d game programming with opengl. I'm learning a bunch of things to changes things around but nothing what I want to know about. I want to know how I would go about doing Mario like stages or even Zelda like stages not just some little terrain for people to run around on. I was thinking I'd just model the whole thing through a program and load it but I'm beginning to think there's something else. Can anyone shed light on this? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
I forgot what's then name given to what your trying to do, if you know it its easyer to search on google.

Anyway Zelda could be 3D, 2D, 2D methods for 3D illusion(3D is 2D methods for 3D illusion but much more complex in what I have inmind). To draw stuff on the screen first you must upload the image to the graphics card as a texture, and from there bind the texture and use glVertex* and glTexCoord to draw the images on the screen after you have setup the OpenGL environment.

There are many way's to create a Mario/Zelda type of game. I would use tile maps. And you would have a few layers of tiles. Here are some links for tiles:

Know this first, you probably already know it :)
Some basic Idea of tiles
I recomend to read this
Terain

The idea is there in those links but not neccesarly OpenGL code. All you need to know is how to draw in OpenGL(lighting and other stuff included) and apply the idea.

Share this post


Link to post
Share on other sites
Sign in to follow this  

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