MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #32143 All Revisions ] Back to Issue ]
Summary 0032143: Visualization - add option excluding transparent object from sorting
Revision 2021-03-02 09:51 by kgv
Steps To Reproduce
pload MODELING VISUALIZATION
vinit View1 -width 800 -height 600
vbackground -gradient GRAY20 GRAY80
restore [locate_data_file Ball.brep] b
vdisplay -dispMode 1 b
vfit

set dx 220; set dy 74
set logoPath "$::env(CSF_OCCTResourcePath)/DrawResources/OCC_logo.png"
box logo $dx $dy 0 -preview
vdisplay -dispMode 1 logo -topmost -2d bottomRight [expr $dx+25] 25
vtexture logo "$logoPath"
vaspects logo -alphaMode BLEND -shadingModel UNLIT

vdisplay logo -underlay
# KO - logo in Graphic3d_ZLayerId_BotOSD layer
# is drawn on TOP of 3D object from Graphic3d_ZLayerId_Default layer!
vzlayer DEFAULT -enable depthClear; # workaround sorting issue
# OK - workaround helps

Revision 2021-03-02 07:50 by kgv
Steps To Reproduce
pload MODELING VISUALIZATION
vinit View1 -width 800 -height 600
vbackground -gradient GRAY20 GRAY80
restore [locate_data_file Ball.brep] b
vdisplay -dispMode 1 b
vfit

set dx 220; set dy 74
set logoPath "$::env(CSF_OCCTResourcePath)/DrawResources/OCC_logo.png"
box logo $dx $dy 0 -preview
vdisplay -dispMode 1 logo -topmost -2d bottomRight [expr $dx+25] 25
vtexture logo "$logoPath"
vaspects logo -alphaMode BLEND -shadingModel UNLIT

vdisplay logo -underlay
# KO - logo in Graphic3d_ZLayerId_BotOSD layer
# is drawn on TOP of 3D object from Graphic3d_ZLayerId_Default layer!
vzlayer DEFAULT -enable depthClear; # workaround sorting issue
# OK - workaround helps


Also transparent AIS_ViewCube within test case v3d/viewcube/style.
Revision 2021-02-19 14:20 by kgv
Steps To Reproduce
pload MODELING VISUALIZATION
vinit View1 -width 800 -height 600
vbackground -gradient GRAY20 GRAY80
restore [locate_data_file Ball.brep] b
vdisplay -dispMode 1 b
vfit

set dx 220; set dy 74
set logoPath "$::env(CSF_OCCTResourcePath)/DrawResources/OCC_logo.png"
box logo $dx $dy 0 -preview
vdisplay -dispMode 1 logo -topmost -2d bottomRight [expr $dx+25] 25
vtexture logo "$logoPath"
vaspects logo -alphaMode BLEND -shadingModel UNLIT

vdisplay logo -underlay
# KO - logo in Graphic3d_ZLayerId_BotOSD layer
# is drawn on TOP of 3D object from Graphic3d_ZLayerId_Default layer!
vzlayer DEFAULT -enable depthClear; # workaround sorting issue
# OK - workaround helps


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker