View Full Version : 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.
zoldar256
01-01-2002, 03:54 PM
Just use a standard view. Then set the Drawable to the views value of GetMacPort(). That's it. Nothing tricky
Damon
01-06-2002, 09:53 AM
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.
tod_baudais
01-07-2002, 03:58 AM
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.