I am trying to figure out how to import .obj files generated using Blender into my Pyglet game. There is an importer object, example code, and an example .obj/.mtl file within Pyglet's contrib directory.
The pyglet contrib version works (and is flickery; comment out w.flip
) with the pyglet/contrib .obj/.mtl files. When I try to run it with my .obj and .mtl files I get a blank screen.
Why am I seeing a blank screen instead of my Blender-generated object?
FWIW, here's my test repo.