We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FBX -> GLTF2 Face issues

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);

@bortos

We have logged an issue as THREEDNET-912 in our issue tracking system for more investigation. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.