gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Looking for 3D tutorials

#133544 - spinal_cord - Sat Jul 07, 2007 12:21 am

I have been thinking about trying to do some 3D, nothing too hard, but I'm not sure where to start. I haven't done 3D before, I've been avoiding it for a few years now and it's about time I try.

So are there any good tutorials for coding 3D stuff on the DS, Or coding 3D in general that can easily be used on the DS?

Thankyou.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#133550 - HyperHacker - Sat Jul 07, 2007 1:21 am

You'd probably want to start with OpenGL on the PC. It's pretty easy to get some nice 3D graphics going, but it doesn't do anything else for you - I/O, game logic, sound, etc are all up to you. I recommend using SDL which takes care of some of these things (windows, joysticks/keyboard/mouse, 2D graphics, sound, timing, and some other things I've forgotten), but you'll still have to do the real hard stuff (trigonometry; physics, hit detection, etc) by yourself if you intend to make a game.
Once you're familiar with OpenGL, you basically just have to learn how to work the DS' 3D hardware, which is fairly similar. (This is also why it's good to learn how to do all that hard stuff yourself - most systems won't do it for you.)
_________________
I'm a PSP hacker now, but I still <3 DS.

#133555 - Lick - Sat Jul 07, 2007 1:28 am

I'd suggest doing OpenGL on PC first, because you'll learn the basics of 3D programming and because the NDS 3D HW API is pretty much similar though with the additional restrictions.
_________________
http://licklick.wordpress.com

#133569 - mml - Sat Jul 07, 2007 3:49 am

http://www.glprogramming.com/red/ (official guide to learning opengl)
http://www.glprogramming.com/blue/ (opengl reference manual)

thirding the previous two comments - learn how to think about 3D on your PC first; deal with the DS specifics later.

#133575 - zeruda - Sat Jul 07, 2007 5:10 am

Aye, stick to PC first. Check out the tutorials at nehe.gamedev.net and also there are good tutorials at ultimategameprogramming