MantisBT - Open CASCADE
View Issue Details
0031682Open CASCADE[OCCT] OCCT:Visualizationpublic2020-07-22 21:052020-07-25 14:02
kgv 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.4.0 
[OCCT] 7.5.0* 
v3d/glsl/transp1
0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with Graphic3d_TOSM_UNLIT shading model
Setting Graphic3d_TOSM_UNLIT shading model on a model with transparency set via Prs3d_ShadingAspect::SetTransparency() has no effect.
pload MODELING VISUALIZATION
box bs -1 -2 -3 2 4 6
box bb -2 -4 -5 4 8 9
explode b F
vinit View1
vdisplay -dispMode 1 bs bb
vfit
vaspects bs -setColor RED
vaspects bb -setColor GREEN -setTransparency 0.8
vaspects bb -setShadingModel UNLIT
No tags attached.
Issue History
2020-07-22 21:05kgvNew Issue
2020-07-22 21:05kgvAssigned To => kgv
2020-07-22 21:05kgvSummaryVisualization - Prs3d_ShadingAspect::SetTransparency() is ignored with Graphic3d_TOSM_UNLIT shading model => Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with Graphic3d_TOSM_UNLIT shading model
2020-07-22 22:32gitNote Added: 0093251
2020-07-22 23:54kgvNote Added: 0093252
2020-07-22 23:54kgvAssigned Tokgv => nds
2020-07-22 23:54kgvStatusnew => resolved
2020-07-23 10:15ndsNote Added: 0093253
2020-07-23 10:20ndsNote Added: 0093254
2020-07-23 10:20ndsAssigned Tonds => bugmaster
2020-07-23 10:20ndsStatusresolved => reviewed
2020-07-25 13:22bugmasterNote Added: 0093321
2020-07-25 13:22bugmasterStatusreviewed => tested
2020-07-25 13:35bugmasterTest case number => v3d/glsl/transp1
2020-07-25 13:57bugmasterChangeset attached => occt master 9f013fee
2020-07-25 13:57bugmasterStatustested => verified
2020-07-25 13:57bugmasterResolutionopen => fixed
2020-07-25 14:02gitNote Added: 0093330

Notes
(0093251)
git   
2020-07-22 22:32   
Branch CR31682 has been created by kgv.

SHA-1: cc07d3180c48e31308d71c3f3b0108e1026fd4ca


Detailed log of new commits:

Author: kgv
Date: Wed Jul 22 22:34:03 2020 +0300

    0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with Graphic3d_TOSM_UNLIT shading model
    
    Prs3d_ShadingAspect::SetTransparency() now sets transparency also to interior color.
    AIS_RubberBand now uses Graphic3d_TOSM_UNLIT.
(0093252)
kgv   
2020-07-22 23:54   
Patch is ready for review in OCCT branch CR31682.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31682-master-KGV/ [^]
(0093253)
nds   
2020-07-23 10:15   
Dear Kirill,
it solves our case. Thank you a lot for the fix.

No comments to the patch, reviewed.
(0093254)
nds   
2020-07-23 10:20   
Dear Igor,

please raise modifications.

OCCT - CR31682,
Products - NOT

Jenkins job is: http://jenkins-test-12.nnov.opencascade.com/view/CR31682-master-KGV/ [^]

Thank you for help
(0093321)
bugmaster   
2020-07-25 13:22   
Combination -
OCCT branch : IR-2020-07-24
master SHA - 4c7a3faef5f292475c23ee615ad49d57fc039b58
a206de37fbfa0bf71bd534ae47192bbec23b8522
Products branch : IR-2020-07-24 SHA - be95aa91db3bd344c872901349e58022d3c687fc
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17271.39000000011 / 17230.04000000007 [+0.24%]
Products
Total CPU difference: 800.6699999999917 / 791.7399999999936 [+1.13%]
Windows-64-VC14:
OCCT
Total CPU difference: 18742.140625 / 18745.390625 [-0.02%]
Products
Total CPU difference: 1329.234375 / 1321.390625 [+0.59%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0093330)
git   
2020-07-25 14:02   
Branch CR31682 has been deleted by inv.

SHA-1: cc07d3180c48e31308d71c3f3b0108e1026fd4ca