12-17-2001, 03:27 AM
Am I right in assuming that Visual Basic only supports DirectX?
I have had a look arround an no where do I find any information on programming OGL in VB.
12-17-2001, 03:35 AM
I think you mean OpenGL when referring to OGL:
Just did a search with Google (http://www.google.com/search?sourceid=navclient&q=opengl+visual+basic) and it came up with this site (http://is6.pacific.net.hk/~edx/contents.htm)
Also try the OpenGL (http://www.opengl.org/developers/code/samplecode.html) homepage itself.
added extra link
12-17-2001, 04:16 AM
Visual Basic doesn't support either specifically...
DirectX has visual basic libraries so you can use it in VB, and I think OpenGL has several ways made so that you can use it from VB. However, for OpenGL you might as well use C.
12-17-2001, 11:19 AM
With DirectX, you benefit from the fact that Microsoft wrote DirectX, and they also wrote VB, so importing DX into VB is relatively easy. However, with OpenGL you have to rely on 3rd party DLLs and TLBs, unsupported and with little or no documentation. Plus, there are also a lot less OpenGL coders in VB, but hundreds of DX coders. Like divil said, if you want to learn OpenGL, go learn C or C++, but seriously speaking, DirectX is more game-orientated, so I would choose that anyway images/icons/tongue.gif
12-17-2001, 11:54 AM
I'd choose OpenGL every time, but then again, I wouldn't write anything 3D in VB to begin with :)
12-17-2001, 03:10 PM
IMHO OpenGL is more business and professional application orientated, but DirectX is more game orientated. I base this on the fact that DirectX not only includes graphics, but also sound, music, input, and multiplayer. In the past OpenGL was considered better than DirectX performance wise, but more recently the gap has been significantly reduced. I dont see anything wrong with using VB for 3D stuff, apart from the slow math speed inherent in the language. Thankfully with DirectX you can take the load off the processor and the poor speed of VB, and let the graphics hardware do the work for you, which means more FPS all round.