mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros
3ds_chunks.h File Reference

Defines a list of possible elements (chunks) in 3ds files. More...

Go to the source code of this file.

Macros

#define PRIMARY_ID   0x4D4D
 
#define EDIT3DS   0x3D3D
 
#define KEYF3DS   0xB000
 
#define VERSION   0x0002
 
#define MESH_VERSION   0x3D3E
 
#define KFVERSION   0x0005
 
#define COLOR_F   0x0010
 
#define COLOR_24   0x0011
 
#define LIN_COLOR_24   0x0012
 
#define LIN_COLOR_F   0x0013
 
#define INT_PERCENTAGE   0x0030
 
#define FLOAT_PERC   0x0031
 
#define MASTER_SCALE   0x0100
 
#define IMAGE_FILE   0x1100
 
#define AMBIENT_LIGHT   0x2100
 
#define NAMED_OBJECT   0x4000
 
#define OBJ_MESH   0x4100
 
#define MESH_VERTICES   0x4110
 
#define VERTEX_FLAGS   0x4111
 
#define MESH_FACES   0x4120
 
#define MESH_MATER   0x4130
 
#define MESH_TEX_VERT   0x4140
 
#define MESH_XFMATRIX   0x4160
 
#define MESH_COLOR_IND   0x4165
 
#define MESH_TEX_INFO   0x4170
 
#define HIRARCHY   0x4F00
 
#define MAT_ENTRY   0xAFFF
 
#define MAT_NAME   0xA000
 
#define MAT_AMBIENT   0xA010
 
#define MAT_DIFFUSE   0xA020
 
#define MAT_SPECULAR   0xA030
 
#define MAT_SHININESS   0xA040
 
#define MAT_FALLOFF   0xA052
 
#define MAT_EMISSIVE   0xA080
 
#define MAT_SHADING   0xA100
 
#define MAT_TEXMAP   0xA200
 
#define MAT_TEXFLNM   0xA300
 
#define OBJECT_LIGHT   0x4600
 
#define OBJECT_CAMERA   0x4700
 
#define ANIM_HEADER   0xB00A
 
#define ANIM_OBJ   0xB002
 
#define ANIM_NAME   0xB010
 
#define ANIM_POS   0xB020
 
#define ANIM_ROT   0xB021
 
#define ANIM_SCALE   0xB022
 

Detailed Description

Defines a list of possible elements (chunks) in 3ds files.

Copyright Jan-Philipp Kappmeier, Melanie Schmidt

Definition in file 3ds_chunks.h.

Macro Definition Documentation

#define AMBIENT_LIGHT   0x2100

Definition at line 24 of file 3ds_chunks.h.

#define ANIM_HEADER   0xB00A

Definition at line 49 of file 3ds_chunks.h.

#define ANIM_NAME   0xB010

Definition at line 51 of file 3ds_chunks.h.

#define ANIM_OBJ   0xB002

Definition at line 50 of file 3ds_chunks.h.

#define ANIM_POS   0xB020

Definition at line 52 of file 3ds_chunks.h.

#define ANIM_ROT   0xB021

Definition at line 53 of file 3ds_chunks.h.

#define ANIM_SCALE   0xB022

Definition at line 54 of file 3ds_chunks.h.

#define COLOR_24   0x0011

Definition at line 17 of file 3ds_chunks.h.

#define COLOR_F   0x0010

Definition at line 16 of file 3ds_chunks.h.

#define EDIT3DS   0x3D3D

Definition at line 11 of file 3ds_chunks.h.

#define FLOAT_PERC   0x0031

Definition at line 21 of file 3ds_chunks.h.

#define HIRARCHY   0x4F00

Definition at line 35 of file 3ds_chunks.h.

#define IMAGE_FILE   0x1100

Definition at line 23 of file 3ds_chunks.h.

#define INT_PERCENTAGE   0x0030

Definition at line 20 of file 3ds_chunks.h.

#define KEYF3DS   0xB000

Definition at line 12 of file 3ds_chunks.h.

#define KFVERSION   0x0005

Definition at line 15 of file 3ds_chunks.h.

#define LIN_COLOR_24   0x0012

Definition at line 18 of file 3ds_chunks.h.

#define LIN_COLOR_F   0x0013

Definition at line 19 of file 3ds_chunks.h.

#define MASTER_SCALE   0x0100

Definition at line 22 of file 3ds_chunks.h.

#define MAT_AMBIENT   0xA010

Definition at line 38 of file 3ds_chunks.h.

#define MAT_DIFFUSE   0xA020

Definition at line 39 of file 3ds_chunks.h.

#define MAT_EMISSIVE   0xA080

Definition at line 43 of file 3ds_chunks.h.

#define MAT_ENTRY   0xAFFF

Definition at line 36 of file 3ds_chunks.h.

#define MAT_FALLOFF   0xA052

Definition at line 42 of file 3ds_chunks.h.

#define MAT_NAME   0xA000

Definition at line 37 of file 3ds_chunks.h.

#define MAT_SHADING   0xA100

Definition at line 44 of file 3ds_chunks.h.

#define MAT_SHININESS   0xA040

Definition at line 41 of file 3ds_chunks.h.

#define MAT_SPECULAR   0xA030

Definition at line 40 of file 3ds_chunks.h.

#define MAT_TEXFLNM   0xA300

Definition at line 46 of file 3ds_chunks.h.

#define MAT_TEXMAP   0xA200

Definition at line 45 of file 3ds_chunks.h.

#define MESH_COLOR_IND   0x4165

Definition at line 33 of file 3ds_chunks.h.

#define MESH_FACES   0x4120

Definition at line 29 of file 3ds_chunks.h.

#define MESH_MATER   0x4130

Definition at line 30 of file 3ds_chunks.h.

#define MESH_TEX_INFO   0x4170

Definition at line 34 of file 3ds_chunks.h.

#define MESH_TEX_VERT   0x4140

Definition at line 31 of file 3ds_chunks.h.

#define MESH_VERSION   0x3D3E

Definition at line 14 of file 3ds_chunks.h.

#define MESH_VERTICES   0x4110

Definition at line 27 of file 3ds_chunks.h.

#define MESH_XFMATRIX   0x4160

Definition at line 32 of file 3ds_chunks.h.

#define NAMED_OBJECT   0x4000

Definition at line 25 of file 3ds_chunks.h.

#define OBJ_MESH   0x4100

Definition at line 26 of file 3ds_chunks.h.

#define OBJECT_CAMERA   0x4700

Definition at line 48 of file 3ds_chunks.h.

#define OBJECT_LIGHT   0x4600

Definition at line 47 of file 3ds_chunks.h.

#define PRIMARY_ID   0x4D4D

Definition at line 10 of file 3ds_chunks.h.

#define VERSION   0x0002

Definition at line 13 of file 3ds_chunks.h.

#define VERTEX_FLAGS   0x4111

Definition at line 28 of file 3ds_chunks.h.