MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #31225 All Revisions ] Back to Issue ]
Summary 0031225: Visualization, TKOpenGl - support cubemap for environment texture within Ray-Tracing
Revision 2019-12-24 14:13 by mzernova
Steps To Reproduce v3d/raytrace/pbr_spheres
Revision 2019-12-13 13:38 by mzernova
Steps To Reproduce Not required
Revision 2019-12-06 10:33 by kgv
Steps To Reproduce
pload XDE OCAF MODELING VISUALIZATION
catch { Close D }
ReadGltf D [locate_data_file bug30691_DamagedHelmet.gltf]

vclear
vinit View1
XDisplay -dispMode 1 D
vaxo
vcamera -persp
vviewparams -scale 0.412548 -proj 0.54479 -0.790649 0.279424 -up -0.248339 0.166151 0.954317 -at -27.3419 
382.603 -233.934

set aCubeMap [locate_data_file Circus_CubeMap_V.png]
vlight -change 0 -intensity 2.5
vlight -change 1 -intensity 1
vbackground -cubemap $aCubeMap

vrenderparams -shadingModel PBR
# OK cubemap is used for PBR lighting and for background

vrenderparams -ray -gi -rayDepth 10
# KO cubemap is lost from background and is not used for IBL


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker