DirectX & 3DS file parsers

Blitz3D Forums/Blitz3D Beginners Area/DirectX & 3DS file parsers

Moraldi(Posted 2008) [#1]
Are there anywhere?
I searched in archives but I didn't find something


Dreamora(Posted 2008) [#2]
there are only very few ... look for C based ones, there are a few.

Why would you need one given that Blitz3D loads anything from 3DS thats supported at all.


Moraldi(Posted 2008) [#3]
Your question is very logical.
I need to check before for some model properties such as model size, if it contains animations etc. before proceed with the built in commands...
I will use these parsers to my C++ code (I will convert Blitz code if there are any)
I am using Blitz3D SDK and I don't know if I can mix it with the com model of DirextX SDK...


IPete2(Posted 2008) [#4]
Hiya Moraldi,

Maybe the man you need to speak to is John Blackledge. He created an excellent application which I think uses some form of mesh checking in order to load a whole variety of mesh type and formats.

Regads,

Peter.


Moraldi(Posted 2008) [#5]
Oh! thanks IPete2, but finally I managed to read all the necessary information thanks to the Blitz3D SDK.
Just for your info:
bbAnimLength (in SDK) is 'better' then AnimLenght (B3D)
The first one returns -1 for a static meshes but AnimLenght returns a positive number.
In both cases (static or animated model) first you must call LoadAnimMesh function.

Edit: This is not true for .X or .3DS models. I am sorry for wrong information