3DS Loaders ?

Login to reply to this topic.
Thu, 2005-06-02 08:43
Joined: 2005-01-24
Forum posts: 57
Hi,
Is there any 3ds Loaders for OPENGL ES if yes where can i get it...thanking in advance
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


Tue, 2005-06-07 10:30
Joined: 2004-05-23
Forum posts: 115
Re: 3DS Loaders ?
Tue, 2005-06-07 11:12
Joined: 2005-01-24
Forum posts: 57
Re: 3DS Loaders ?
hi,

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

Wed, 2005-06-08 12:27
Joined: 2004-05-23
Forum posts: 115
Re: 3DS Loaders ?
Quote from: sajuat
hi,

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

Fri, 2005-06-10 06:53
Joined: 2005-01-24
Forum posts: 57
Re: 3DS Loaders ?
can i get some sample code or some tuts for 3d model loading from openGl site?..

"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

Sun, 2005-06-12 14:53
Joined: 2004-05-23
Forum posts: 115
Re: 3DS Loaders ?
Sun, 2005-06-12 21:29
Joined: 2003-10-08
Forum posts: 106
Re: 3DS Loaders ?
Quote
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  Wink) .. 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.

HTH! Happy Rasterizing!  Grin

Regards,
Varun

Mon, 2005-06-13 10:05
Joined: 2005-01-24
Forum posts: 57
Re: 3DS Loaders ?
Hi
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

Mon, 2005-06-13 13:01
Joined: 2005-01-24
Forum posts: 57
Re: 3DS Loaders ?
Hi Sergd
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

Mon, 2005-06-13 13:33
Joined: 2003-10-08
Forum posts: 106
Re: 3DS Loaders ?
Tue, 2005-06-14 06:51
Joined: 2005-01-24
Forum posts: 57
Re: 3DS Loaders ?
thanks

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

  • Login to reply to this topic.