Original Post
I took this really simple example of a program that just loads an .obj file and displays it, it apparently works except an error thrown when loading the object file. This is the question I have, is the built-in .obj loader good enough? Because it failed on several files I tried. It worked on an empty file and produced a black window :). It didn't work on a very simple file, giving this error: "[blah blah blah] Expected number on line 4". Here is the .obj file contents: v 0.0 0.0 0.0 v 0.0 1.0 0.0 v 1.0 0.0 0.0 f 1 2 3 And on any file, more complex than the one above (all of those I tried I have taken them from sites with tutorials and examples, so they must have been valid... at least ONE of them), the execution would just hang on loading the file (that was my guess). I don't get it. Also there was another error Java returned when loading an .obj that had some keywords regarding materials... something like matlib default... Is the built-in loader so disastruous I should begin by writing my own one? Or what am I doing wrong?