which means i hav to write my own... loader isnt it? so where can i get the format for .x files...? regs sajuat
You can download DirectX SDK and it has source code for loading X files. I you have DirectX expirience it's most simple way. But if you don't it may be more easy to get 3DS loader for windows form ATI OpenGL SDK (on their site for developers) - they have a sample which loading 3ds, or from OpenGL.org They wouldn't work for symbian but you can use them to generate cpp file with ahrd-coded dat
which means i hav to write my own... loader isnt it? so where can i get the format for .x files...?
Well, The 3DS Format needed to have a lot of flexibility to allow upcoming features to be added; so it got quite convoluted! While programming for the Win32\DOS platforms, I landed up writing my own 3DS Converter .. it simplified the loading process and also does some nice optimizations to the original mesh data (if I do say so myself ) .. it is an open-source utility and the output format is documented within the archive. You can check it out at http://www.geocities.com/aliens_can_dunk/x3ds.html. Writing a B3D loader is quite a simple process and you can check out the included b3d2txt utility to see a simple example of the same.
Forum posts: 115
http://www.gamedev.net/community/forums/topic.asp?topic_id=317813
CellaGameS.com
Forum posts: 57
which means i hav to write my own... loader isnt it? so where can i get the format for .x files...?
regs sajuat
"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein
Forum posts: 115
which means i hav to write my own... loader isnt it? so where can i get the format for .x files...?
regs sajuat
You can download DirectX SDK and it has source code for loading X files. I you have DirectX expirience it's most simple way.
But if you don't it may be more easy to get 3DS loader for windows form ATI OpenGL SDK (on their site for developers)
- they have a sample which loading 3ds, or from OpenGL.org They wouldn't work for symbian but you can use them to generate cpp file with ahrd-coded dat
CellaGameS.com
Forum posts: 57
"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein
Forum posts: 115
Check here
http://www.google.com/search?hl=en&lr=&q=loading+3ds+format&btnG=Search
http://ati.com/developer/radeonSDK.html
http://www.gamedev.net/reference/articles/article1259.asp
CellaGameS.com
Forum posts: 106
Well, The 3DS Format needed to have a lot of flexibility to allow upcoming features to be added; so it got quite convoluted! While programming for the Win32\DOS platforms, I landed up writing my own 3DS Converter .. it simplified the loading process and also does some nice optimizations to the original mesh data (if I do say so myself
HTH! Happy Rasterizing!
Regards,
Varun
Forum posts: 57
thanks for the reply...
regs Saju
"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein
Forum posts: 57
do u know anything abt ASE files...in ASE file i found a part
*MESH_FACE_LIST {
*MESH_FACE 0: A: 0 B: 2 C: 3 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 2 *MESH_MTLID 1
*MESH_FACE 1: A: 3 B: 1 C: 0 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 2 *MESH_MTLID 1
*MESH_FACE 2: A: 4 B: 5 C: 7 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 3 *MESH_MTLID 0
*MESH_FACE 3: A: 7 B: 6 C: 4 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 3 *MESH_MTLID 0
*MESH_FACE 4: A: 0 B: 1 C: 5 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 4 *MESH_MTLID 4
*MESH_FACE 5: A: 5 B: 4 C: 0 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 4 *MESH_MTLID 4
*MESH_FACE 6: A: 1 B: 3 C: 7 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 5 *MESH_MTLID 3
*MESH_FACE 7: A: 7 B: 5 C: 1 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 5 *MESH_MTLID 3
*MESH_FACE 8: A: 3 B: 2 C: 6 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 6 *MESH_MTLID 5
*MESH_FACE 9: A: 6 B: 7 C: 3 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 6 *MESH_MTLID 5
*MESH_FACE 10: A: 2 B: 0 C: 4 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 7 *MESH_MTLID 2
*MESH_FACE 11: A: 4 B: 6 C: 2 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 7 *MESH_MTLID 2
}
Do u know the notation they used here like A AB...
hoping a help Sajuat
"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein
Forum posts: 106
Regards,
Varun
Forum posts: 57
regs
sajuat
"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein