Major Quality Loss
I am observing a major loss in quality in the XKT format as compared to the original IFC or intermediate GLB file formats.
I have attached the screenshots of the original IFC Viewer, GLB file viewer, and XKT viewer for the corresponding enclosed sample.ifc, sample.glb, and sample.xkt files respectively.
Please let me know if this is a limitation of the XKT viewer or if I can do something to resolve it during the GLB to xkt conversion or while using the XKT viewer plugin.
Hi, thanks for logging this issue. What versions of ifc2gltf,
xeokit-convert and xeokit-sdk are you using?
On Tue, Feb 11, 2025 at 6:37 PM kushal154 @.***> wrote:
I am observing a major loss in quality in the XKT format as compared to the original IFC or intermediate GLB file formats.
I have attached the screenshots of the original IFC Viewer, GLB file viewer, and XKT viewer for the corresponding enclosed sample.ifc, sample.glb, and sample.xkt files respectively.
Please let me know if this is a limitation of the XKT viewer or if I can do something to resolve it during the GLB to xkt conversion or while using the XKT viewer plugin. GLB.Viewer.png (view on web) https://github.com/user-attachments/assets/3378e996-28df-46a3-9de3-befcd546f1c1 IFC.Viewer.png (view on web) https://github.com/user-attachments/assets/21cc258b-06d2-4e3f-a1ea-c53845389075 XKT.Viewer.png (view on web) https://github.com/user-attachments/assets/be48cdda-d67b-4299-8745-0d6cecb70871
sample files.zip https://github.com/user-attachments/files/18756234/sample.files.zip
— Reply to this email directly, view it on GitHub https://github.com/xeokit/xeokit-convert/issues/192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUJHA7I3DKBIMT5SX3ZTL2PIYN7AVCNFSM6AAAAABW5UE7HWVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DMMBVHA2DCNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: kushal154]kushal154 created an issue (xeokit/xeokit-convert#192) https://github.com/xeokit/xeokit-convert/issues/192
I am observing a major loss in quality in the XKT format as compared to the original IFC or intermediate GLB file formats.
I have attached the screenshots of the original IFC Viewer, GLB file viewer, and XKT viewer for the corresponding enclosed sample.ifc, sample.glb, and sample.xkt files respectively.
Please let me know if this is a limitation of the XKT viewer or if I can do something to resolve it during the GLB to xkt conversion or while using the XKT viewer plugin. GLB.Viewer.png (view on web) https://github.com/user-attachments/assets/3378e996-28df-46a3-9de3-befcd546f1c1 IFC.Viewer.png (view on web) https://github.com/user-attachments/assets/21cc258b-06d2-4e3f-a1ea-c53845389075 XKT.Viewer.png (view on web) https://github.com/user-attachments/assets/be48cdda-d67b-4299-8745-0d6cecb70871
sample files.zip https://github.com/user-attachments/files/18756234/sample.files.zip
— Reply to this email directly, view it on GitHub https://github.com/xeokit/xeokit-convert/issues/192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUJHA7I3DKBIMT5SX3ZTL2PIYN7AVCNFSM6AAAAABW5UE7HWVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DMMBVHA2DCNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Lindsay Kay | Software Engineer http://xeolabs.com
Here is the version info.
- ifc2gltf - 4.33
- xeokit-convert - 1.1.23
- xeokit-sdk - 2.6.65
Is there any update on this please?
If your enterprise needs prioritised support, please get in touch here: https://creoox.com/en/contact/
I've just tested IFC->GLB->XKT conversion using ifc2gltf 4.35.0 and xeokit-convert 1.1.24 and the distortion seems resolved now.
See attached zip for converted files.
The converter.json config file I used with ifc2gltf was:
{
"inputParameters": {
"exportPropertySets": "yes",
"exportIfcPropertyTypes": "yes",
"exportIfcValueTypes": "yes",
"exportPolylines": "yes",
"excludeGeometryForIfcTypes": [ "IfcOpeningElement" ],
"exportGeometryOnlyForIfcTypes": [ "" ],
"excludeGUIDs": [ "" ],
"exportOnlyGUIDs": [ "" ],
"centerModelAtOrigin": "no",
"ignoreProfileRadius": "yes",
"enableGltfCompression": "yes",
"enableGltfQuantization": "no",
"exportNormals": "no",
"numPointsPerCircle": 18,
"licenceKey": "",
"gltfRootNodeRotationVector": [ 1, 0, 0 ],
"gltfRootNodeRotationInDegrees": 90,
"maxTransparency": 0.9,
"enableTextureExport": "yes",
"maxNumberOfThreads": 100000
}
}
I tried the new versions as suggested and it worked perfectly for a small sample model. However it breaks when I try the bigger model. And I think it is breaking at IFC->GLB conversion. Please check the screenshot and enclosed sample files.
Sample files are available here.