Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: OpenGL & PowerPlant

  1. #1
    Guest

    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.

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    18

    Re: OpenGL & PowerPlant

    Just use a standard view. Then set the Drawable to the views value of GetMacPort(). That's it. Nothing tricky
    W-E-R-D

  3. #3
    Intern Newbie
    Join Date
    Sep 2001
    Location
    Pacifica, California, USA
    Posts
    30

    Re: OpenGL & PowerPlant

    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.

  4. #4
    Junior Member Newbie
    Join Date
    Nov 2001
    Location
    Toronto, Canada
    Posts
    2

    Re: OpenGL & PowerPlant

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •