Method and system for converting DWG model into GLTF model

The invention discloses a method and system for converting a DWG model into a GLTF model, and relates to the technical field of three-dimensional modeling. The method comprises the following steps: opening a DWG file; traversing all the block instances in a recursive manner to obtain three-dimension...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG YAKUN, CHAI HAORAN, WEI XINZHENG, CHEN AOHAN, TANG XIN, LEE HAK-BEOM
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and system for converting a DWG model into a GLTF model, and relates to the technical field of three-dimensional modeling. The method comprises the following steps: opening a DWG file; traversing all the block instances in a recursive manner to obtain three-dimensional geometric objects of all the block instances; performing triangular patch processing on all the three-dimensional geometric objects to obtain triangular patches; reading geometric information and material information of all triangular patches, performing grid compression processing on the geometric information to generate a bin file, converting the material information into a PBR material, and storing a texture mapping file; and generating a gltf file. According to the method, geometric information and material information are completely reserved, the model conversion efficiency is effectively improved, web end visual display is closer to reality, and original detailed information can be fully displayed. In addi