public class ObjLoader extends java.lang.Object implements StillModelLoader
| Constructor and Description |
|---|
ObjLoader() |
| Modifier and Type | Method and Description |
|---|---|
StillModel |
load(FileHandle handle,
ModelLoaderHints hints) |
StillModel |
loadObj(FileHandle file)
Loads a Wavefront OBJ file from a given file handle.
|
StillModel |
loadObj(FileHandle file,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle.
|
StillModel |
loadObj(FileHandle file,
FileHandle textureDir,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle.
|
public StillModel loadObj(FileHandle file)
file - the FileHandlepublic StillModel loadObj(FileHandle file, boolean flipV)
file - the FileHandleflipV - whether to flip the v texture coordinate (Blender, Wings3D, et al)public StillModel loadObj(FileHandle file, FileHandle textureDir, boolean flipV)
file - the FileHandletextureDir - flipV - whether to flip the v texture coordinate (Blender, Wings3D, et al)public StillModel load(FileHandle handle, ModelLoaderHints hints)
load in interface ModelLoaderload in interface StillModelLoader