Export Plug-In

This chapter describes the use and features of the Export plug-in.

Export Plug-In Features
Method of Use
Executing from MAXScript
Errors and Warnings

Export Plug-In Features

The Export plug-in includes a feature for outputting intermediate files to a specified folder.

Using the Library

To output data for particular nodes only (including lower nodes in the hierarchy), select the nodes you want to output. When outputting the entire scene, it is not necessary to select nodes.

To display the Options window, run NW4C_ForBanner Export with Setting.

To output the intermediate file, specify the appropriate options and click Export or Apply. Unlike Export, Apply does not close the Options window after output. The option settings used at the time of output are automatically recorded as the current options.

Option Settings

Output Options

Options related to outputting intermediate files.

OutputOpt1

General Options

General intermediate files options

GeneralOpt1

Output File Selection

Select this option to specify the type of intermediate file to be output.

OutFileSel1

The value of HasSkinningMatrix in the intermediate file will differ depending on whether the CMDL file and the CSKLA file are output at the same time, or only the CSKLA file is output. This is because vertex processing is omitted in order to shorten the processing time when the CMDL file is not output. Nothing is affected by the different values for HasSkinningMatrix.



Optimization Options

This allows data optimization while outputting data from 3ds Max to intermediate files. Options for this optimization process are set here.

OptimizeOpt1

Quantization Options

This option is for setting the degree of precision to use for vertex data when converting to binary data.
If a fixed-point number is used, the amount of data is less than when a floating-point number is used, but precision is lowered.

QuantizeOpt1

Model Options

These are model-related options.

ModelOpt1

Example of valid data: Node configuration on 3dsMax
 rigidskin_preview   rigidskin_structure 

Animation Options

These are animation-related options.

AnimOpt1

Tolerance Options

Select this option to specify the allowable range of errors when animation curve data is optimized.

ToleranceOpt1

Managing Option Settings

To input or output the option settings as a C3ES (CTR 3D Export Settings) file, use the NW4C_ForBanner Settings menu item in the Options window.

LoadSaveSettings

Saving Option Settings for a Scene

If Save / Load Scene Settings is selected (the default), the option settings used the last time an intermediate file was output will be saved in the scene data when a scene is saved. When the scene is opened, the option settings that were saved in the scene data are loaded. The current option settings remain if option settings were not saved for the scene data. Furthermore, option settings are loaded when a scene for which option settings have been saved is imported.

If Save / Load Scene Settings command is not checked, the option settings used the last time an intermediate file was output are not saved in the scene data. Furthermore, option settings are not loaded when scene data is opened.

Regardless of whether Save/Load Scene Settings is checked or not, option settings at the time an intermediate file was last output are saved as a default settings file.
In addition, this default settings file is loaded at time of next startup.
The default settings file is saved under the name nw4cmax.c3es in the plug-in settings folder C:\Documents and Settings\[user_name]\Local Settings\Application Data\Autodesk\3dsmax\[max_version]\jpn\plugcfg.

To delete the option settings saved in the scene data, check Reset Scene Settings command.

To delete the option settings that were saved in the scene data, check Delete Scene Settings command. However, this only works if you uncheck Save / Load Scene Settings and then save the scene data. Unless you save the scene data, the option settings are retained.

Loading/Saving Option Settings Using C3ES Files

Click Save Settings to r3es File to output option settings to a C3ES file. Option settings will be output when an output file name is specified on the file selection window. If the extension of the output file is other than .c3es, .c3es will be added automatically.

Click Load Settings from c3es File to enter option settings from a C3ES file. Option settings will be input when an input file name is specified on the file selection window.


Errors and Warnings

Error Verification

If an error or warning occurs during export, it will be output to the listener window.

Some errors are also displayed in a message box.


Error Types and Handling Errors

The error list as currently implemented is presented below in alphabetical order.

When an error is detected, the Export process halts.



Warning Types and Handling Warnings

The Warning List, as it is currently implemented, is presented below in alphabetical order.

The Export process will continue, even if a warning is detected.



CONFIDENTIAL