Optimizes Vtx and VtxNv in the NIFF1.0 data
niffopt <input file> <output file>
niffopt is a filter that compensates for the optimization process of the niff2gfx converter. It optimizes the NIFF1.0 data's Vtx and VtxNv data.
With niff2gfx, Shape animation data is output as Raw Data, and the NIFF data's Vtx (vertex coordinates) and VtxNv (normal vector of the vertex) data is output as-is. Because this data eats up a large amount of memory, the niffopt command can be used to optimize the data and thereby economize on memory.
niffopt does not support NIFF 2.0 data, but there is no need to use the command in this case because the niff2nvf converter executes this same kind of optimization during the conversion process.
Furthermore, at this stage, if there are too many vertices, then memory cannot be secured for the program and problems will arise. In the SGI version, the program will automatically terminate if enough memory cannot be secured. But in the Windows version, the program will continue to try to secure memory, and this will interfere with the operation of Windows. If this occurs, stop the program using Ctrl-C.