-
Notifications
You must be signed in to change notification settings - Fork 0
/
export.h
61 lines (45 loc) · 1.32 KB
/
export.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#include <windows.h>
#include <max.h>
#include <decomp.h>
#include <stdmat.h>
#include <iparamb2.h>
#include <iskin.h>
#include <stdarg.h>
#include "log.h"
extern Interface* iface; //ˆâ¥àä¥©á ¤®áâã¯
extern ExpInterface* exp_iface; //ˆâ¥àä¥©á ¤®áâ㯠¤«ï íªá¯®àâ
extern TimeValue static_frame; //‘â â¨çë© ª ¤à
extern INode* root; //ª®à¥ì
extern Interval anim_range;
extern float anim_fps;
const float ANIM_FRAMES_STEP = 100;
///ä« £¨ íªá¯®àâ
extern bool flag_export_materials;
extern bool flag_export_selected;
extern bool flag_export_nodes;
extern bool flag_export_lights;
extern bool flag_export_cameras;
extern bool flag_export_shapes;
extern bool flag_export_geometry;
extern bool flag_export_helpers;
///ᮡá⢥® íªá¯®àâ
void Preprocess (INode*);
void Export ();
void Export (INode*,INode*);
void Export (Mtl* mtl,Mtl* parent_mtl);
void ExportMesh (INode*,TimeValue=0);
void ExportAnimKeys (INode*);
void ExportHelper (INode*);
void ExportLight (INode*);
void ExportCamera (INode*);
//¬®¤¨ä¨ª â®àë
ISkin* FindSkin (INode*);
///ã¯à ¢ «¥¨¥ ¯à®£à¥áᮬ
void logProgressNext ();
//¥áâì «¨ ¨¬ æ¨ï
bool TestAnim (Control*);
//á¡à®á ¬ â¥à¨ «®¢
void ResetMaterials ();
//⨯ helper'
const char* GetHelperType (Object&);