I’ve done a lot of OpenGL work in Java using JOGL and in Maya using their API, but this is the first time I’ve ever tried creating a project from scratch using Visual Studio Express 2010.
I’d like to write a Hello World program using Windows Forms where I:
- Create a control that I can draw to with OpenGL
- Add the control to my form
- Use OpenGL to clear the background and draw a triangle
I’d like to have the OpenGL area be a control within my form so that I can easily add other controls for user input and display.
I’m finding most of what I find on Google to be out of date and/or confusing. Is there an easy way to write my Hello World program?