diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-21 12:07:59 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-21 12:07:59 -0800 |
| commit | 446ce137c6823ba9eff273bdafdaf266287c7c98 (patch) | |
| tree | d20aab3e2ed08d7b3ca71c2f40db6a93ea00c459 /NvBlast/docs/_source/ext_import.txt | |
| download | blast-1.0.0-beta.tar.xz blast-1.0.0-beta.zip | |
first commitv1.0.0-beta
Diffstat (limited to 'NvBlast/docs/_source/ext_import.txt')
| -rw-r--r-- | NvBlast/docs/_source/ext_import.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/NvBlast/docs/_source/ext_import.txt b/NvBlast/docs/_source/ext_import.txt new file mode 100644 index 0000000..40eafcc --- /dev/null +++ b/NvBlast/docs/_source/ext_import.txt @@ -0,0 +1,22 @@ +/*! \page pageextapeximport Apex Import (NvBlastExtApexImport) + +Blast extensions provide Nv::Blast::ApexImporter::ApexImportTool, which can be used for converting APEX Destructible assets into Blast assets. + +This tool supports two bond generation modes and can be configured by providing: +\code +struct ApexImporterConfig +{ + enum InterfaceSearchMode { EXACT, FORCED, MODE_COUNT }; + InterfaceSearchMode infSearchMode; +} +\endcode + +1) EXACT - Importer tries to find triangles from two chunks which lay in common surface. If such triangles are found, their intersections are considered as the interface. + +2) FORCED - Bond creation is forced no matter how far chunks from each other. Interface parameters are approximated. + +Nv::Blast::ApexImporter::ApexImportTool can be itinialized by providing ApexSDK and ModuleDestructible, or they can be created internally. + +If ApexSDK and ModuleDestructible were provided, they are not freed when Nv::Blast::ApexImporter::~ApexImportTool() is called. +<br> +*/ |