OpenGL & PowerPlant

Is there any implementation of a PowerPlant pane that would be an OpenGL (AGL) drawable ?
The only implementation I found was not compatible with OSX.

Just use a standard view. Then set the Drawable to the views value of GetMacPort(). That’s it. Nothing tricky

Originally posted by zoldar256:
Just use a standard view. Then set the Drawable to the views value of GetMacPort(). That’s it. Nothing tricky

My code at http://www.cokenias.org/opengl/ will get you 90% of the way there. It shows how to set up an OpenGL context given a GrafPtr and a rectangle. Feel free to steal it.

If you tried OpenGL Pane on the metrowerks site, your right - it doesn’t work.

I did manage to build my own implementation that works fine under X, but i havn’t tested it under 9. Email me if you want more info : tod_baudais@mac.com

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.