3ds loader , obj loader

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
spidersharma
Posts: 50
Joined: Thu Aug 13, 2009 7:16 am
Location: India

3ds loader , obj loader

Post by spidersharma »

Hi,

I have recently started looking at the Irrlicht engine. I was quite impressed with its features and ease of use.
I first stareted with a 3ds loader and tried to load "iron.3ds" using irrlichts library.
But to my disappointment the model didnt load properly at all.
I mean it loaded and got rendered but it didnt match what we see in the 3ds max software.
Similarly I also tried several other 3ds models. Some of them worked but many failed.
I finally decided to see the code and found that it is not a complete 3ds loader at all.
Many of the important chunks are missing.(like father chunk which determines the hierarchy of sub objects int the model).
In fact I have myself a very matured 3ds loader which can handle almost any 3ds model perfectly.
May be I am wrong as I am new to this community.
Please advise.

Thanks & Regards

Prashnt sharma
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That's correct, the 3ds loaders is far from being complete. But since it's also a very complex and (up to some point) also rather undocumented format we did not invest too much work into this loader. Maybe you want to add some things to it? We wouldn't bother to integrate some features.
spidersharma
Posts: 50
Joined: Thu Aug 13, 2009 7:16 am
Location: India

3ds , obj loader

Post by spidersharma »

hybrid wrote:That's correct, the 3ds loaders is far from being complete. But since it's also a very complex and (up to some point) also rather undocumented format we did not invest too much work into this loader. Maybe you want to add some things to it? We wouldn't bother to integrate some features.
Thanks for the very quick reply.
At present I am having a 3ds loader and obj loader which can load any 3ds/obj model.
For 3ds format Keyframe animations/ smooth groups/copy meshes/father child hierarchy/mesh flip/BBox/Normal generation/Texture coordinate/ etc are handled.
But the code was written in java for a java3d application, hence it uses so many java/java3d specific libraries.
I will definitely try to port it to the irrlicht engine.

:)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, our obj loader should be also quite complete, but for 3ds it would be really useful to get e.g. the hierarchy and transformations support, keyframe would be the next step then. For smoothing groups there's a patch which has not yet been commited.
Post Reply