com.vwp.j3d.loaders
Class OBJObjects
java.lang.Object
java.lang.Thread
com.vwp.j3d.loaders.Objects
com.vwp.j3d.loaders.OBJObjects
- All Implemented Interfaces:
- Runnable
public class OBJObjects
- extends Objects
This class is a loader for Alias/WaveFront OBJ 3D models.
| Fields inherited from class com.vwp.j3d.loaders.Objects |
ALLOW_ATTRIBUTES_READ, ALLOW_COLOR_WRITE, ALLOW_MATERIAL_COMPONENT_WRITE, ALLOW_MATERIAL_READ, ALLOW_POLYGONATTRIBUTES_MODE_WRITE, ALLOW_TEXTURE_ACCESS, ALLOW_TRANSFORM_WRITE, FASTEST, MEDIUM, MyMsgPipe, NICEST, Quality, TextureQuality, UserData |
|
Constructor Summary |
OBJObjects(int Quality,
double imgScaleFactor)
Constructs a new OBJObjects loader class without an DownloadCacheManager
and with the default texture searchpath "tex/" |
OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache)
Constructs a new OBJObjects loader class with an DownloadCacheManager
and with the default texture searchpath "tex/" |
OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath)
Constructs a new OBJObjects loader class with an DownloadCacheManager
and a texture searchpath |
OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath,
Object UserData)
Constructs a new OBJObjects loader class with an DownloadCacheManager
and a texture searchpath |
OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath,
String RelativeDataPath,
Object UserData)
Constructs a new OBJBranchGroupObjects loader class with an DownloadCacheManager
and a texture searchpath |
| Methods inherited from class com.vwp.j3d.loaders.Objects |
createAppearance, getCapabilityFlags, getDataFile, getFileName, getQuality, getTransformList, getUserData, loadDataFile, loadFile, loadFile, loadFile, loadFileInBackground, run, setCapabilityFlags, setDownloadCacheManager, setMessagePipe, setQuality, setRelativeTexturePath, setTexture, setTextureQuality, setUserData, stopThread |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
OBJObjects
public OBJObjects(int Quality,
double imgScaleFactor)
- Constructs a new OBJObjects loader class without an DownloadCacheManager
and with the default texture searchpath "tex/"
- Parameters:
Quality - quality setting for all subsequent objectsimgScaleFactor - specifies by which the textures have to be prescaled,
values > 0.0 and <= 1.0 are meaningful here to save graphics memory
on systems with less powerful hardware
OBJObjects
public OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache)
- Constructs a new OBJObjects loader class with an DownloadCacheManager
and with the default texture searchpath "tex/"
- Parameters:
Quality - quality setting for all subsequent objectsimgScaleFactor - specifies by which the textures have to be prescaled,
values > 0.0 and <= 1.0 are meaningful here to save graphics memory
on systems with less powerful hardwareOBJDownCache - specifies a caching manager object which handles
caching of OBJ objects which are downloaded from network and not
directly from a local disk
OBJObjects
public OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath)
- Constructs a new OBJObjects loader class with an DownloadCacheManager
and a texture searchpath
- Parameters:
Quality - quality setting for all subsequent objectsimgScaleFactor - specifies by which the textures have to be prescaled,
values > 0.0 and <= 1.0 are meaningful here to save graphics memory
on systems with less powerful hardwareOBJDownCache - specifies a caching manager object which handles
caching of OBJ objects which are downloaded from network and not
directly from a local diskRelativeTexturePath - specifies where textures of downloaded OBJ
objects can be found relative to the location of the object, default
is "tex/"
OBJObjects
public OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath,
Object UserData)
- Constructs a new OBJObjects loader class with an DownloadCacheManager
and a texture searchpath
- Parameters:
Quality - quality setting for all subsequent objectsimgScaleFactor - specifies by which the textures have to be prescaled,
values > 0.0 and <= 1.0 are meaningful here to save graphics memory
on systems with less powerful hardwareOBJDownCache - specifies a caching manager object which handles
caching of 3D objects which are downloaded from network and not
directly from a local diskRelativeTexturePath - specifies where textures of downloaded 3D
objects can be found relative to the location of the object, default
is "tex/"UserData - special user data which are appended to the new object
OBJObjects
public OBJObjects(int Quality,
double imgScaleFactor,
DownloadCacheManager OBJDownCache,
String RelativeTexturePath,
String RelativeDataPath,
Object UserData)
- Constructs a new OBJBranchGroupObjects loader class with an DownloadCacheManager
and a texture searchpath
- Parameters:
Quality - quality setting for all subsequent objectsimgScaleFactor - specifies by which the textures have to be prescaled,
values > 0.0 and <= 1.0 are meaningful here to save graphics memory
on systems with less powerful hardwareOBJDownCache - specifies a caching manager object which handles
caching of XBranchGroup objects which are downloaded from network and not
directly from a local diskRelativeTexturePath - specifies where textures of downloaded XBranchGroup
objects can be found relative to the location of the object, default
is "tex/"RelativeDataPath - specifies where special data like animation information,
material libs etc. for the downloaded 3D objects can be found relative
to the location of the object, default is "dat/"UserData - special user data which are appended to the new object