I would suggest using OpenGL to render 3D objects in VB. OpenGL is easier to learn than DirectX, but it is not as fast. However, there are some good sites providing tutorials and samples. You would be most interested in Texture Mapping samples (a bitmap wrapped around a 3D object).
A good place to start is here:
"Programming OpenGL with Visual Basic"
http://is6.pacific.net.hk/
You will probably need to download the OpenGL support DLLs which can be found at this site. There are also tutorials and samples, especially note the Texturing samples link.
Good luck!
Main Topics
Browse All Topics





by: l99057jPosted on 2000-12-29 at 07:39:51ID: 56386
Hi, Benjy. There are about 10 different approaches to this one so we need a little more info to choose the most appropriate one.
Is this a game or a business app (like a manufacturing prog where you need to see some part or component in 3d.) Will it run windowed, full-screen, or both? Do you just need to see the object from pre-set angles (0, 90, 180, 270) or from any angle the user selects? Is this the only object, or will you be using this code to show any number of objects? Will you need to zoom in/out on the object?
As you can see, the most efficient answer is dependent on a lot of factors. Tell me more... it sounds interesting.