OpenGL Viewer for 3D Models
This program reads, loads and views Wavefront .Obj files in OpenGL environment. To use OpenGL in the program I used the ‘glxCtl’ ActiveX control. This ActiveX control is a library to support higher level routines for OpenGL, handles the setup of OpenGL window and fires various events…. To run this program you need to download two files the ActiveX file ‘glxCtl.ocx v 1.4’ and VBOpenGL type library v 1.2 (VBOpenGL.tlb). You can download ‘glxCtl.ocx v1.4’ from http://home.pacific.net.hk/~edx/bin/glxctl14.zip And the file ‘VBOpenGL.tlb’ from http://home.pacific.net.hk/~edx/bin/vbogl12.zip ( The ActiveX was made by Edx for more information please check his website http://home.pacific.net.hk/~edx/) After you download these files, put them in the ‘System32’ folder under Windows Folder. To use these files in Visual Basic you will need to register them. Registering ‘VBOpenGL.tlb Run visual basic and click on References in the Project Menu, in the Reference window browse for ‘VBOpenGL.tlb’ file and double click it. Registering ‘glxCtl.ocx’ Again in the Project Menu, click on Components, in the Components-Controls window browse for ‘glxCtl.ocx’ and double click it. Now the files are registered and you can run the program, I have included two .obj files (soccerball.obj and table.obj) to demonstrate the program. The class file I developed for reading the .obj files is very efficient and fast. You can draw any model in any CAD environment, and then you should convert the file to .obj file format by using any converter software (e.g. Right Hemisphere’s Deep Exloration Software). To rotate the model on the screen use the arrow keys, PageUP and PageDOWN. Keys ‘Z’ and ‘X’ zooms in and out. I hope the program will be useful. I would appreciate your votes :))
สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload