com.vwp.j3d.loaders
Class COBObjects

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

public class COBObjects
extends Objects

This class is a loader for Caligari TrueSpace 3D models (.cob files) and scenes (.scn files).


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, 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
COBObjects(int Quality, double imgScaleFactor)
          Constructs a new COBObjects loader class without an DownloadCacheManager and with the default texture searchpath "tex/"
COBObjects(int Quality, double imgScaleFactor, DownloadCacheManager COBDownCache)
          Constructs a new COBObjects loader class with an DownloadCacheManager and with the default texture searchpath "tex/"
COBObjects(int Quality, double imgScaleFactor, DownloadCacheManager COBDownCache, String RelativeTexturePath)
          Constructs a new COBObjects loader class with an DownloadCacheManager and a texture searchpath
COBObjects(int Quality, double imgScaleFactor, DownloadCacheManager COBDownCache, String RelativeTexturePath, Object UserData)
          Constructs a new Objects loader class with an DownloadCacheManager and a texture searchpath
COBObjects(int Quality, double imgScaleFactor, DownloadCacheManager COBDownCache, String RelativeTexturePath, String RelativeDataPath, Object UserData)
          Constructs a new COBObjects 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

COBObjects

public COBObjects(int Quality,
                  double imgScaleFactor)
Constructs a new COBObjects 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

COBObjects

public COBObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager COBDownCache)
Constructs a new COBObjects 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
COBDownCache - specifies a caching manager object which handles caching of COB objects which are downloaded from network and not directly from a local disk

COBObjects

public COBObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager COBDownCache,
                  String RelativeTexturePath)
Constructs a new COBObjects 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
COBDownCache - specifies a caching manager object which handles caching of COB objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded COB objects can be found relative to the location of the object, default is "tex/"

COBObjects

public COBObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager COBDownCache,
                  String RelativeTexturePath,
                  Object UserData)
Constructs a new Objects 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
COBDownCache - 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

COBObjects

public COBObjects(int Quality,
                  double imgScaleFactor,
                  DownloadCacheManager COBDownCache,
                  String RelativeTexturePath,
                  String RelativeDataPath,
                  Object UserData)
Constructs a new COBObjects 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
COBDownCache - specifies a caching manager object which handles caching of COB objects which are downloaded from network and not directly from a local disk
RelativeTexturePath - specifies where textures of downloaded COB 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