Pipeline 3D Export Tool Requirements

Version 9 (kaetemi, 02/25/2012 08:12 pm) → Version 10/18 (kaetemi, 02/25/2012 08:17 pm)

h1. Pipeline 3D Export Tool Requirements

This page lists the requirements for creating export tools for 3D data which can be used by the pipeline.

h3. Export modes

|shape|1 -> many|shape; anim; tga (lightmap)|
|ig|1 -> many|ig|
|skel|1 -> 1|skel|
|clod|||
|cmb|||
|pacs_prim|||
|swt|||
|veget|||
|zone|||

h2. shape

Exports:
* All shape nodes with lod (shape_with_coarse_mesh/nodename.shape)
* All shape nodes without lod (shape_not_optimized/nodename.shape)
* Animations per shape if any (shape_anim/nodename.anim)
* Generates lightmaps (LM) if required per shape per lightgroup (shape_lightmap_not_optimized/filename_nodename_lightgroupid.tga & filename_nodename.txt (log))
** 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.

Does not export:
* Accelerator
* Zone quad patch
* Particle system
* PACS Primitive
* Node properties DONOTEXPORT checked
* Node properties COLLISION checked
* Node properties COLLISION_EXTERIOR checked

Shapes may be:
* Particle system (???)
* Wave maker
* Node properties USE_REMANENCE checked (what is this?)
* Flare
* Triangle object

Triangle object may be:
* Water shape
* Shape with lod
* Shape without lod

Input parameters:
* LogErrorFile
* LogDependFile
* SrcFile
* DstDirectoryWithoutCoarseMesh
* DstDirectoryWithCoarseMesh
* DstDirectoryLightmap
* DstDirectoryAnim
* OptExportLighting
* OptShadow
* OptLightingLimit
* OptLumelSize
* OptOversampling
* OptLightmapLog

h2. ig

Exports:
* All instance groups for IGNAME used in node properties (igname.ig)

Instance groups contain:
* All shapes (by name)
* All lights
* All helpers

h2. skel

Exports:
* One skeleton containing node tree in reference position starting from node Bip01 (filename.skel)