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 2 of 2

Thread: OpenGL using Managed C++ and Windows Forms

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4

    OpenGL using Managed C++ and Windows Forms

    Can someone please provide a simple "bouncing box" example of OpenGL using Managed C++ (not C#) and Windows Forms.

    I've recently moved from OpenGL in MFC and trying to get to get to grips with Windows Forms and OpenGL, and would love to have a working example to dissect so I can re-frame my mind. Basically I'm trying to figure out how Windows Forms does it.

    Thanx

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4

    Re: OpenGL using Managed C++ and Windows Forms

    Oh, this was sweet, okay, so its a start. I trawlled the web looking for any wrappers for OpenGL, and came across a couple.

    But I settled on the Tao Framework for .NET (http://www.randyridge.com/Tao/Default.aspx)

    I downloaded the Framework and installed all the dlls as required. And set about creating my first OpenGL enabled windows form application using managed C++.

    And it works just fine. They have a C# example at ( http://www.randyridge.com/Tao/Tutori...mpleIntro.html ), but this is simple enough to convert to C++ so I was able to get up and running in next to no time. And it works.

    Its a start, but I'll be playing around with it for a while but at least now I can concentrate on the opengl as per norm.

Posting Permissions

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