aboutsummaryrefslogtreecommitdiff
path: root/tools/ApexImporter/src/Main.cpp
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-08-28 13:55:34 -0700
committerBryan Galdrikian <[email protected]>2017-08-28 13:55:34 -0700
commit1e887d827e65a084a0ad0ba933c61a8330aeee07 (patch)
tree1e2aab418dadd37f5dc0aae4d8b00e81d909fd24 /tools/ApexImporter/src/Main.cpp
parentRemoving ArtistTools and CurveEditor projects (diff)
downloadblast-1e887d827e65a084a0ad0ba933c61a8330aeee07.tar.xz
blast-1e887d827e65a084a0ad0ba933c61a8330aeee07.zip
Candidate 1.1 release.
* SampleAssetViewer now unconditionally loads the commandline-defined asset. * Better error handling in AuthoringTool (stderr and user error handler). * More consistent commandline switches in AuthoringTool and ApexImporter (--ll, --tx, --px flags). * NvBlastExtAuthoring ** Mesh cleaner, tries to remove self intersections and open edges in the interior of a mesh. ** Ability to set interior material to existing (external) material, or a new material id. ** Material ID remapping API. ** Rotation of voronoi cells used for fracturing. * Fixed smoothing groups in FBX exporter code. * Impulse passing from parent to child chunks fixed. * Reading unskinned fbx meshes correctly. * Collision hull generation from fbx meshes fixed. * Win32/64 PerfTest crash fix.
Diffstat (limited to 'tools/ApexImporter/src/Main.cpp')
-rw-r--r--tools/ApexImporter/src/Main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/ApexImporter/src/Main.cpp b/tools/ApexImporter/src/Main.cpp
index 6479d72..b47f578 100644
--- a/tools/ApexImporter/src/Main.cpp
+++ b/tools/ApexImporter/src/Main.cpp
@@ -219,13 +219,13 @@ int main(int argc, const char* const* argv)
TCLAP::SwitchArg debugSwitch("d", "debug", "Print debug output", cmd, false);
- TCLAP::SwitchArg bpxaOutputArg("", "bpxa", "Output ExtPxAsset to the output directory (ext: bpxa)", false);
- cmd.add(bpxaOutputArg);
+ TCLAP::SwitchArg pxOutputArg("", "px", "Output ExtPxAsset to the output directory", false);
+ cmd.add(pxOutputArg);
- TCLAP::SwitchArg tkOutputArg("", "tk", "Output TkAsset to the output directory (ext: tkasset)", false);
+ TCLAP::SwitchArg tkOutputArg("", "tk", "Output TkAsset to the output directory", false);
cmd.add(tkOutputArg);
- TCLAP::SwitchArg llOutputArg("", "ll", "Output LL Blast asset to the output directory (ext: llasset)", false);
+ TCLAP::SwitchArg llOutputArg("", "ll", "Output LL Blast asset to the output directory", false);
cmd.add(llOutputArg);
TCLAP::SwitchArg fbxAsciiArg("", "fbxascii", "Output FBX as an ascii file (defaults to binary output)", false);
@@ -246,7 +246,7 @@ int main(int argc, const char* const* argv)
// parse cmd input
cmd.parse(argc, argv);
- bool bOutputBPXA = bpxaOutputArg.getValue();
+ bool bOutputPX = pxOutputArg.getValue();
bool bOutputTK = tkOutputArg.getValue();
bool bOutputLL = llOutputArg.getValue();
@@ -259,10 +259,10 @@ int main(int argc, const char* const* argv)
bool bNonSkinned = nonSkinnedFBX.isSet();
// Did we specify no output formats?
- if (!bpxaOutputArg.isSet() && !tkOutputArg.isSet() && !llOutputArg.isSet())
+ if (!pxOutputArg.isSet() && !tkOutputArg.isSet() && !llOutputArg.isSet())
{
- std::cout << "Didn't specify an output format on the command line, so defaulting to outputting BPXA" << std::endl;
- bOutputBPXA = true;
+ std::cout << "Didn't specify an output format on the command line, so defaulting to outputting an ExtPxAsset" << std::endl;
+ bOutputPX = true;
}
// Did we specify no geometry output formats?
if (!bOutputObjFile && !bOutputFbxFile)
@@ -312,7 +312,7 @@ int main(int argc, const char* const* argv)
if (debug)
lout().setMinVerbosity(Log::MOST_VERBOSE);
- run(infile, outDir, assetName, mode, bOutputLL, bOutputTK, bOutputBPXA, bOutputObjFile, bOutputFbxFile, bOutputFBXAscii, bFbxCollision, bNonSkinned);
+ run(infile, outDir, assetName, mode, bOutputLL, bOutputTK, bOutputPX, bOutputObjFile, bOutputFbxFile, bOutputFBXAscii, bFbxCollision, bNonSkinned);
}
catch (TCLAP::ArgException &e) // catch any exceptions
{