PDA

View Full Version : A few questions relating to OpenGL, C++ and VB



adityagaddam
10-24-2002, 02:36 AM
HI,

I am currently working on a game engine in OpenGL. I am programming it in VC++. Here are my questions.

1. Can I make some sort of a dll or group of dll with all the OpenGL code and load it into VB and then use the Engine to Render to a VB Form?

2. If I use normal C++ or C++ without Winmain but with the main(), can I program in OpenGL and if so, would the engine and the game ultimately be multiplatform?

Thanks a Lot,
Aditya Gaddam

mindcontroler
10-24-2002, 04:01 AM
I can't answer your first question... but for question#2 try using GLUT, you can use main() and (try to)keep your code platform independent... you can also rapidly create OGL environment using GLUT

Hazem_vb
10-24-2002, 05:56 PM
You can use opengl in visual basic very

easily you must first have (vbogl.tlb)

you will find it in that excellent site .

rgpc
10-24-2002, 07:05 PM
Originally posted by Hazem_vb:
You can use opengl in visual basic very

easily you must first have (vbogl.tlb)

you will find it in that excellent site .

Ah.. Stealth link.... http://www.opengl.org/discussion_boards/ubb/biggrin.gif

You can get the tlb for 1.2 from...
http://is6.pacific.net.hk/~edx/tlb.htm

adityagaddam
10-25-2002, 05:14 PM
thanks guys...

-Aditya