Pipeline 3D Export Tool Requirements

Version 15 (kaetemi, 09/01/2012 05:02 pm)

1 1 kaetemi
h1. Pipeline 3D Export Tool Requirements
2 1 kaetemi
3 1 kaetemi
This page lists the requirements for creating export tools for 3D data which can be used by the pipeline.
4 1 kaetemi
5 11 kaetemi
An export tool would be either one of the following:
6 11 kaetemi
* A console tool that can be executed once per input file
7 11 kaetemi
* An interface for inter-process communication that commands a running 3d modeling application process
8 14 kaetemi
* A tool that commands a 3d modeling application to process many input files in batch (Not recommended, as it does not provide sufficiently flexible feedback, and is totally annoying when it crashes)
9 12 kaetemi
10 11 kaetemi
And needs to accept the export modes with their respective input parameters, and output all of the requested files.
11 11 kaetemi
12 1 kaetemi
h3. Export modes
13 1 kaetemi
14 5 kaetemi
|shape|1 -> many|shape; anim; tga (lightmap)|
15 5 kaetemi
|ig|1 -> many|ig|
16 5 kaetemi
|skel|1 -> 1|skel|
17 4 kaetemi
|clod|||
18 4 kaetemi
|cmb|||
19 4 kaetemi
|pacs_prim|||
20 4 kaetemi
|swt|||
21 4 kaetemi
|veget|||
22 4 kaetemi
|zone|||
23 1 kaetemi
24 1 kaetemi
h2. shape
25 1 kaetemi
26 1 kaetemi
Exports:
27 1 kaetemi
* All shape nodes with lod (shape_with_coarse_mesh/nodename.shape)
28 1 kaetemi
* All shape nodes without lod (shape_not_optimized/nodename.shape)
29 1 kaetemi
* Animations per shape if any (shape_anim/nodename.anim)
30 15 kaetemi
** When @Automatic Animation@ is checked.
31 13 kaetemi
* Generates lightmaps (LM) if required per shape per lightgroup (shape_lightmap_not_optimized/filename_nodename_lightgroupid.tga & filename_nodename.txt (if OptLightmapLog))
32 7 kaetemi
** We might want to modify this to export the data required for a lightmap generation tool only to a data file, and run a lightmap generation tool outside of the 3d export process, that uses the exported shape and light information from the data file. See calc_lm*.* files under nel_mesh_lib.
33 1 kaetemi
34 1 kaetemi
Does not export:
35 1 kaetemi
* Accelerator
36 1 kaetemi
* Zone quad patch
37 1 kaetemi
* Particle system
38 1 kaetemi
* PACS Primitive
39 2 kaetemi
* Node properties DONOTEXPORT checked
40 1 kaetemi
* Node properties COLLISION checked
41 1 kaetemi
* Node properties COLLISION_EXTERIOR checked
42 7 kaetemi
43 7 kaetemi
Shapes may be:
44 7 kaetemi
* Particle system (???)
45 7 kaetemi
* Wave maker
46 10 kaetemi
* Node properties USE_REMANENCE checked (what is this?)
47 7 kaetemi
* Flare
48 7 kaetemi
* Triangle object
49 7 kaetemi
50 7 kaetemi
Triangle object may be:
51 7 kaetemi
* Water shape
52 7 kaetemi
* Shape with lod
53 7 kaetemi
* Shape without lod
54 2 kaetemi
55 9 kaetemi
Input parameters:
56 9 kaetemi
* LogErrorFile
57 9 kaetemi
* LogDependFile
58 9 kaetemi
* SrcFile
59 9 kaetemi
* DstDirectoryWithoutCoarseMesh
60 9 kaetemi
* DstDirectoryWithCoarseMesh
61 9 kaetemi
* DstDirectoryLightmap
62 9 kaetemi
* DstDirectoryAnim
63 9 kaetemi
* OptExportLighting
64 9 kaetemi
* OptShadow
65 9 kaetemi
* OptLightingLimit
66 9 kaetemi
* OptLumelSize
67 9 kaetemi
* OptOversampling
68 9 kaetemi
* OptLightmapLog
69 9 kaetemi
70 8 kaetemi
h2. ig
71 2 kaetemi
72 2 kaetemi
Exports:
73 3 kaetemi
* All instance groups for IGNAME used in node properties (igname.ig)
74 2 kaetemi
75 2 kaetemi
Instance groups contain:
76 2 kaetemi
* All shapes (by name)
77 2 kaetemi
* All lights
78 1 kaetemi
* All helpers
79 3 kaetemi
80 8 kaetemi
h2. skel
81 3 kaetemi
82 3 kaetemi
Exports:
83 3 kaetemi
* One skeleton containing node tree in reference position starting from node Bip01 (filename.skel)