1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv 01b2f506d6 0030953: Data Exchange - implement export of mesh data into glTF 2.0 format
Added new class RWGltf_CafWriter for exporting XCAF document into glTF file
as well as Draw Harness command WriteGltf.

Added auxiliary method OSD_Path::FileNameAndExtension() splitting file name into Name and Extension.
2019-11-23 16:03:19 +03:00

21 lines
472 B
Plaintext

vclear
vinit View1
XDisplay -dispMode 1 D
vaxo
vfit
vrenderparams -shadingModel PHONG
vlight -change 0 -intensity 2.5
vlight -change 1 -intensity 0.3
vcamera -orthographic
vdump ${imagedir}/${casename}.png
vdump ${imagedir}/${casename}_ortho_phong.png
vcamera -persp
vdump ${imagedir}/${casename}_persp_phong.png
vrenderparams -shadingModel PBR
vcamera -orthographic
vdump ${imagedir}/${casename}_ortho_pbr.png
vcamera -persp
vdump ${imagedir}/${casename}_persp_pbr.png