org.gljava.opengl.model
Class ModelViewer
java.lang.Object
org.gljava.opengl.model.ModelViewer
public class ModelViewer
- extends java.lang.Object
ModelViewer program to facilitate viewing models stored in gljava (.xml) format.
- Version:
- $Id: ModelViewer.java,v 1.1 2005/02/10 04:18:42 ivan_ganza Exp $
- Author:
- Ivan Z. Ganza
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
framebuffer
static SDLSurface framebuffer
gl
static GL gl
mesh
static Mesh mesh
zoom
static float zoom
ModelViewer
public ModelViewer()
init
public void init()
throws SDLException
- Throws:
SDLException
destroy
public void destroy()
loadAndShowModel
public void loadAndShowModel(java.lang.String path)
throws java.io.IOException,
java.io.FileNotFoundException,
JDOMException
- Throws:
java.io.IOException
java.io.FileNotFoundException
JDOMException
main
public static void main(java.lang.String[] args)