Verify/test packNormal and packUV (currently not working correctly)
When trying to use the packNormal and packUV functions in the Parser.cpp things are not rendered correctly. The packNormal tries to pack into a 2_10_10_10 bit pattern, The packUV tries to back into a 8_8 bit pattern (GLshort).
Problem is that we don't know if these functions work correctly? In what order does OpenGL unpack these packed values? Something fishy is going on, and we have to gain insight in this somehow.
Temporary fix was to roll back to use only floats, normal 3 floats and uv 2 floats. This is of course not a good long-term solution since packing these floats will save tons of bandwidth.
Packing UV gives 4x less memory usage. Packing normals gives 3x less memory usage. With little to no loss in data.
Edited by Jonas Johan Solsvik