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 > For a beginner... a triangle tutorial, anyone?

#56207 - DeaneGainey - Fri Oct 07, 2005 3:36 am

I'd like an explanation of how to draw a triangle onscreen with the 3D geometry Engine...

And if you can explain, how to texture that triangle with a pattern or bitmap...
_________________
--- Posts say it all, nothing to see here ---

#56221 - arog - Fri Oct 07, 2005 6:36 am

Quote:
I'd like an explanation of how to draw a triangle onscreen with the 3D geometry Engine...


Have you looked at any of the examples that come with devkitpro & libnds? There's a 3D section with more than enough code to get you started.

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#56224 - dovoto - Fri Oct 07, 2005 6:48 am

Specificaly look in the 3D folder of the nds example package under Nehe. The first 11 nehe lessons are there. I may add a few more but none of the more advanced ones seemed to apply to DS.

If you dont know what nehe is:

http://nehe.gamedev.net/

It is a great (at least for someone getting started) openGL tutorial site
_________________
www.drunkencoders.com

#56530 - delfare - Sun Oct 09, 2005 11:38 am

there is 3d's tutorials in my website : http://delfare.pizz.biz.
translate with google : http://translate.google.com/translate?u=http%3A%2F%2Fdelfare.pizz.biz&langpair=fr%7Cen&hl=fr&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
_________________
If I speak badly, it's because I speak french and I am 15

PA 3d tutorial : http://delfare.pizz.biz