Login  Register

Re: 3D loaders - 2 questions

Posted by jfpauly on Nov 07, 2024; 5:55pm
URL: https://forum.jogamp.org/3D-loaders-2-questions-tp4043577p4043609.html

I got the same problem some years ago with obj files.
I have changed two files in the package, Object file and ObjectFileMaterials. Now the loader works.
These files are in a SourceForge project called Cliper. I suggest you dowload Cliper and use import with some files for test.
If it works for you and you want to include the changed code in your own we could do :

*  you load the project Netbeans file and get the code. I tell you where changes are.

* if you cannot use Netbeans I can send changed pieces of code.

* I know that the best way is bringing the project to Git. I should do that, for sure.

To load 3DS files I do the next steps :

Concert 3ds to c3d using 3ds2java.exe. from Pieter Bos.
3ds file is first converted to c3d file and loaded.

So, again, you can ask for changed code or wait for Cliper in Git
I hope this helps.
regards
jf Pauly