Jump to content
  • Advertisement
Sign in to follow this  
KazamaJin

Making the transition from 2D to 3D...

This topic is 4427 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 was wondering if any of you could explain how it is possible to add 3D models and environments into games (programmed with C++). Do you know of any good tutorials on the subject? You see most of the tutorials I have read aren't very helpful to a beginner like myself. EDIT: Looks like I may have posted this in the wrong section. I apologise if that is the case. [Edited by - KazamaJin on July 7, 2006 3:37:15 PM]

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
3d graphics are based on projecting the 'real' 3d position of objects onto a 2d plane, this 2d plane is then used to draw flat representations onto your screen.

An understanding of linear algebra, with some geometry and trigonometry is needed to accomplish this 3d to 2d projection. lookup/learn 'Matrixes'

Graphics APIs like OpenGL and DirectX will do the math for you using your computer's hardware accelerator card, but a basic understanding of the concept is required for effective use.

In a few posts someone is going to reccomend that you look at 'NeHe's OpenGL tutorials'
...They aren't very good...
you can follow them and might be able to patch some graphics together, but probably won't gain a good understanding and will be lost as soon as you want to do something not in the tutorials

I really recommend picking up a book if you can
or better yet an actual class introducing 3d graphics and the math background

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
...Continued

One thing you might want to do is learn a little bit about PinHole Cameras and 'camera obscura'. Thats where my understanding of graphics and the math behind persepective probably started; even though that was years before actually becoming a programmer.

yeah. extreme bottom up approach to learning...

Share this post


Link to post
Share on other sites
Anonymous Poster - Thank you for the advice. I will definately pick up a book on 3D graphics. Do you (or anyone else for that matter) have any recommendations on books which I may find useful?

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!