Login  Register

Re: 3D loaders - 2 questions

Posted by andrewk1972 on Oct 15, 2024; 2:34pm
URL: https://forum.jogamp.org/3D-loaders-2-questions-tp4043577p4043586.html

Tried that and it didn't make any difference...

Then I realised the "unrecognised token" error in the exception is the offending line in the OBJ file...
It appears the "unrecognised token" is the "o" at the beginning of the line.
So I commented out the line beginning with "o" and hey presto...
The model displays!

Note that I don't think the MTL file is being used. Indeed most of the models have no MTL file...