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 > Md2 loader with basic data structures source code

#64377 - Webez - Wed Dec 21, 2005 8:24 pm

Hi.

Well I told myself that when I hadsome code finished that could be of some interest I would release it (because I think a comunity like this needs to be as open as possible to advance faster). It has a lot of garbage but I am not going to clean it (if I begin with "when I had done..." then I'll never release it).

I hope it helps someone and feel free to change whatever you want (I would apreciate if you could improve it and post it!).

Some things that you should know

-Md2 textures have to be rotated (the file). If someone fix this or knows why I have to do this tell me!!
-Camera movement with stylus is a bit... well it works at least. It needs improvement.
-I could not use libnds glulookat. I have to change it. If it is a bug or not I don't know (the same camera works ok in opengl)
-Normals are not loaded beacuse I still need to play a little with lights. Next time.

http://www.4shared.com/file/625586/ef396835/ds_online.html

Bye!

#64378 - touch-akram - Wed Dec 21, 2005 8:28 pm

Very very thx webez thats i was searching. Great job man , now i could see my own models in my dear ds thx

#64407 - blaisef01 - Thu Dec 22, 2005 2:57 am

Webez wrote:

-Md2 textures have to be rotated (the file). If someone fix this or knows why I have to do this tell me!!
!


It seems it is because the S and T (U and V whatever) coordinates are the wrong way round, this held true with older versions with ndslib not sure about now, maybe i should test that... and you should feel proud of your handsome code

#160905 - LogicEpsilon - Thu Jul 24, 2008 11:00 am

touch-akram wrote:
Very very thx webez thats i was searching. Great job man , now i could see my own models in my dear ds thx


I know this has been posted ages ago, but now it's nearly impossible to find this example on the web. All of the files are dead links, etc.

Does somebody still have this piece of code somewhere so that I could download it or he could send it to me by email ?

I would really appreciate.

Many thanks,

#160949 - hacker013 - Thu Jul 24, 2008 8:05 pm

LogicEpsilon wrote:
touch-akram wrote:
Very very thx webez thats i was searching. Great job man , now i could see my own models in my dear ds thx


I know this has been posted ages ago, but now it's nearly impossible to find this example on the web. All of the files are dead links, etc.

Does somebody still have this piece of code somewhere so that I could download it or he could send it to me by email ?

I would really appreciate.

Many thanks,


This is from 3 years ago..... I think it is gone with the time....
_________________
Website / Blog

Let the nds be with you.

#160961 - 3dfx - Fri Jul 25, 2008 1:53 am

Well you could look @ an md2 loader on the pc and port it.

#160964 - LogicEpsilon - Fri Jul 25, 2008 8:05 am

Yeah that's what I am doing now. Catching on on the last 3 years of Dev on the DS. Lots of disseminated information all around. Piecing the puzzle together, but now seems OK since I've found the major information sources.

I apologize for bringing back this post from the dead.

Thanks to those that replied.

#160966 - silent_code - Fri Jul 25, 2008 10:14 am

I wouldn't call a .md2 loader NDS development. That's genereal programming and not everybody uses .md2 (at least I don't, because it's too restrictive and too generic for the hardware.)
And I find all the info I need for homebrew in gbatek. No puzzle (well, maybe except for some details I haven't come across, yet).
;^)
_________________
July 5th 08: "Volumetric Shadow Demo" 1.6.0 (final) source released
June 5th 08: "Zombie NDS" WIP released!
It's all on my page, just click WWW below.