Objloader version 014 up on google code
Now with VBO!
One piece of advice for all who come after me. When dealing with arrays in opengl, remember that the stride of an array IS IN BYTES. That's right F**KING BYTES. One Float is 4 bytes. to get to the second element in a float array you need to skip 4 bytes. Motherfu----.
Seriously I spent about 8 hours on that bug. Just another example of information so common knowledge I knew nothing about it. Opengl you are a fickle mistress.
mattD
Labels: library, obj, processing
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home