We are finally back to working on AGE; picking up where we left off, the OBJ loader.
There's not much documentation on the format, but it's that simple! The current state of implementations is pretty sorry with respect to Garbage Generation; ArrayList<Float>
is a path to ruin, even for a small model. There's that, then there's use of some parser like StringTokenizer
or worse yet, Scanner
! We looked at the Java 7 source, there's lots of stuff in there!
Since one of our top goals is to avoid inducing GC, a better implementation is warranted. So let's go over what we absolutely cannot have in the implementation: