Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros
io3DS.cpp File Reference
#include "io3DS.hpp"
#include <vlGraphics/Effect.hpp>
#include <vlGraphics/Geometry.hpp>
#include <vlGraphics/Actor.hpp>
#include <vlGraphics/Texture.hpp>
#include <vlCore/Image.hpp>
#include <vlGraphics/Camera.hpp>
#include <vlCore/Time.hpp>
#include <vlCore/Log.hpp>
#include <vlCore/Say.hpp>
#include <vlCore/LoadWriterManager.hpp>
#include <vlCore/VisualizationLibrary.hpp>
#include <vlCore/FileSystem.hpp>
#include <set>

Go to the source code of this file.

Macros

#define ID_3D_EDITOR_CHUNK   0x3D3D
 
#define ID_MAIN_CHUNK   0x4D4D
 
#define ID_3DS_VERSION   0x0002
 
#define ID_OBJECT_BLOCK   0x4000
 
#define ID_MATERIAL_BLOCK   0xAFFF
 
#define ID_COLOR_F   0x0010
 
#define ID_COLOR_24   0x0011
 
#define ID_LIN_COLOR_24   0x0012
 
#define ID_LIN_COLOR_F   0x0013
 
#define ID_INT_PERCENTAGE   0x0030
 
#define ID_FLOAT_PERCENTAGE   0x0031
 
#define ID_MATERIAL_NAME   0xA000
 
#define ID_MAT_AMBIENT   0xA010
 
#define ID_MAT_DIFFUSE   0xA020
 
#define ID_MAT_SPECULAR   0xA030
 
#define ID_MAT_SHININESS_PERCENT   0xA040
 
#define ID_MAT_SHININESS_STRENGTH_PERCENT   0xA041
 
#define ID_MAT_TRANSPARENCY   0xA050
 
#define ID_MAT_TWO_SIDE   0xA081
 
#define ID_MAT_TEXMAP   0xA200
 
#define ID_MAT_TEXMAP2   0xA33A
 
#define ID_MAT_MAPNAME   0xA300
 
#define ID_MAT_MAP_TILING   0xA351
 
#define ID_MAT_USCALE   0xA354
 
#define ID_MAT_VSCALE   0xA356
 
#define ID_MAT_UOFFSET   0xA358
 
#define ID_MAT_VOFFSET   0xA35A
 
#define ID_MAT_MAP_ROTATION   0xA35C
 
#define ID_TRIANGULAR_MESH   0x4100
 
#define ID_LOCAL_COORDS_SYSTEM   0x4160
 
#define ID_MAPPING_COORDS   0x4140
 
#define ID_SMOOTHING_GROUP_LIST   0x4150
 
#define ID_FACE_MATERIAL_LIST   0x4130
 
#define ID_FACE_LIST   0x4120
 
#define ID_VERTEX_LIST   0x4110
 
#define ID_HIERARCHY   0x4F00
 
#define ID_PARENT_OBJECT   0x4F10
 
#define ID_PIVOT_OBJECT   0x4F20
 
#define ID_PIVOT_LIMITS   0x4F30
 
#define ID_PIVOT_ORDER   0x4F40
 
#define ID_XLATE_RANGE   0x4F50
 
#define ID_KEYFRAMER_CHUNK   0xB000
 
#define ID_KEYF_OBJDES   0xB002
 
#define ID_KEYF_OBJHIERARCH   0xB010
 
#define ID_KEYF_OBJPIVOT   0xB013
 
#define ID_KEYF_POSITION_TRACK   0xB020
 
#define ID_KEYF_ROTATION_TRACK   0xB021
 
#define ID_KEYF_SCALE_TRACK   0xB022
 
#define ID_KEYF_NODE_ID   0xB030
 
#define ID_KEY_SPOTLIGHT_NODE_TAG   0xB007
 
#define ID_KEY_FRAMES_START_END   0xB008
 

Macro Definition Documentation

◆ ID_3D_EDITOR_CHUNK

#define ID_3D_EDITOR_CHUNK   0x3D3D

Definition at line 49 of file io3DS.cpp.

Referenced by vl::A3DSLoader::parse3DS().

◆ ID_3DS_VERSION

#define ID_3DS_VERSION   0x0002

Definition at line 51 of file io3DS.cpp.

Referenced by vl::A3DSLoader::parse3DS().

◆ ID_COLOR_24

#define ID_COLOR_24   0x0011

Definition at line 55 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readColChunk().

◆ ID_COLOR_F

#define ID_COLOR_F   0x0010

Definition at line 54 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readColChunk().

◆ ID_FACE_LIST

#define ID_FACE_LIST   0x4120

Definition at line 82 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_FACE_MATERIAL_LIST

#define ID_FACE_MATERIAL_LIST   0x4130

Definition at line 81 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_FLOAT_PERCENTAGE

#define ID_FLOAT_PERCENTAGE   0x0031

Definition at line 59 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readPercentChunk().

◆ ID_HIERARCHY

#define ID_HIERARCHY   0x4F00

Definition at line 84 of file io3DS.cpp.

◆ ID_INT_PERCENTAGE

#define ID_INT_PERCENTAGE   0x0030

Definition at line 58 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readPercentChunk().

◆ ID_KEY_FRAMES_START_END

#define ID_KEY_FRAMES_START_END   0xB008

Definition at line 100 of file io3DS.cpp.

◆ ID_KEY_SPOTLIGHT_NODE_TAG

#define ID_KEY_SPOTLIGHT_NODE_TAG   0xB007

Definition at line 99 of file io3DS.cpp.

◆ ID_KEYF_NODE_ID

#define ID_KEYF_NODE_ID   0xB030

Definition at line 98 of file io3DS.cpp.

◆ ID_KEYF_OBJDES

#define ID_KEYF_OBJDES   0xB002

Definition at line 92 of file io3DS.cpp.

◆ ID_KEYF_OBJHIERARCH

#define ID_KEYF_OBJHIERARCH   0xB010

Definition at line 93 of file io3DS.cpp.

◆ ID_KEYF_OBJPIVOT

#define ID_KEYF_OBJPIVOT   0xB013

Definition at line 94 of file io3DS.cpp.

◆ ID_KEYF_POSITION_TRACK

#define ID_KEYF_POSITION_TRACK   0xB020

Definition at line 95 of file io3DS.cpp.

◆ ID_KEYF_ROTATION_TRACK

#define ID_KEYF_ROTATION_TRACK   0xB021

Definition at line 96 of file io3DS.cpp.

◆ ID_KEYF_SCALE_TRACK

#define ID_KEYF_SCALE_TRACK   0xB022

Definition at line 97 of file io3DS.cpp.

◆ ID_KEYFRAMER_CHUNK

#define ID_KEYFRAMER_CHUNK   0xB000

Definition at line 91 of file io3DS.cpp.

◆ ID_LIN_COLOR_24

#define ID_LIN_COLOR_24   0x0012

Definition at line 56 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readColChunk().

◆ ID_LIN_COLOR_F

#define ID_LIN_COLOR_F   0x0013

Definition at line 57 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readColChunk().

◆ ID_LOCAL_COORDS_SYSTEM

#define ID_LOCAL_COORDS_SYSTEM   0x4160

Definition at line 78 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_MAIN_CHUNK

#define ID_MAIN_CHUNK   0x4D4D

Definition at line 50 of file io3DS.cpp.

Referenced by vl::A3DSLoader::parse3DS().

◆ ID_MAPPING_COORDS

#define ID_MAPPING_COORDS   0x4140

Definition at line 79 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_MAT_AMBIENT

#define ID_MAT_AMBIENT   0xA010

Definition at line 61 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_DIFFUSE

#define ID_MAT_DIFFUSE   0xA020

Definition at line 62 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_MAP_ROTATION

#define ID_MAT_MAP_ROTATION   0xA35C

Definition at line 76 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_MAP_TILING

#define ID_MAT_MAP_TILING   0xA351

Definition at line 71 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_MAPNAME

#define ID_MAT_MAPNAME   0xA300

Definition at line 70 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_SHININESS_PERCENT

#define ID_MAT_SHININESS_PERCENT   0xA040

Definition at line 64 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_SHININESS_STRENGTH_PERCENT

#define ID_MAT_SHININESS_STRENGTH_PERCENT   0xA041

Definition at line 65 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_SPECULAR

#define ID_MAT_SPECULAR   0xA030

Definition at line 63 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_TEXMAP

#define ID_MAT_TEXMAP   0xA200

Definition at line 68 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_TEXMAP2

#define ID_MAT_TEXMAP2   0xA33A

Definition at line 69 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_TRANSPARENCY

#define ID_MAT_TRANSPARENCY   0xA050

Definition at line 66 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_TWO_SIDE

#define ID_MAT_TWO_SIDE   0xA081

Definition at line 67 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_MAT_UOFFSET

#define ID_MAT_UOFFSET   0xA358

Definition at line 74 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_USCALE

#define ID_MAT_USCALE   0xA354

Definition at line 72 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_VOFFSET

#define ID_MAT_VOFFSET   0xA35A

Definition at line 75 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MAT_VSCALE

#define ID_MAT_VSCALE   0xA356

Definition at line 73 of file io3DS.cpp.

Referenced by vl::A3DSLoader::readMapChunk().

◆ ID_MATERIAL_BLOCK

#define ID_MATERIAL_BLOCK   0xAFFF

Definition at line 53 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_3D_EDITOR_CHUNK().

◆ ID_MATERIAL_NAME

#define ID_MATERIAL_NAME   0xA000

Definition at line 60 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_MATERIAL_BLOCK().

◆ ID_OBJECT_BLOCK

#define ID_OBJECT_BLOCK   0x4000

Definition at line 52 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_3D_EDITOR_CHUNK().

◆ ID_PARENT_OBJECT

#define ID_PARENT_OBJECT   0x4F10

Definition at line 85 of file io3DS.cpp.

◆ ID_PIVOT_LIMITS

#define ID_PIVOT_LIMITS   0x4F30

Definition at line 87 of file io3DS.cpp.

◆ ID_PIVOT_OBJECT

#define ID_PIVOT_OBJECT   0x4F20

Definition at line 86 of file io3DS.cpp.

◆ ID_PIVOT_ORDER

#define ID_PIVOT_ORDER   0x4F40

Definition at line 88 of file io3DS.cpp.

◆ ID_SMOOTHING_GROUP_LIST

#define ID_SMOOTHING_GROUP_LIST   0x4150

Definition at line 80 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_TRIANGULAR_MESH

#define ID_TRIANGULAR_MESH   0x4100

Definition at line 77 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_OBJECT_BLOCK().

◆ ID_VERTEX_LIST

#define ID_VERTEX_LIST   0x4110

Definition at line 83 of file io3DS.cpp.

Referenced by vl::A3DSLoader::read_TRIANGULAR_MESH().

◆ ID_XLATE_RANGE

#define ID_XLATE_RANGE   0x4F50

Definition at line 89 of file io3DS.cpp.