org.jagatoo.loaders.models.bsp
Class BSPPrototypeLoader

java.lang.Object
  extended by org.jagatoo.loaders.models.bsp.BSPPrototypeLoader

public class BSPPrototypeLoader
extends java.lang.Object

Loads the Quake 3 BSP file according to spec. It is not expected that it would be rendered from this data structure, but used to convert into a better format for rendering via Xith3D.

Author:
David Yazel, Marvin Froehlich (aka Qudus), Amos Wenger (aka BlueSky)

Field Summary
protected static java.lang.Boolean DEBUG
           
 
Constructor Summary
BSPPrototypeLoader()
           
 
Method Summary
static BSPScenePrototype load(java.io.InputStream in)
          Loads the BSP scene prototype.
static BSPScenePrototype load(java.lang.String filename)
          Loads the BSP scene prototype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final java.lang.Boolean DEBUG
Constructor Detail

BSPPrototypeLoader

public BSPPrototypeLoader()
Method Detail

load

public static BSPScenePrototype load(java.io.InputStream in)
                              throws java.io.IOException,
                                     IncorrectFormatException,
                                     ParsingErrorException
Loads the BSP scene prototype.

Throws:
java.io.IOException
IncorrectFormatException
ParsingErrorException

load

public static BSPScenePrototype load(java.lang.String filename)
                              throws java.io.IOException,
                                     IncorrectFormatException,
                                     ParsingErrorException
Loads the BSP scene prototype.

Throws:
java.io.IOException
IncorrectFormatException
ParsingErrorException