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 > NeHe PAlib 3d Lessons
#70733 - jandujar - Wed Feb 08, 2006 1:12 pm
Hello people,
I have port the NeHe lessons 01 to 06 using libnds and PAlib, you can view the source of the 01-05 lessons here:
http://rapidshare.de/files/12769801/NeHePAlib3d_by_jandujar_01-05.zip.html
and lesson06 here:
http://rapidshare.de/files/12791970/lesson06.zip.html
I'm trying to continue with the lessons, but I don't know if the functions
-glBlendFunc
-glTexParameteri
-glLightfv (glLight?)
exists in ndslib.
I have view the videoGL and I haven't see these functions, so I supposed that the opengl on libnds is incompleted.
I can make blending/lighting with libnds opengl?
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com
#70747 - jake2431 - Wed Feb 08, 2006 3:18 pm
Very nice. Yes, it appears that those fuctions aren't available in libds yet. It would be nice to have a fully functional opengl library for the DS(does anyone know when or if this will happen?).
I like that you have intructions for setting up to use OpenGL. It would be cool if you made detailed tutorials for each one that described how OpenGL works with the DS for begginers. Also, I can see how the site that is hosting the files would get kind of tricky. Could you possible get them hosted elsewhere?
If you make it more of a tutorial(with code and examples) and wanted it hosted I may be able to get a buddy of mine to host it on his site. Then I could add it to my DS tutorials thread and it would be another greatly helpful 3d tutorial for everyone.
You will probably want it to be different than http://ethos.oddigytitanium.com/ however. It would be better if you didn't just link the NeHe and the DS source like that site, but instead did that and wrote detailed tutorials on using OpenGL with the DS. You could even link the NeHe tutorials and then have side notes on your tutorial that applys to that lesson, but it's uses with the DS.
Just an idea.
-Jake
#70755 - jandujar - Wed Feb 08, 2006 4:08 pm
In every lesson, I link to the NeHe tutorial (if you look at the bottom of the main source you will see the link)
I have problems with tutorials, because my english isn't good. (I'm spanish)
And I have not linked the lessons on other side because I spected to make more lessons of the NeHe. Maybe later.
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com
#71456 - dovoto - Mon Feb 13, 2006 12:14 am
Just incase you were not aware lessons 1-11 are allready ported to DS and included with devkitpro examples. Maybe you are just porting them to be compatible with palib?
Lesson 9 is currently not working as anticipated
_________________
www.drunkencoders.com
#71516 - jandujar - Mon Feb 13, 2006 7:35 am
Yes dovoto, I have ported the lessons for palib, but I don't know that the lessons 1-11 are ported to devkitpro. Can you tell me where is the source? I would like to see it
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com
#71517 - dovoto - Mon Feb 13, 2006 7:41 am
If you do a default installation of devkitpro it will instal the examples. Under examples/nds/graphics/3d/nehe you will find the nehe examples. I dont think anything past 11 is worth porting over but maybe there are a couple that would be good.
_________________
www.drunkencoders.com
#71531 - jandujar - Mon Feb 13, 2006 8:46 am