PDA

View Full Version : can i learn opengl with vb6



arkcon
01-28-2004, 11:22 AM
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
thanks

raybones
01-28-2004, 11:27 AM
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

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

soconne
01-30-2004, 05: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.

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

ray

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

arkcon
01-30-2004, 12: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

zix99
02-01-2004, 12: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

-zix