Pipeline 3D Export Tool Requirements

Version 14 (kaetemi, 02/25/2012 08:34 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 13 kaetemi
* Generates lightmaps (LM) if required per shape per lightgroup (shape_lightmap_not_optimized/filename_nodename_lightgroupid.tga & filename_nodename.txt (if OptLightmapLog))
31 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.
32 1 kaetemi
33 1 kaetemi
Does not export:
34 1 kaetemi
* Accelerator
35 1 kaetemi
* Zone quad patch
36 1 kaetemi
* Particle system
37 1 kaetemi
* PACS Primitive
38 2 kaetemi
* Node properties DONOTEXPORT checked
39 1 kaetemi
* Node properties COLLISION checked
40 1 kaetemi
* Node properties COLLISION_EXTERIOR checked
41 7 kaetemi
42 7 kaetemi
Shapes may be:
43 7 kaetemi
* Particle system (???)
44 7 kaetemi
* Wave maker
45 10 kaetemi
* Node properties USE_REMANENCE checked (what is this?)
46 7 kaetemi
* Flare
47 7 kaetemi
* Triangle object
48 7 kaetemi
49 7 kaetemi
Triangle object may be:
50 7 kaetemi
* Water shape
51 7 kaetemi
* Shape with lod
52 7 kaetemi
* Shape without lod
53 2 kaetemi
54 9 kaetemi
Input parameters:
55 9 kaetemi
* LogErrorFile
56 9 kaetemi
* LogDependFile
57 9 kaetemi
* SrcFile
58 9 kaetemi
* DstDirectoryWithoutCoarseMesh
59 9 kaetemi
* DstDirectoryWithCoarseMesh
60 9 kaetemi
* DstDirectoryLightmap
61 9 kaetemi
* DstDirectoryAnim
62 9 kaetemi
* OptExportLighting
63 9 kaetemi
* OptShadow
64 9 kaetemi
* OptLightingLimit
65 9 kaetemi
* OptLumelSize
66 9 kaetemi
* OptOversampling
67 9 kaetemi
* OptLightmapLog
68 9 kaetemi
69 8 kaetemi
h2. ig
70 2 kaetemi
71 2 kaetemi
Exports:
72 3 kaetemi
* All instance groups for IGNAME used in node properties (igname.ig)
73 2 kaetemi
74 2 kaetemi
Instance groups contain:
75 2 kaetemi
* All shapes (by name)
76 2 kaetemi
* All lights
77 1 kaetemi
* All helpers
78 3 kaetemi
79 8 kaetemi
h2. skel
80 3 kaetemi
81 3 kaetemi
Exports:
82 3 kaetemi
* One skeleton containing node tree in reference position starting from node Bip01 (filename.skel)