Hi,

I try to load a 3ds file generated by Blender (which uses lib3ds actually
if I'm not wrong) in a software I write using lib3ds. It appears that the
file->nodes is NULL. So nothing can be drawn. That's strange because with
3dsdump I get some nodes. I have no problem in my software with 3ds from
other sources (as far as I know).
Is it because I have no Camera or no light in the file ? I don't think so.
The file is really loaded (lib3ds_file_load, and even lib3ds_file_eval)
because there are the materials in file->materials and the meshes in
file->meshes. Maybe I missed something in my code. It's possible though
I'm new to this library.

You can have a look at the 3ds file at
http://dungeondigger.free.fr/divers/dummy.3ds

The code is on
http://dungeondigger.cvs.sourceforge.net/dungeondigger/digger/
files include/Model.hpp and src/Model.cpp

If you have some advices...

Thanks


-- 
Tom


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to