org.gljava.opengl.model
Class ModelViewer

java.lang.Object
  extended by 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

Field Summary
(package private) static SDLSurface framebuffer
           
(package private) static GL gl
           
(package private) static Mesh mesh
           
(package private) static float zoom
           
 
Constructor Summary
ModelViewer()
           
 
Method Summary
 void destroy()
           
 void init()
           
 void loadAndShowModel(java.lang.String path)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

framebuffer

static SDLSurface framebuffer

gl

static GL gl

mesh

static Mesh mesh

zoom

static float zoom
Constructor Detail

ModelViewer

public ModelViewer()
Method Detail

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)