Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Imports Namespace Reference


Compounds

struct  Teddy::Imports::less_str
class  Teddy::Imports::LWBone
 LWMotion. More...

class  Teddy::Imports::LWCamera
class  Teddy::Imports::LWChannelEnvelope
class  Teddy::Imports::LWChannelKey
 LWScene. More...

class  Teddy::Imports::LWClip
 Parser for LightWave object file envelope subchunks. More...

class  Teddy::Imports::LWEnvelope
 Parser for LightWave object file envelope subchunks. More...

class  Teddy::Imports::LWEnvelopeKey
 LWEnvelopeKey. More...

class  Teddy::Imports::LWFile
 Parses lightwave types from file. More...

class  Teddy::Imports::LWInstance
class  Teddy::Imports::LWLayer
 LWLayer. More...

class  Teddy::Imports::LWLight
class  Teddy::Imports::LWModel
 LightWave object file loader. More...

class  Teddy::Imports::LWMotion
 LWMotion. More...

class  Teddy::Imports::LWSceneFile
 LWSceneFile. More...

class  Teddy::Imports::LWSceneParser
 Parses Lightwave scene files. More...

class  Teddy::Imports::LWSurface
 Parser for LightWave object file surface subchunks. More...

class  Teddy::Imports::LWSurfaceBlok
 Parser for LightWave object file surface blok subchunks. More...

class  Teddy::Imports::LWTexture
 LWTexture. More...


Typedefs

typedef unsigned long ID4
typedef signed char I1
typedef signed short I2
typedef signed long I4
typedef unsigned char U1
typedef unsigned short U2
typedef unsigned long U4
typedef float F4
typedef std::string S0
typedef unsigned long VX
typedef Color COL4
typedef Color COL12
typedef Vector VEC12
typedef float FP4
typedef float ANG4
typedef std::string FNAM0
typedef std::map< int, LWBone * > int_to_LWBone
typedef std::map< std::string,
Model * > 
string_to_Model
typedef std::map< std::string,
LWSurface * > 
string_to_LWSurface
typedef std::map< U4, Vertex * > U4_to_Vertex
typedef std::map< U4, Face * > U4_to_Face
typedef std::map< U4, LWEnvelope * > U4_to_LWEnvelope
typedef std::map< U4, LWClip * > U4_to_LWClip
typedef std::map< U4, LWLayer * > U4_to_LWLayer
typedef std::map< U4, std::string > U4_to_string
typedef map< int, LWChannelEnvelope * > int_to_LWChannelEnvelope
typedef map< char *, LwsToken,
less_str
string_to_token
typedef map< int, LWInstance * > int_to_LWInstance
typedef map< int, LWLight * > int_to_LWLight
typedef map< int, LWCamera * > int_to_LWCamera
typedef std::map< int, LWTexture * > int_to_LWTexture
typedef std::map< int, LWSurfaceBlok * > int_to_LWSurfaceBlok

Enumerations

enum  LwsToken {
  LWS_UNKNOWN, LWS_ERROR, LWS_EOF, LWS_LWSC,
  LWS_FIRST_FRAME, LWS_LAST_FRAME, LWS_FRAME_STEP, LWS_FRAMES_PER_SECOND,
  LWS_PREVIEW_FIRST_FRAME, LWS_PREVIEW_LAST_FRAME, LWS_PREVIEW_FRAME_STEP, LWS_CURRENT_FRAME,
  LWS_PLUGIN, LWS_END_PLUGIN, LWS_ADD_NULL_OBJECT, LWS_LOAD_OBJECT,
  LWS_LOAD_OBJECT_LAYER, LWS_SHOW_OBJECT, LWS_OBJECT_MOTION, LWS_OBJECT_DISSOLVE,
  LWS_SUBDIVISION_ORDER, LWS_SUB_PATCH_LEVEL, LWS_SHADOW_OPTIONS, LWS_DISTANCE_DISSOLVE,
  LWS_MAX_DISSOLVE_DISTANCE, LWS_PARTICLE_SIZE, LWS_LINE_SIZE, LWS_POLYGON_SIZE,
  LWS_UNSEEN_BY_RAYS, LWS_UNSEEN_BY_CAMERA, LWS_UNAFFECTED_BY_FOG, LWS_AFFECTED_BY_FOG,
  LWS_EXCLUDE_LIGHT, LWS_OBJ_POLYGON_EDGES, LWS_OBJ_EDGE_COLOR, LWS_POLYGON_EDGE_FLAGS,
  LWS_POLYGON_EDGE_THICKNESS, LWS_POLYGON_EDGES_Z_SCALE, LWS_EDGE_NOMINAL_DISTANCE, LWS_DISPLACEMENT_MAP,
  LWS_CLIP_MAP, LWS_TEXTURE_IMAGE, LWS_TEXTURE_FLAGS, LWS_TEXTURE_AXIS,
  LWS_TEXTURE_SIZE, LWS_TEXTURE_CENTER, LWS_TEXTURE_FALLOFF, LWS_TEXTURE_VELOCITY,
  LWS_TEXTURE_AMPLITUDE, LWS_TEXTURE_VALUE, LWS_TEXTURE_INT, LWS_TEXTURE_FLOAT,
  LWS_PIVOT_POSITION, LWS_PARENT_ITEM, LWS_BEHAVIORS, LWS_NUM_CHANNELS,
  LWS_CHANNEL, LWS_ENVELOPE, LWS_KEY, LWS_LOCKED_CHANNELS,
  LWS_PARENT_OBJECT, LWS_TARGET_OBJECT, LWS_GOAL_OBJECT, LWS_SCHEMATIC_POSITION,
  LWS_MORPH_AMOUNT, LWS_MORPH_TARGET, LWS_MORPH_SURFACES, LWS_USE_BONES_FROM,
  LWS_BONE_FALLOFF_TYPE, LWS_ADD_BONE, LWS_BONE_NAME, LWS_SHOW_BONE,
  LWS_BONE_ACTIVE, LWS_BONE_REST_POSITION, LWS_BONE_REST_DIRECTION, LWS_BONE_REST_LENGTH,
  LWS_BONE_STRENGTH, LWS_SCALE_BONE_STRENGTH, LWS_BONE_LIMITED_RANGE, LWS_BONE_MIN_RANGE,
  LWS_BONE_MAX_RANGE, LWS_BONE_MOTION, LWS_H_CONTROLLER, LWS_P_CONTROLLER,
  LWS_B_CONTROLLER, LWS_H_LIMITS, LWS_P_LIMITS, LWS_B_LIMITS,
  LWS_IK_ANCHOR, LWS_AMBIENT_COLOR, LWS_AMBIENT_INTENSITY, LWS_GLOBAL_FLARE_INTENSITY,
  LWS_ENABLE_LENS_FLARES, LWS_ENABLE_SHADOW_MAPS, LWS_ADD_LIGHT, LWS_SHOW_LIGHT,
  LWS_LIGHT_NAME, LWS_LIGHT_MOTION, LWS_LIGHT_COLOR, LWS_LIGHT_TYPE,
  LWS_LIGHT_FALLOFF_TYPE, LWS_LIGHT_RANGE, LWS_LIGHT_CONE_ANGLE, LWS_LIGHT_EDGE_ANGLE,
  LWS_LIGHT_INTENSITY, LWS_FALLOFF, LWS_AFFECT_CAUSTICS, LWS_AFFECT_DIFFUSE,
  LWS_AFFECT_SPECULAR, LWS_AFFECT_OPEN_GL, LWS_USE_CONE_ANGLE, LWS_LENS_FLARE,
  LWS_FLARE_INTENSITY, LWS_FLARE_DISSOLVE, LWS_LENS_FLARE_FADE, LWS_LENS_FLARE_OPTIONS,
  LWS_FLARE_RAND_STREAK_INT, LWS_FLARE_RAND_STREAK_DENS, LWS_FLARE_RAND_STREAK_SHARP, LWS_SHADOW_TYPE,
  LWS_SHADOW_CASTING, LWS_SHADOW_MAP_SIZE, LWS_SHADOW_MAP_ANGLE, LWS_SHADOW_FUZZINESS,
  LWS_ADD_CAMERA, LWS_CAMERA_NAME, LWS_SHOW_CAMERA, LWS_CAMERA_MOTION,
  LWS_ZOOM_FACTOR, LWS_MOTION_BLUR, LWS_BLUR_LENGTH, LWS_DEPTH_OF_FIELD,
  LWS_FOCAL_DISTANCE, LWS_LENS_F_STOP, LWS_RESOLUTION_MULTIPLIER, LWS_RESOLUTION,
  LWS_FRAME_SIZE, LWS_CUSTOM_SIZE, LWS_FILM_SIZE, LWS_NTSC_WIDE_SCREEN,
  LWS_PIXEL_ASPECT, LWS_PIXEL_ASPECT_RATIO, LWS_CUSTOM_PIXEL_RATIO, LWS_LIMITED_REGION,
  LWS_MASK_POSITION, LWS_APERTURE_HEIGHT, LWS_REGION_LIMITS, LWS_SEGMENT_MEMORY,
  LWS_ANTI_ALIASING, LWS_ENHANCED_AA, LWS_FILTER_TYPE, LWS_ADAPTIVE_SAMPLING,
  LWS_ADAPTIVE_THRESHOLD, LWS_FIELD_RENDERING, LWS_REVERSE_FIELDS, LWS_BG_IMAGE,
  LWS_FG_IMAGE, LWS_FG_ALPHA_IMAGE, LWS_FG_DISSOLVE, LWS_FG_FADER_ALPHA_MODE,
  LWS_IMAGE_SEQUENCE_INFO, LWS_FOREGROUND_KEY, LWS_LOW_CLIP_COLOR, LWS_HIGH_CLIP_COLOR,
  LWS_SOLID_BACKDROP, LWS_BACKDROP_COLOR, LWS_ZENITH_COLOR, LWS_SKY_COLOR,
  LWS_GROUND_COLOR, LWS_NADIR_COLOR, LWS_SKY_SQUEEZE_AMOUNT, LWS_GROUND_SQUEEZE_AMOUNT,
  LWS_FOG_TYPE, LWS_FOG_MIN_DIST, LWS_FOG_MAX_DIST, LWS_FOG_MIN_AMOUNT,
  LWS_FOG_MAX_AMOUNT, LWS_FOG_COLOR, LWS_BACKDROP_FOG, LWS_DITHER_INTENSITY,
  LWS_ANIMATED_DITHER, LWS_SATURATION, LWS_GLOW_EFFECT, LWS_GLOW_INTENSITY,
  LWS_GLOW_RADIUS, LWS_RENDER_MODE, LWS_RAY_TRACE_EFFECTS, LWS_RAY_TRACE_OPTIMIZATION,
  LWS_RAY_RECURSION_LIMIT, LWS_DATA_OVERLAY, LWS_DATA_OVERLAY_LABEL, LWS_OUTPUT_FILENAME_FORMAT,
  LWS_SAVE_RGB, LWS_SAVE_ALPHA, LWS_SAVE_ANIM_FILE_NAME, LWS_LOCK_ANIM_PALETTE_FRAME,
  LWS_BEGIN_ANIM_LOOP_FRAME, LWS_SAVE_RGB_IMAGES_PREFIX, LWS_RGB_IMAGE_FORMAT, LWS_SAVE_ALPHA_IMAGES_PREFIX,
  LWS_ALPHA_IMAGE_FORMAT, LWS_ALPHA_MODE, LWS_SAVE_FRAMESTORES_COMMENT, LWS_FULL_SCENE_PARAM_EVAL,
  LWS_VIEW_CONFIGURATION, LWS_DEFINE_VIEW, LWS_VIEW_MODE, LWS_VIEW_AIMPOINT,
  LWS_VIEW_ROTATION, LWS_VIEW_ZOOM_FACTOR, LWS_LAYOUT_GRID, LWS_GRID_NUMBER,
  LWS_GRID_SIZE, LWS_CAMERA_VIEW_BG, LWS_SHOW_MOTION_PATH, LWS_SHOW_SAFE_AREAS,
  LWS_SHOW_BG_IMAGE, LWS_SHOW_FOG_RADIUS, LWS_SHOW_FOG_EFFECT, LWS_SHOW_REDRAW,
  LWS_SHOW_FIELD_CHART, LWS_CURRENT_OBJECT, LWS_CURRENT_LIGHT, LWS_CURRENT_CAMERA,
  LWS_MAP_EDITOR_DATA, LWS_GRAPH_EDITOR_FAVORITES, LWS_END_MARK
}

Functions

float range (float v, float lo, float hi, int *i)
void hermite (float t, float *h1, float *h2, float *h3, float *h4)
float bezier (float x0, float x1, float x2, float x3, float t)
float bez2_time (float x0, float x1, float x2, float x3, float time, float *t0, float *t1)
float bez2 (LWChannelKey *key0, LWChannelKey *key1, float time)
float outgoing (LWChannelKey *prev, LWChannelKey *key0, LWChannelKey *key1)
float incoming (LWChannelKey *key0, LWChannelKey *key1, LWChannelKey *next)
char * did (ID4 id4)


Detailed Description

This namespace constains Model importer classes for LightWave. Currently supported formats are LWOB, LWLO and LWO2. Max smoothing angle, textures and multiple layers are currently supported.


Typedef Documentation

typedef float Teddy::Imports::ANG4
 

Definition at line 64 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_ANG4, and Teddy::Imports::LWSurface::readReflectionMapImageSeamAngle_ANG4_VX.

typedef Color Teddy::Imports::COL12
 

Definition at line 61 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_COL12.

typedef Color Teddy::Imports::COL4
 

Definition at line 60 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_COL4.

typedef float Teddy::Imports::F4
 

Definition at line 57 of file lwdef.h.

Referenced by Teddy::Imports::LWEnvelopeKey::LWEnvelopeKey, Teddy::Imports::LWFile::read_F4, Teddy::Imports::LWSurface::readGlowEffect_U2_F4_VX_F4_VX, Teddy::Imports::LWEnvelope::readKeyframe_F4_F4, Teddy::Imports::LWSurface::readRefractiveIndex_F4_VX, Teddy::Imports::LWSurface::readRenderOutlines_U2_F4_VX_COL12_VX, and Teddy::Imports::LWLayer::vertexMapping_ID4_U2_S0_d.

typedef std::string Teddy::Imports::FNAM0
 

Definition at line 65 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_FNAM0.

typedef float Teddy::Imports::FP4
 

Definition at line 63 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_FP4, Teddy::Imports::LWSurface::readAdditiveTransparency_FP4_VX, Teddy::Imports::LWSurface::readBumpIntensity_FP4_VX, Teddy::Imports::LWSurface::readColorFilter_FP4_VX, Teddy::Imports::LWSurface::readColorHighlights_FP4_VX, Teddy::Imports::LWSurface::readDiffuseSharpness_FP4_VX, and Teddy::Imports::LWClip::readHue_FP4_VX.

typedef signed char Teddy::Imports::I1
 

Definition at line 51 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_I1.

typedef signed short Teddy::Imports::I2
 

Definition at line 52 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_I2, and Teddy::Imports::LWSurface::readSpecularGlossiness_I2_4.

typedef signed long Teddy::Imports::I4
 

Definition at line 53 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_I4.

typedef unsigned long Teddy::Imports::ID4
 

Definition at line 50 of file lwdef.h.

Referenced by Teddy::Imports::LWSurfaceBlok::applyAttributes, Teddy::Imports::LWFile::getType, Teddy::Imports::LWModel::LWModel, Teddy::Imports::LWLayer::polygonList, Teddy::Imports::LWLayer::polygonTags_ID4_d, Teddy::Imports::LWSurfaceBlok::processBlok, Teddy::Imports::LWFile::read_ID4, Teddy::Imports::LWSurfaceBlok::readTextureMap, Teddy::Imports::LWFile::setType, and Teddy::Imports::LWLayer::vertexMapping_ID4_U2_S0_d.

typedef std::map<int, LWBone*> Teddy::Imports::int_to_LWBone
 

Definition at line 54 of file LWInstance.h.

typedef map<int, LWCamera *> Teddy::Imports::int_to_LWCamera
 

Definition at line 69 of file LWSceneParser.h.

typedef map<int, LWChannelEnvelope*> Teddy::Imports::int_to_LWChannelEnvelope
 

Definition at line 43 of file LWMotion.h.

typedef map<int, LWInstance*> Teddy::Imports::int_to_LWInstance
 

Definition at line 67 of file LWSceneParser.h.

typedef map<int, LWLight *> Teddy::Imports::int_to_LWLight
 

Definition at line 68 of file LWSceneParser.h.

typedef std::map<int, LWSurfaceBlok *> Teddy::Imports::int_to_LWSurfaceBlok
 

Definition at line 58 of file LWSurface.h.

typedef std::map<int, LWTexture *> Teddy::Imports::int_to_LWTexture
 

Definition at line 57 of file LWSurface.h.

typedef std::string Teddy::Imports::S0
 

Definition at line 58 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_S0, Teddy::Imports::LWSurface::readBumpTexture_S0, Teddy::Imports::LWSurface::readColorTexture_S0, Teddy::Imports::LWSurface::readDiffuseTexture_S0, Teddy::Imports::LWSurface::readLuminosityTexture_S0, Teddy::Imports::LWClip::readPixelFilter_S0_U2_d, Teddy::Imports::LWSurface::readReflectionTexture_S0, Teddy::Imports::LWSurface::readSpecularTexture_S0, and Teddy::Imports::LWSurface::readTransparencyTexture_S0.

typedef std::map<std::string, LWSurface *> Teddy::Imports::string_to_LWSurface
 

Definition at line 62 of file LWLayer.h.

typedef std::map<std::string, Model *> Teddy::Imports::string_to_Model
 

Definition at line 61 of file LWLayer.h.

typedef map<char*, LwsToken, less_str> Teddy::Imports::string_to_token
 

Definition at line 54 of file LWSceneFile.h.

typedef unsigned char Teddy::Imports::U1
 

Definition at line 54 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_U1, Teddy::Imports::LWClip::readAnimation_FNAM0_S0_U2_d, Teddy::Imports::LWSurface::readBaseColor_COL4, Teddy::Imports::LWClip::readImageFilter_S0_U2_d, Teddy::Imports::LWClip::readPixelFilter_S0_U2_d, and Teddy::Imports::LWLayer::thumbnail_U2_U2_d.

typedef unsigned short Teddy::Imports::U2
 

Definition at line 55 of file lwdef.h.

Referenced by Teddy::Imports::LWModel::layer_U2_U2_S0, Teddy::Imports::LWModel::layer_U2_U2_VEC12_S0_U2, Teddy::Imports::LWLayer::LWLayer, Teddy::Imports::LWLayer::polygonList, Teddy::Imports::LWSurfaceBlok::processBlok, Teddy::Imports::LWFile::read_U2, Teddy::Imports::LWFile::read_VX, Teddy::Imports::LWEnvelope::readChannel_S0_U2_d, Teddy::Imports::LWSurface::readGlowEffect_U2_F4_VX_F4_VX, Teddy::Imports::LWClip::readNegative_U2, Teddy::Imports::LWClip::readPixelFilter_S0_U2_d, Teddy::Imports::LWSurface::readPolygonSidedness_U2, Teddy::Imports::LWSurface::readReflectionOptions_U2, Teddy::Imports::LWSurface::readRenderOutlines_U2_F4_VX_COL12_VX, Teddy::Imports::LWSurface::readStateFlags_U2, Teddy::Imports::LWTexture::readTextureFlags_U2, Teddy::Imports::LWSurfaceBlok::readTextureMap, Teddy::Imports::LWLayer::thumbnail_U2_U2_d, and Teddy::Imports::LWLayer::vertexMapping_ID4_U2_S0_d.

typedef unsigned long Teddy::Imports::U4
 

Definition at line 56 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::bytesRead, Teddy::Imports::LWLayer::clip_U4_sc, Teddy::Imports::LWFile::domainLeft, Teddy::Imports::LWLayer::envelope_U4_sc, Teddy::Imports::LWLayer::faceList, Teddy::Imports::LWLayer::pointList, Teddy::Imports::LWLayer::polygonList, Teddy::Imports::LWLayer::polygonTags_ID4_d, Teddy::Imports::LWFile::popDomain, Teddy::Imports::LWLayer::processChunk, Teddy::Imports::LWFile::read_U4, and Teddy::Imports::LWSurface::readSpecularGlossiness_I2_4.

typedef std::map<U4, Face *> Teddy::Imports::U4_to_Face
 

Definition at line 64 of file LWLayer.h.

typedef std::map<U4, LWClip *> Teddy::Imports::U4_to_LWClip
 

Definition at line 66 of file LWLayer.h.

typedef std::map<U4, LWEnvelope*> Teddy::Imports::U4_to_LWEnvelope
 

Definition at line 65 of file LWLayer.h.

typedef std::map<U4, LWLayer *> Teddy::Imports::U4_to_LWLayer
 

Definition at line 50 of file LWModel.h.

typedef std::map<U4, std::string> Teddy::Imports::U4_to_string
 

Definition at line 51 of file LWModel.h.

typedef std::map<U4, Vertex *> Teddy::Imports::U4_to_Vertex
 

Definition at line 63 of file LWLayer.h.

typedef Vector Teddy::Imports::VEC12
 

Definition at line 62 of file lwdef.h.

Referenced by Teddy::Imports::LWFile::read_VEC12.

typedef unsigned long Teddy::Imports::VX
 

Definition at line 59 of file lwdef.h.

Referenced by Teddy::Imports::LWLayer::getClip, Teddy::Imports::LWModel::getTag, Teddy::Imports::LWLayer::polygonTags_ID4_d, Teddy::Imports::LWFile::read_VX, Teddy::Imports::LWSurface::readAdditiveTransparency_FP4_VX, Teddy::Imports::LWSurface::readBaseColor_COL12_VX, Teddy::Imports::LWSurface::readBumpIntensity_FP4_VX, Teddy::Imports::LWSurface::readColorFilter_FP4_VX, Teddy::Imports::LWSurface::readColorHighlights_FP4_VX, Teddy::Imports::LWSurface::readDiffuse_FP4_VX, Teddy::Imports::LWSurface::readDiffuseSharpness_FP4_VX, Teddy::Imports::LWSurface::readGlowEffect_U2_F4_VX_F4_VX, Teddy::Imports::LWClip::readHue_FP4_VX, Teddy::Imports::LWSurface::readLuminosity_FP4_VX, Teddy::Imports::LWSurface::readReflection_FP4_VX, Teddy::Imports::LWSurface::readReflectionMapImage_VX, Teddy::Imports::LWSurface::readReflectionMapImageSeamAngle_ANG4_VX, Teddy::Imports::LWSurface::readRefractiveIndex_F4_VX, Teddy::Imports::LWSurface::readRenderOutlines_U2_F4_VX_COL12_VX, Teddy::Imports::LWSurface::readSpecular_FP4_VX, Teddy::Imports::LWSurface::readSpecularGlossiness_FP4_VX, Teddy::Imports::LWSurface::readTranslucency_FP4_VX, Teddy::Imports::LWSurface::readTransparency_FP4_VX, and Teddy::Imports::LWLayer::vertexMapping_ID4_U2_S0_d.


Enumeration Type Documentation

enum Teddy::Imports::LwsToken
 

Enumeration values:
LWS_UNKNOWN 
LWS_ERROR 
LWS_EOF 
LWS_LWSC 
LWS_FIRST_FRAME 
LWS_LAST_FRAME 
LWS_FRAME_STEP 
LWS_FRAMES_PER_SECOND 
LWS_PREVIEW_FIRST_FRAME 
LWS_PREVIEW_LAST_FRAME 
LWS_PREVIEW_FRAME_STEP 
LWS_CURRENT_FRAME 
LWS_PLUGIN 
LWS_END_PLUGIN 
LWS_ADD_NULL_OBJECT 
LWS_LOAD_OBJECT 
LWS_LOAD_OBJECT_LAYER 
LWS_SHOW_OBJECT 
LWS_OBJECT_MOTION 
LWS_OBJECT_DISSOLVE 
LWS_SUBDIVISION_ORDER 
LWS_SUB_PATCH_LEVEL 
LWS_SHADOW_OPTIONS 
LWS_DISTANCE_DISSOLVE 
LWS_MAX_DISSOLVE_DISTANCE 
LWS_PARTICLE_SIZE 
LWS_LINE_SIZE 
LWS_POLYGON_SIZE 
LWS_UNSEEN_BY_RAYS 
LWS_UNSEEN_BY_CAMERA 
LWS_UNAFFECTED_BY_FOG 
LWS_AFFECTED_BY_FOG 
LWS_EXCLUDE_LIGHT 
LWS_OBJ_POLYGON_EDGES 
LWS_OBJ_EDGE_COLOR 
LWS_POLYGON_EDGE_FLAGS 
LWS_POLYGON_EDGE_THICKNESS 
LWS_POLYGON_EDGES_Z_SCALE 
LWS_EDGE_NOMINAL_DISTANCE 
LWS_DISPLACEMENT_MAP 
LWS_CLIP_MAP 
LWS_TEXTURE_IMAGE 
LWS_TEXTURE_FLAGS 
LWS_TEXTURE_AXIS 
LWS_TEXTURE_SIZE 
LWS_TEXTURE_CENTER 
LWS_TEXTURE_FALLOFF 
LWS_TEXTURE_VELOCITY 
LWS_TEXTURE_AMPLITUDE 
LWS_TEXTURE_VALUE 
LWS_TEXTURE_INT 
LWS_TEXTURE_FLOAT 
LWS_PIVOT_POSITION 
LWS_PARENT_ITEM 
LWS_BEHAVIORS 
LWS_NUM_CHANNELS 
LWS_CHANNEL 
LWS_ENVELOPE 
LWS_KEY 
LWS_LOCKED_CHANNELS 
LWS_PARENT_OBJECT 
LWS_TARGET_OBJECT 
LWS_GOAL_OBJECT 
LWS_SCHEMATIC_POSITION 
LWS_MORPH_AMOUNT 
LWS_MORPH_TARGET 
LWS_MORPH_SURFACES 
LWS_USE_BONES_FROM 
LWS_BONE_FALLOFF_TYPE 
LWS_ADD_BONE 
LWS_BONE_NAME 
LWS_SHOW_BONE 
LWS_BONE_ACTIVE 
LWS_BONE_REST_POSITION 
LWS_BONE_REST_DIRECTION 
LWS_BONE_REST_LENGTH 
LWS_BONE_STRENGTH 
LWS_SCALE_BONE_STRENGTH 
LWS_BONE_LIMITED_RANGE 
LWS_BONE_MIN_RANGE 
LWS_BONE_MAX_RANGE 
LWS_BONE_MOTION 
LWS_H_CONTROLLER 
LWS_P_CONTROLLER 
LWS_B_CONTROLLER 
LWS_H_LIMITS 
LWS_P_LIMITS 
LWS_B_LIMITS 
LWS_IK_ANCHOR 
LWS_AMBIENT_COLOR 
LWS_AMBIENT_INTENSITY 
LWS_GLOBAL_FLARE_INTENSITY 
LWS_ENABLE_LENS_FLARES 
LWS_ENABLE_SHADOW_MAPS 
LWS_ADD_LIGHT 
LWS_SHOW_LIGHT 
LWS_LIGHT_NAME 
LWS_LIGHT_MOTION 
LWS_LIGHT_COLOR 
LWS_LIGHT_TYPE 
LWS_LIGHT_FALLOFF_TYPE 
LWS_LIGHT_RANGE 
LWS_LIGHT_CONE_ANGLE 
LWS_LIGHT_EDGE_ANGLE 
LWS_LIGHT_INTENSITY 
LWS_FALLOFF 
LWS_AFFECT_CAUSTICS 
LWS_AFFECT_DIFFUSE 
LWS_AFFECT_SPECULAR 
LWS_AFFECT_OPEN_GL 
LWS_USE_CONE_ANGLE 
LWS_LENS_FLARE 
LWS_FLARE_INTENSITY 
LWS_FLARE_DISSOLVE 
LWS_LENS_FLARE_FADE 
LWS_LENS_FLARE_OPTIONS 
LWS_FLARE_RAND_STREAK_INT 
LWS_FLARE_RAND_STREAK_DENS 
LWS_FLARE_RAND_STREAK_SHARP 
LWS_SHADOW_TYPE 
LWS_SHADOW_CASTING 
LWS_SHADOW_MAP_SIZE 
LWS_SHADOW_MAP_ANGLE 
LWS_SHADOW_FUZZINESS 
LWS_ADD_CAMERA 
LWS_CAMERA_NAME 
LWS_SHOW_CAMERA 
LWS_CAMERA_MOTION 
LWS_ZOOM_FACTOR 
LWS_MOTION_BLUR 
LWS_BLUR_LENGTH 
LWS_DEPTH_OF_FIELD 
LWS_FOCAL_DISTANCE 
LWS_LENS_F_STOP 
LWS_RESOLUTION_MULTIPLIER 
LWS_RESOLUTION 
LWS_FRAME_SIZE 
LWS_CUSTOM_SIZE 
LWS_FILM_SIZE 
LWS_NTSC_WIDE_SCREEN 
LWS_PIXEL_ASPECT 
LWS_PIXEL_ASPECT_RATIO 
LWS_CUSTOM_PIXEL_RATIO 
LWS_LIMITED_REGION 
LWS_MASK_POSITION 
LWS_APERTURE_HEIGHT 
LWS_REGION_LIMITS 
LWS_SEGMENT_MEMORY 
LWS_ANTI_ALIASING 
LWS_ENHANCED_AA 
LWS_FILTER_TYPE 
LWS_ADAPTIVE_SAMPLING 
LWS_ADAPTIVE_THRESHOLD 
LWS_FIELD_RENDERING 
LWS_REVERSE_FIELDS 
LWS_BG_IMAGE 
LWS_FG_IMAGE 
LWS_FG_ALPHA_IMAGE 
LWS_FG_DISSOLVE 
LWS_FG_FADER_ALPHA_MODE 
LWS_IMAGE_SEQUENCE_INFO 
LWS_FOREGROUND_KEY 
LWS_LOW_CLIP_COLOR 
LWS_HIGH_CLIP_COLOR 
LWS_SOLID_BACKDROP 
LWS_BACKDROP_COLOR 
LWS_ZENITH_COLOR 
LWS_SKY_COLOR 
LWS_GROUND_COLOR 
LWS_NADIR_COLOR 
LWS_SKY_SQUEEZE_AMOUNT 
LWS_GROUND_SQUEEZE_AMOUNT 
LWS_FOG_TYPE 
LWS_FOG_MIN_DIST 
LWS_FOG_MAX_DIST 
LWS_FOG_MIN_AMOUNT 
LWS_FOG_MAX_AMOUNT 
LWS_FOG_COLOR 
LWS_BACKDROP_FOG 
LWS_DITHER_INTENSITY 
LWS_ANIMATED_DITHER 
LWS_SATURATION 
LWS_GLOW_EFFECT 
LWS_GLOW_INTENSITY 
LWS_GLOW_RADIUS 
LWS_RENDER_MODE 
LWS_RAY_TRACE_EFFECTS 
LWS_RAY_TRACE_OPTIMIZATION 
LWS_RAY_RECURSION_LIMIT 
LWS_DATA_OVERLAY 
LWS_DATA_OVERLAY_LABEL 
LWS_OUTPUT_FILENAME_FORMAT 
LWS_SAVE_RGB 
LWS_SAVE_ALPHA 
LWS_SAVE_ANIM_FILE_NAME 
LWS_LOCK_ANIM_PALETTE_FRAME 
LWS_BEGIN_ANIM_LOOP_FRAME 
LWS_SAVE_RGB_IMAGES_PREFIX 
LWS_RGB_IMAGE_FORMAT 
LWS_SAVE_ALPHA_IMAGES_PREFIX 
LWS_ALPHA_IMAGE_FORMAT 
LWS_ALPHA_MODE 
LWS_SAVE_FRAMESTORES_COMMENT 
LWS_FULL_SCENE_PARAM_EVAL 
LWS_VIEW_CONFIGURATION 
LWS_DEFINE_VIEW 
LWS_VIEW_MODE 
LWS_VIEW_AIMPOINT 
LWS_VIEW_ROTATION 
LWS_VIEW_ZOOM_FACTOR 
LWS_LAYOUT_GRID 
LWS_GRID_NUMBER 
LWS_GRID_SIZE 
LWS_CAMERA_VIEW_BG 
LWS_SHOW_MOTION_PATH 
LWS_SHOW_SAFE_AREAS 
LWS_SHOW_BG_IMAGE 
LWS_SHOW_FOG_RADIUS 
LWS_SHOW_FOG_EFFECT 
LWS_SHOW_REDRAW 
LWS_SHOW_FIELD_CHART 
LWS_CURRENT_OBJECT 
LWS_CURRENT_LIGHT 
LWS_CURRENT_CAMERA 
LWS_MAP_EDITOR_DATA 
LWS_GRAPH_EDITOR_FAVORITES 
LWS_END_MARK 

Definition at line 37 of file LWSceneTokens.h.

Referenced by Teddy::Imports::LWSceneFile::mapToken, Teddy::Imports::LWSceneParser::Plugin, Teddy::Imports::LWSceneFile::read_token, and Teddy::Imports::LWSceneParser::readFile.


Function Documentation

float bez2 LWChannelKey   key0,
LWChannelKey   key1,
float    time
 

bez2()

Interpolate the value of a BEZ2 curve.

Definition at line 362 of file LWChannelEnvelope.cpp.

float bez2_time float    x0,
float    x1,
float    x2,
float    x3,
float    time,
float *    t0,
float *    t1
 

bez2_time()

Find the t for which bezier() returns the input time. The handle endpoints of a BEZ2 curve represent the control points, and these have (time, value) coordinates, so time is used as both a coordinate and a parameter for this curve type.

Definition at line 339 of file LWChannelEnvelope.cpp.

float bezier float    x0,
float    x1,
float    x2,
float    x3,
float    t
[static]
 

bezier()

Interpolate the value of a 1D Bezier curve.

Definition at line 313 of file LWChannelEnvelope.cpp.

char * Teddy::Imports::did ID4    id
 

Format and return an ID string for requested IFF chunk ID. Memory for returned string is reused from static cyclic string buffer.

Definition at line 43 of file LWFile.cpp.

Referenced by Teddy::Imports::LWSurfaceBlok::applyImageMap, Teddy::Imports::LWModel::LWModel, Teddy::Imports::LWSurfaceBlok::processBlok, Teddy::Imports::LWLayer::processChunk, Teddy::Imports::LWClip::processClip, Teddy::Imports::LWSurface::processSubChunk, Teddy::Imports::LWSurfaceBlok::readTextureMap, and Teddy::Imports::LWLayer::vertexMapping_ID4_U2_S0_d.

void hermite float    t,
float *    h1,
float *    h2,
float *    h3,
float *    h4
[static]
 

hermite()

Calculate the Hermite coefficients.

Definition at line 294 of file LWChannelEnvelope.cpp.

float incoming LWChannelKey   key0,
LWChannelKey   key1,
LWChannelKey   next
 

Definition at line 448 of file LWChannelEnvelope.cpp.

float outgoing LWChannelKey   prev,
LWChannelKey   key0,
LWChannelKey   key1
 

Definition at line 384 of file LWChannelEnvelope.cpp.

float range float    v,
float    lo,
float    hi,
int *    i
 

range()

Given the value v of a periodic function, returns the equivalent value v2 in the principal interval [lo, hi]. If i isn't NULL, it receives the number of wavelengths between v and v2.

v2 = v - i * (hi - lo)

For example, range( 3 pi, 0, 2 pi, i ) returns pi, with i = 1.

Definition at line 271 of file LWChannelEnvelope.cpp.

Referenced by Teddy::Imports::LWLight::setRange.