This is a port of the Hellraiser box to Qt / KDE / Kdevelop on SUSE 10.1.
To run the program, use fileroller to unpack the file in a directory and then run the program. The image files must be in the same directory as the program. The instructions are essentially the same as for the Windows Version.
Hellraiser Lament Box Program
The sources are provided here. They are built using KDevelop 3.3.5 and Qt.
Hellraiser Lament Box Sources
There are links in the debug and optimize src directories that point back to the images in the src directory. These may have to be remade after you unpack the archive since links are not relative.
Linux program port of Gears for OpenGL begins to work. Not complete, but mostly functioning.
A part of the Geodesic program for WIN MFC and OpenGL has been ported to Linux / KDevelop / Qt / OpenGL. It creates and displays a gear object and there are many parameters to change the shape of the gear. The program will be able to export OBJ or POV files of the shape of the gear. It can serve as a complex tutorial of using OpenGL and many other features of
the KDE and Qt frameworks. Continue reading “Gears OpenGL for Linux”
Watch4D is a program to investigate the importation of 3DS files supporting several issues that are problematic for almost all other 3DS importers.
Pivots that are translated or rotated.
Watch4D is a modification of a program from elsewhere on this site called Watch3D. That program is unavailable for distribution in source form since it uses the CrossRoads library which is only available with a book.
Watch4D is based on open source code from CrystalSpace, and my own researches, so the source can be shared.
Crossroads is a graphics library described in “3D Graphics File Formats” by Keith Rule. Published by Addison-Wesley Developers Press, 1996. There is an enhancement to the library on the web circa 1998.
Crossroads provides a very complete infrastructure for 3D graphics based on the VRML model of objects. There are input and output routines for about a dozen file formats.
Watch3D User Interface
Watch3D provides an OpenGL user interface to display objects as well as modify them. The view object code is distantly based on OpenGL example code by Ron Fosner, 1996.
The toolbar items from left to right are:
New file. Clears to the default torus object.
Open a file. Calls Crossroads conversion routines. Not completely tested. 3DS, OBJ and DXF files have been used extensively. Materials are not correctly imported with DXF files.
Save file. Only Save As is supported. 3DS, OBJ and DXF have been used.
Details. Display the details dialog.
Animate. Spin the object. Animate need not be used to just move the object. Use SHIFT to move and CTRL to zoom. With Animate selected, release the mouse while the object is moving to give it a spin.
Use OpenGL display lists. May significantly speed things up. Create a display list when the object changes and then use this display list instead of creating OpenGL commands for every frame.