JRevolve - a 3D Java application using OpenGL

Last modified: .

This program is a port from the Visual C++/MFC app glVisualizer, I wrote for another graphics class. JRevolve takes an outline and revolves it with a dynamic update to the 3D view. JRevolve is still incomplete although it's main functions are implemented. It still needs an options dialog to customize some rendering options, and some internal algorithm changes in the OpenGL code. Code has been added to save and open the outline as a file via Java's object serialization. Only File - Open and Save As, works for now. This latest version has been cleaned up and uses Swing 1.0.1 with Magician beta 3.

Usage

To run JRevolve, you must have the Swing 1.0.1 (JFC), Magician Beta 3 and OpenGL installed. Magician supports Windows95 and Linux platforms and has links to the required OpenGL libraries. Make sure that the zip file, "JRevolve.zip" is in the CLASSPATH. In the MSDOS prompt (under Win95) type set CLASSPATH=%CLASSPATH%;.\JRevolve.zip.To start the application, invoke java JRevolve. The outline drawing methods are by adding point by clicking or by clicking and dragging the mouse. To delete a point, use the delete key or Delete Last from the Edit Menu. The other drawing modes (Insert, Move, Delete) have not been implemented yet. Notice that the 3D View is continually updated as the outline changes. The 3D View can be manipulated with mouse drags to present a different orientation of the 3D object. You can also cap the first and last points and or join them, under the Edit menu.

JRevolveSource.zip - . Source files for JRevolve.

JRevolve.zip - . The class files in a zip.



e-mail:wingkeonxxxerasethisxxx@ecst.csuchico.edu

Back to home