OCCT live Draw Harness examples

XDE / Import / glTF 1.0

Sample shows glTF model import into XCAF document using RWGltf_CafReader class and displays created document within 3D Viewer using XCAFPrs_AISObject presentation.


pload MODELING OCAF XDE VISUALIZATION

# read glTF model into XCAF document
jsupload /models/buggy/Buggy.glb
ReadGltf D Buggy.glb

# display XCAF document in shaded mode and exploded into parts
vinit View1
XDisplay -dispMode 1 D -explore
vfit









 

Copyright © Kirill Gavrilov Tartynskih, 2021