com.vwp.j3d.loaders
Class RWXObjects

java.lang.Object
  extended by java.lang.Thread
      extended by com.vwp.j3d.loaders.Objects
          extended by com.vwp.j3d.loaders.RWXObjects
All Implemented Interfaces:
java.lang.Runnable

public class RWXObjects
extends Objects

This class is a loader for RenderWare RWX 3D models.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
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
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RWXObjects(int Quality, double imgScaleFactor)
          Constructs a new RWXObjects loader class without an DownloadCacheManager and with the default texture searchpath "tex/"
RWXObjects(int Quality, double imgScaleFactor, DownloadCacheManager RWXDownCache)
          Constructs a new RWXObjects loader class with an DownloadCacheManager and with the default texture searchpath "tex/"
RWXObjects(int Quality, double imgScaleFactor, DownloadCacheManager RWXDownCache, java.lang.String RelativeTexturePath)
          Constructs a new RWXObjects loader class with an DownloadCacheManager and a texture searchpath
RWXObjects(int Quality, double imgScaleFactor, DownloadCacheManager RWXDownCache, java.lang.String RelativeTexturePath, java.lang.Object UserData)
          Constructs a new RWXObjects loader class with an DownloadCacheManager and a texture searchpath
RWXObjects(int Quality, double imgScaleFactor, DownloadCacheManager RWXDownCache, java.lang.String RelativeTexturePath, java.lang.String RelativeDataPath, java.lang.Object UserData)
          Constructs a new RWXBranchGroupObjects loader class with an DownloadCacheManager and a texture searchpath
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RWXObjects

public RWXObjects(int Quality,
                  double imgScaleFactor)
Constructs a new RWXObjects loader class without an DownloadCacheManager and with the default texture searchpath "tex/"

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - 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

RWXObjects

public RWXObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager RWXDownCache)
Constructs a new RWXObjects loader class with an DownloadCacheManager and with the default texture searchpath "tex/"

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - 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
RWXDownCache - specifies a caching manager object which handles caching of RWX objects which are downloaded from network and not directly from a local disk

RWXObjects

public RWXObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager RWXDownCache,
                  java.lang.String RelativeTexturePath)
Constructs a new RWXObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - 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
RWXDownCache - specifies a caching manager object which handles caching of RWX objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded RWX objects can be found relative to the location of the object, default is "tex/"

RWXObjects

public RWXObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager RWXDownCache,
                  java.lang.String RelativeTexturePath,
                  java.lang.Object UserData)
Constructs a new RWXObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - 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
RWXDownCache - specifies a caching manager object which handles caching of 3D objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - 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

RWXObjects

public RWXObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager RWXDownCache,
                  java.lang.String RelativeTexturePath,
                  java.lang.String RelativeDataPath,
                  java.lang.Object UserData)
Constructs a new RWXBranchGroupObjects loader class with an DownloadCacheManager and a texture searchpath

Parameters:
Quality - quality setting for all subsequent objects
imgScaleFactor - 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
RWXDownCache - specifies a caching manager object which handles caching of XBranchGroup objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - 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