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.
Update: Find the programs on SourceForge.
Here is a simple application using OpenGL that displays the Lament Box with animation of the box opening and closing.
— updated with an MFC application and Source —
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.
This is the Watch 4D program, which is different than the Watch 3D program. Watch 4D includes source.
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.
- Object instances.
- Object Links.
- Object Groups.
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.
The Geodesic program displays shapes of various styles and allows the objects to be examined in various colors and lighting styles. All the object types can be modified with various parameters.
The program can export the objects in OBJ [Wave] format for import into your favorite 3D rendering environment.
Watch3D is an OpenGL program I developed a while ago to import and convert objects.
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.
- Printing is not supported.
The Gemstones program creates gemstone objects of several styles, displays them and exports them for other 3D programs to use.
I am releasing the source in case you would like to learn how it works and modify it. I would appreciate it if you would let me know of any interesting modifications that you make.
Gemstones Program Source.
The Gemstones program displays various gemstone shapes and allow rotation to examine the shapes.
Objects can be saved to OBJ graphic files for import into graphics environments.
The large picture above was created by RayDream 5.5 after importing the shapes. The other pictures were created by screen capture from the program.
Colored lights and White, Black and Gray backgrounds are now available.
To review the gem as it is created:
With Version 2.5, animation is mouse driven rather than keyboard driven. Weren’t you tired of clicking the keys?
To rotate the view, just click on the window and drag with the mouse. Clicking stops any current motion and dragging rotates the view.
To rotate around the Z axis, move drag the cursor near the edges of the window.
To spin the object, release the mouse while still moving. Spin it fast or slow, it keeps the motion it had when you released the mouse.
To zoom the view, use CTRL with the mouse.
To move the view, use SHIFT with the mouse..
- Version 2.9, 16 May 2001, Animation defaults off. Mouse turns on animation when required. Program is much more CPU friendly.
- Version 2.8, 15 April 2001, Startup is much faster. State is saved.
- Version 2.7, 6 April 2001, Correct problem with closing program when minimized.
Programs and images Copyright (c) 2001, Darrell Duffy. Updated: 16 May 2001
Here are some of the gems that this program can create.