Problem with materials loading in OBJ files

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with materials loading in OBJ files

unixnerd
I've had what's maybe a bug in 1.5.2 and it's the same under 1.7. When I load OBJ files using the ObjectFile loader most of the materials don't load, so I'm missing colours. If I load the same OBJ file with MeshLab it's fine.

Has anyone else experienced this? mtl and obj files are in the same directory, it gets some colours so it must be reading it. Have tried with quite a few OBJ files from different sources.

Thanks for any advice :-)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with materials loading in OBJ files

gouessej
Administrator
Hello

Maybe try some other Java engines (JogAmp's Ardor3D Continuation, ...) or frameworks (LibGDX, ...) so that we have something to compare with what Java3D does.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with materials loading in OBJ files

philjord
Can you upload an obj file that shows this behavior and I'll take a look?
(Use the more option in the Message editor)
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Problem with materials loading in OBJ files

jfpauly
In reply to this post by unixnerd
This is a late reply but if it can help...
I suggest you to try the following :
Goto to Sourceforge Cliper project and download newobjectfile folder.
Then follow instructions in readme file.
You will get a package with modified code.
Please tell me the results.
I know that I have to learn GitHub if this code was to be merged in official package. I will, sure.
But in the mean time you can try that
Regards
Jf Pauly