View Full Version : can i learn opengl with vb6

01-28-2004, 12:22 PM
how can i learn opengl with vb6
and how many files in opengl
can any one say to me how can i start with opengl and vb6
please i verey need it

01-28-2004, 12:27 PM
of course, you can. you already have all that you need - vb6 and Win has oGL libraries included. Just use these headers: gl/gl.h, gl/glu.h - it should be enough at the begin. Do I must say about any book? http://www.opengl.org/discussion_boards/ubb/wink.gif

01-29-2004, 10:24 AM
thanks alot
u r greate

01-30-2004, 06:07 AM
First of all, you CANNOT use the opengl header files with VB6. You have to load a custom opengl library into VB when you set up your project and then reference the opengl functions through that. Just go to nehe.gamedev.net and download the tutorials in VB format and you can learn from those how to set everything up.

The one thing I do not like about opengl and vb, is that you cannot use extensions in vb because vb doesn't support pointers. So you cannot perform multitexuring or any other arb extension.

01-30-2004, 08:16 AM
sorry Arkcon, I've must been tired, that I written those stupidity... I thought about visual c++ studio, not visual Basic...


[This message has been edited by raybones (edited 01-30-2004).]

01-30-2004, 01:30 PM
after i was setup opengl by microsoft and sgi
how can i draw
i know about function like box but don't work with me

02-01-2004, 01:34 PM
I program OpenGl in VB6 all the time, and it works fine... I started to learn here (http://is6.pacific.net.hk/~edx/contents.htm) it's a good site.

After that I would recommend NeHe