OCCT live Draw Harness examples

WebGL / Cubemap DXT1

Samples sets up environment cubemap image stored in DXT1 compression format. This samples requires GL_WEBGL_compressed_texture_s3tc extension.


pload MODELING VISUALIZATION

# display sample model
box b 1 2 3
psphere s 1
vinit View1
vclear
vcamera -fovy 100
vzbufftrihedron
vdisplay -dispMode 1 s
vfit
vrenderparams -shadingModel pbr

# setup environment cubemap texture
jsupload /images/cubemap_labels.dds
vbackground -cubemap cubemap_labels.dds -invertedz

 

Copyright © Kirill Gavrilov Tartynskih, 2021