Hi, I’ve encountered odd issues where faces seem to be removed when concerting some CAD fbx models into gltf. “Aspose.3D” Version=“21.6.0”
Source (Blender faces: 34288)
image.jpg (164.3 KB)
Output (Blender faces: 34498)
image.jpg (115.7 KB)
See attached zip which has the source fbx file, and also the output gltf file.
Bug.zip (913.5 KB)
Triangle winding seems off.
There are some other artifacts too:
image.jpg (201.5 KB)
Code is super simple:
Scene scene = new Scene();
scene.Open(inputFile, cancellationToken);
var fileName = Path.GetFileNameWithoutExtension(inputFile);
var saveOptions = new GltfSaveOptions(FileFormat.GLTF2)
{
SaveExtras = false,
BufferFile = fileName + ".buffer.bin"
};
scene.Save(outputFile, saveOptions, cancellationToken);