mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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.
21 lines
472 B
Plaintext
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
|