• ### Popular Now

• 14
• 12
• 9
• 10
• 13

This topic is 2149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hey guys, i do apologize about making a topic again, but this time its a actually working md3 loader, but there is some tiny bugs, What i have at the moment it will load the MD3 model file, it stores the correct data just for the vertices and triangles, now there is 3 different things that can happen, when ran there is 3 different out comes,
1 : Displays the mario head fine.
2 : Displays the mario head with 1 or 2 or many more random vertices that just make it look weird.
3 : Nothing is displayed in the window.

If anyone has any idea on why this is happening it would be awesome, If you want my code you can find it here

Just use the git@gitorious.org:md3simpleloader/md3simpleloader.git to pull down the repository, its open source so

Canvas

##### Share on other sites
Hmm, just a heads up; I guess I was denied permission to clone your repo:

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

new considerations:

1. had to chmod +x configure
2. had to make clean (to remove the existing .o objects in src, are they supposed to be commited?)
3. I copied the data folder into src as I don't want to run make install
4. running simplegame crashed here on a glBufferData(). didn't debug much.. there goes, in case it's helpful:

Program received signal SIGSEGV, Segmentation fault. 0xb7ca3dfd in __memcpy_ssse3 () from /lib/libc.so.6 (gdb) bt #0 0xb7ca3dfd in __memcpy_ssse3 () from /lib/libc.so.6 #1 0xb5b8f221 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so #2 0xb5dad588 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so #3 0xb5d49b9a in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so #4 0xb5d075c0 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so #5 0x0804b71f in GameAsset::make_buffer (this=this@entry=0x8138470, target=target@entry=34962, buffer_data=0x813c218, buffer_size=202116108) at GameAsset.cpp:102 #6 0x0804ba6c in GameAsset::make_resources (this=0x8138470) at GameAsset.cpp:158 #7 0x0804ccc2 in Md3Asset::md3ModelLoad (this=this@entry=0x8138470, filename=filename@entry=0x804e98f "data/mario/HEAD.md3") at Md3Asset.cpp:177 #8 0x0804d0ad in Md3Asset::Md3Asset (this=0x8138470, filename=0x804e98f "data/mario/HEAD.md3") at Md3Asset.cpp:5 #9 0x08049ce0 in main (argc=1, argv=0xbfffe8a4) at Main.cpp:105