de.jreality.reader
Class ParserMTL

java.lang.Object
  extended by de.jreality.reader.ParserMTL

public class ParserMTL
extends Object

simple parser for mtl file format. returns an appearance-array with attributes set from the given .mtl file.

Author:
weissman

Field Summary
static Appearance defaultApp
           
 
Constructor Summary
ParserMTL(Input input)
           
 
Method Summary
static Appearance getDefault()
           
 List load()
           
static List readAppearences(Input mtlInput)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultApp

public static Appearance defaultApp
Constructor Detail

ParserMTL

public ParserMTL(Input input)
Method Detail

readAppearences

public static List readAppearences(Input mtlInput)
                            throws IOException
Throws:
IOException

getDefault

public static Appearance getDefault()

load

public List load()