User Tools

Latest Visitors

Topics I've Started

Since I downloaded the VB.net sample of the Lesson 01, I've checked the code and it's not a good rendering context. a Windows.forms.control embedded in a Windows.forms.form with Gdi context. no double buffer, refresh by gdi paint.

Now here is the code I've made.

First the requirements :1) Visual Basic Express 20102) Csgl library

Open Visual Basic Express a start a new project Windows Application.Name it as you like, save it and close it.

now, start a new project library class, Name it OpenGLFrame and paste the code 1 (Below see code 1)

Once you have the code, Build the library.Then add the Windows Application Project to the actual library. (File->Add->Existing Project)Right Click on you Windows Application Project in the project explorer and choose "Set as Startup Project"Go to the references of this Windows Application Project and add a reference to the builded library.Create a button on this Form and paste the code 2 for the button_on_click event (Below see code 2)

That's it

Have Fun

I don't give replies cause I'm still busy developping but I'm glad if it can help some.