Importer (NvBlastExtImport)

This extension provides tools to import data from external formats and convert to a Blast™ asset.

Currently the only external data format handled is NvApexDestructibleAsset, handled by Nv::Blast::ApexImporter::ApexImportTool.

This tool supports two bond generation modes and can be configured by providing:

struct ApexImporterConfig
{
    enum InterfaceSearchMode { EXACT, FORCED, MODE_COUNT };
    InterfaceSearchMode infSearchMode;
}

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 are from each other. Interface parameters are approximated.

Nv::Blast::ApexImporter::ApexImportTool can be initialized 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.