I am working on the base of a 3d object renderer. My objects are created in Blender, and exported via some custom python scripts into a file format that I can load.
So far, I set up my glEnables, and all starting states, load the objects into a vertex array, and activate it, index array, position the camera, and then call glDrawElements
But I can see only the clear color I have set.
I have carefully tried disabling culling, keeping the shading model flat, and choosing a color that will contrast.
I have tried it in ortho2d projects, 3d projects, I have tried gluLookAt, etc, etc, etc, and still I see nothing.
My object for testing is a cube, centered at the origin, with 2 units a side.
Can anyone offer any hints for debugging a beast like this? It’s really hard to develop an engine when you can’t get the most basic code working!