When using the -P or -M options on a large scene, it can happen that
the conversion would fail for a small number of outliers. For example
there can be some line meshes which aren't supported by MeshOptimizer,
or there are 16-bit images not supported by a certain image conversion
plugin.
Failing the whole operation in that case may be too radical, especially
if the only alternative would be to write a Python script that deals
with the outliers in a custom way. The option simply makes the
processing step pass through the original data unchanged, which may be a
simple and good-enough solution in many of those cases.
@ -412,6 +424,8 @@ int main(int argc, char** argv) {
.addArrayOption('c',"converter-options").setHelp("converter-options","configuration options to pass to the converter(s)","key=val,key2=val2,…")
.addArrayOption('c',"converter-options").setHelp("converter-options","configuration options to pass to the converter(s)","key=val,key2=val2,…")
.addArrayOption('p',"image-converter-options").setHelp("image-converter-options","configuration options to pass to the image converter(s)","key=val,key2=val2,…")
.addArrayOption('p',"image-converter-options").setHelp("image-converter-options","configuration options to pass to the image converter(s)","key=val,key2=val2,…")
.addArrayOption('m',"mesh-converter-options").setHelp("mesh-converter-options","configuration options to pass to the mesh converter(s)","key=val,key2=val2,…")
.addArrayOption('m',"mesh-converter-options").setHelp("mesh-converter-options","configuration options to pass to the mesh converter(s)","key=val,key2=val2,…")
.addBooleanOption("passthrough-on-image-converter-failure").setHelp("passthrough-on-image-converter-failure","pass original data through if --image-converter fails")
.addBooleanOption("passthrough-on-mesh-converter-failure").setHelp("passthrough-on-mesh-converter-failure","pass original data through if --mesh-converter fails")
.addOption("mesh").setHelp("mesh","convert just a single mesh instead of the whole scene, ignored if --concatenate-meshes is specified","ID")
.addOption("mesh").setHelp("mesh","convert just a single mesh instead of the whole scene, ignored if --concatenate-meshes is specified","ID")
.addOption("mesh-level").setHelp("mesh-level","level to select for single-mesh conversion","index")
.addOption("mesh-level").setHelp("mesh-level","level to select for single-mesh conversion","index")
.addBooleanOption("concatenate-meshes").setHelp("concatenate-meshes","flatten mesh hierarchy and concatenate them all together")
.addBooleanOption("concatenate-meshes").setHelp("concatenate-meshes","flatten mesh hierarchy and concatenate them all together")
@ -879,6 +893,8 @@ well, the IDs reference attributes of the first mesh.)")