Search code examples
openglsyntaxspy++

Spy++-like tool for OpenGL render trees


is anybody here aware of a Spy++-like tool which lets me visualize the object tree of graphical elements in an OpenGL scene? If possible (Spy++ lets you do this), it would be great if the tool didn't require support being built into the application.

I'm not too familiar with OpenGL yet, but maybe what I'm after is a view on the tree structure of the render tree in an OpenGL scene.


Solution

  • Once the geometry hits OpenGL it's just a big pile of triangles. Any sort of scenegraph is (mostly) lost. You might have some luck looking at the glPush/PopMatrix() sequences from a GLIntercept dump, but that's assuming the app doesn't maintain transform state itself.