MantisBT - Community
View Issue Details
0026688Community[OCCT] OCCT:Visualizationpublic2015-09-15 13:312015-10-23 20:50
Timo 
bugmaster 
normalminor 
closedfixed 
WindowsWindows 64 bit10
[OCCT] 6.8.0 
[OCCT] 6.9.1[OCCT] 6.9.1 
Not needed
0026688: Visualization, TKOpenGl - apply transparency within GLSL programs
If ffp is disabled on Windows, the transparency isn't correctly displayed.

Some faces are transparent, others not, depending on current rotation.
Also, different values for transparency don't change anything.
pload MODELING VISUALIZATION
vinit View1
box b -50 -50 -50 100 100 100
vdisplay b
vsetdispmode b 1
vsettransparency b 0.8
vfit
vrotate 0.5 0 0
vcaps -ffp 1
# => transparency correct
vcaps -ffp 0
# => transparency incorrect
vsettransparency b 0.1
# => no difference
No tags attached.
related to 0026122closed bugmaster Community Visualization, TKOpenGl - clipping and capping is broken when ffp is disabled on Linux 
related to 0026533closed bugmaster Community Draw command vdisplay requires vclear to update the presentation since OCC 6.9.0 
child of 0024838closed bugmaster Open CASCADE Visualization, TKOpenGl - make general rendering path compatible with OpenGL 3.1+ core profiles 
jpg broken transparency.jpg (10,801) 2015-09-15 13:31
https://tracker.dev.opencascade.org/
png box_alpha_ffp_OK.png (4,639) 2015-09-15 16:23
https://tracker.dev.opencascade.org/
png box_alpha_glsl_KO.png (4,212) 2015-09-15 16:24
https://tracker.dev.opencascade.org/
Issue History
2015-09-15 13:31TimoNew Issue
2015-09-15 13:31TimoAssigned To => kgv
2015-09-15 13:31TimoFile Added: broken transparency.jpg
2015-09-15 13:31TimoIssue generated from: 0026122
2015-09-15 13:31TimoRelationship addedrelated to 0026122
2015-09-15 13:32TimoRelationship addedrelated to 0026533
2015-09-15 13:32TimoSummaryTransparency is broken when ffp disabled on Windows => Transparency is broken when ffp is disabled on Windows
2015-09-15 13:48kgvTarget Version6.9.1 => 7.0.0
2015-09-15 13:48kgvSummaryTransparency is broken when ffp is disabled on Windows => Visualization - transparency is broken when ffp is disabled on Windows
2015-09-15 13:48kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11598#r11598
2015-09-15 16:23kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11601#r11601
2015-09-15 16:23kgvFile Added: box_alpha_ffp_OK.png
2015-09-15 16:24kgvFile Added: box_alpha_glsl_KO.png
2015-09-15 16:24kgvRelationship addedchild of 0024838
2015-09-15 18:16kgvProduct Version6.9.0 => 6.8.0
2015-09-15 18:16kgvSummaryVisualization - transparency is broken when ffp is disabled on Windows => Visualization, TKOpenGl - apply transparency within GLSL programs
2015-09-15 18:18gitNote Added: 0045665
2015-09-15 18:31kgvNote Added: 0045666
2015-09-15 18:31kgvAssigned Tokgv => apl
2015-09-15 18:31kgvStatusnew => resolved
2015-09-16 10:10aplNote Added: 0045688
2015-09-16 10:10aplAssigned Toapl => bugmaster
2015-09-16 10:10aplStatusresolved => reviewed
2015-09-16 13:10apvAssigned Tobugmaster => apv
2015-09-17 11:53apvTest case number => Not needed
2015-09-17 12:31apvNote Added: 0045765
2015-09-17 12:31apvAssigned Toapv => bugmaster
2015-09-17 12:31apvStatusreviewed => tested
2015-09-17 16:36abvTarget Version7.0.0 => 6.9.1
2015-09-18 13:31bugmasterChangeset attached => occt master 363bc51b
2015-09-18 13:31bugmasterStatustested => verified
2015-09-18 13:31bugmasterResolutionopen => fixed
2015-10-16 14:55aivStatusverified => closed
2015-10-16 16:14gitNote Added: 0046888
2015-10-23 20:50aivFixed in Version => 6.9.1

Notes
(0045665)
git   
2015-09-15 18:18   
Branch CR26688 has been created by kgv.

SHA-1: ab1fdfcfd9bbf181fc940359d33be7bde5d0e7cc


Detailed log of new commits:

Author: kgv
Date: Tue Sep 15 18:18:03 2015 +0300

    0026688: Visualization, TKOpenGl - apply transparency within GLSL programs
    
    OpenGl_ShaderManager::PushAspectFace(), setup alpha to Diffuse() component as in FFP.
    OpenGl_ShaderManager::stdComputeLighting(), take alpha from material Diffuse component.
(0045666)
kgv   
2015-09-15 18:31   
Patch is ready for review.
Test case is not needed.
(0045688)
apl   
2015-09-16 10:10   
Dear bugmaster,

Please test the patch.
(0045765)
apv   
2015-09-17 12:31   
Dear BugMaster,

Branch CR26688 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
SHA-1: ab1fdfcfd9bbf181fc940359d33be7bde5d0e7cc

Number of compiler warnings:
occt component:
   Linux: 15 (15 on master)
   Windows: 0 (0 on master)
products component:
   Linux: 39 (39 on master)
   Windows: 0 (0 on master)

Regressions/Differences:
Not detected

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 91833819 / 92773907 [-1.01%]
Total CPU difference: 17987.679999998978 / 17946.139999999086 [+0.23%]

Testing on Windows:
Total MEMORY difference: 57744539 / 57754094 [-0.02%]
Total CPU difference: 16919.899660199284 / 16847.82719819915 [+0.43%]
(0046888)
git   
2015-10-16 16:14   
Branch CR26688 has been deleted by kgv.

SHA-1: ab1fdfcfd9bbf181fc940359d33be7bde5d0e7cc