I’m encountering a scenario with 188.8.131.52 where an fbx file is being opened by Scene and some nodes and geometry are being lost. This has never been an issue in the past and has only presented itself with a set of models we have received from a client.
Further inspection reveals that there are some abandoned nodes not in the Scene hierarchy, but they exist within the Scene.Library.
Another thing to notice is that the first 5 children nodes are successfully loaded and exist within the RootNode hieararchy. Children at index of 5 and over are lost, and Geometry.ParentNode.Parent is null.
Image showing the input and output differences:
Discrepancy.jpg (66.1 KB)
I believe there are abandoned nodes located by the following:
Scene scene = new Scene( openFileDialog.FileName ); var abandonedMeshes = scene.Library.OfType<Mesh>().Where( m => m.ParentNode.ParentNode == null ).ToList(); var abandoned (1.6 MB)
Nodes = scene.Library.OfType().Where( n => n.ParentNode == null ).ToList();