all about me
This site's special...
Chat
Mesh Demo
Dakon Master
Expression Evaluator
Free downloads
Weblog
Links
GuestBook
Site Map
Back to the Main Page
Search this site
MeshDemo

Displays and renders 3D polygon meshes in either wireframe, flat, Gouraud or Phong modes.

The program takes input in a text file containing a series of objects specifying the 3D world to display. The primary object type is the polygon mesh which are bound to a coordinate system and can be transformed using solid-state stransformations (that does not change the shape of the object: rotation and translation) which light objects shine on them and finally projected onto the viewport.

It originates as a series of assignments in computer graphics course. The course was to gradually implement 3D rendering incrementally, from wireframe, flat (constant- illumination), to Gouraud, and Phong models.

Now I release the program with full source code, licensed with the Gnu GPL so that it can benefit other students studying computer graphics and so that the program can be improved and extended.

Java LogoThe program is implemented as a Java applet which requires the Java 2 plugin installed and configured on your browser. If you don't have the plugin, you can download it from the Java website. Since not everyone has (or willing to install) the Java 2 plugin, only the images of the applets are given here; click the image to run the applet. If you get the "unknown render mode" error when loading a file, try disabling the JAR cache as your Java plugin may have loaded the wrong file. On Win32 systems this is located in Control Panel -> Java Plug-in -> Basic; clear the Cache JARs in memory check box.

Applet Screenshot


The program can be run as an applet or as an application. The applet can only load files which are specified in the HTML file as PARAM tags. While the application can load any metafile located on the local system.

It uses the Jama matrix library Copyright(C) The MathWorks and The National Institute of Standards and Technology (NIST). Jama is available at http://math.nist.gov/javanumerics/jama/

The source code, prepackage binary and full javadoc documentation is available for download.

MeshDemo
PlatformJava 2/Swing
Language English
Year2001
Download meshdemo-0.5.2.tgz (275K)


Copyright © Sasmito Adibowo, 1997-2001.
Last update on July 22, 2001.