MantisBT - Open CASCADE
View Issue Details
0029517Open CASCADE[OCCT] OCCT:Visualizationpublic2018-02-19 22:312021-03-01 23:31
kgv 
bugmaster 
normalfeature 
closedfixed 
 
[OCCT] 7.3.0[OCCT] 7.3.0 
v3d glsl alpha_mask
0029517: Visualization - introduce AlphaMode property defining alpha value handling options
Currently, OCCT supports only two modes for handling Alpha value - with and without Blending. Moreover, the only way to enable Blending is specifying transparency to Material, which doesn't allow managing Blending in proper way when color is defined by texture.

In addition, it is not possible enabling Alpha-test for discarding fragments when using texture with 0/1 transparency values.

It is proposed introducing a new property AlphaMode defining a way how Alpha value should be treated.
No tags attached.
related to 0029097closed bugmaster Visualization - allow picking Graphic3d_TypeOfShadingModel per-object 
parent of 0032143verified bugmaster Visualization - add option excluding transparent object from sorting 
related to 0032188verified bugmaster Visualization, Graphic3d_Aspects - define backface culling using Graphic3d_TypeOfBackfacingModel 
Issue History
2018-02-19 22:31kgvNew Issue
2018-02-19 22:31kgvAssigned To => kgv
2018-02-19 22:31kgvRelationship addedrelated to 0029097
2018-02-20 16:33gitNote Added: 0074070
2018-02-20 16:45gitNote Added: 0074071
2018-02-20 20:38kgvNote Added: 0074077
2018-02-20 20:38kgvAssigned Tokgv => san
2018-02-20 20:38kgvStatusnew => resolved
2018-02-21 16:27sanNote Added: 0074089
2018-02-21 16:27sanAssigned Tosan => bugmaster
2018-02-21 16:27sanStatusresolved => reviewed
2018-02-21 17:26bugmasterTest case number => v3d glsl alpha_mask
2018-02-21 17:57bugmasterNote Added: 0074093
2018-02-21 17:57bugmasterStatusreviewed => tested
2018-02-28 17:32gitNote Added: 0074166
2018-02-28 17:34kgvNote Added: 0074167
2018-03-01 16:57bugmasterNote Added: 0074184
2018-03-04 15:34bugmasterChangeset attached => occt master c40eb6b9
2018-03-04 15:34bugmasterStatustested => verified
2018-03-04 15:34bugmasterResolutionopen => fixed
2018-03-06 15:50gitNote Added: 0074296
2018-06-29 21:16aivFixed in Version => 7.3.0
2018-06-29 21:21aivStatusverified => closed
2021-02-19 14:20kgvRelationship addedparent of 0032143
2021-03-01 23:31kgvRelationship addedrelated to 0032188

Notes
(0074070)
git   
2018-02-20 16:33   
Branch CR29517 has been created by kgv.

SHA-1: 1cf22a08e6a65059bb0c24dfe20d9aca1d4ce1bd


Detailed log of new commits:

Author: kgv
Date: Tue Feb 20 16:32:52 2018 +0300

    0029517: Visualization - introduce AlphaMode property defining alpha value handling options
(0074071)
git   
2018-02-20 16:45   
Branch CR29517 has been updated forcibly by kgv.

SHA-1: 15812d33ed8729ff3a4645498c8f40b211fdcf4d
(0074077)
kgv   
2018-02-20 20:38   
Patch is ready for review.

http://jenkins-test-10.nnov.opencascade.com:8080//view/CR29517-master-KGV [^]
(0074089)
san   
2018-02-21 16:27   
Branch CR29517 reviewed without remarks, ready for testing.
(0074093)
bugmaster   
2018-02-21 17:57   
Combination -
OCCT branch : CR29517 SHA - 15812d33ed8729ff3a4645498c8f40b211fdcf4d
Products branch : master SHA - d452be1d47046de2f00debc4c4fe2166f6a9904d
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:
Debian70-64:
OCCT
Total CPU difference: 18207.389999999574 / 18347.729999999596 [-0.76%]
Products
Total CPU difference: 7482.589999999998 / 7477.560000000005 [+0.07%]
Windows-64-VC10:
OCCT
Total CPU difference: 17613.79210819854 / 17722.010001898587 [-0.61%]
Products
Total CPU difference: 8028.529064599998 / 8043.3491595999785 [-0.18%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0074166)
git   
2018-02-28 17:32   
Branch CR29517 has been updated by kgv.

SHA-1: 5d4c4462ec32e8f76456f223213c95042d98f52c


Detailed log of new commits:

Author: kgv
Date: Wed Feb 28 17:28:58 2018 +0300

    # regression fix for 0029517

(0074167)
kgv   
2018-02-28 17:34   
Dear bugmaster - please fetch the last commit into IR (to be squashed with original commit) which fixes a regression within obsolete rendering path.
(0074184)
bugmaster   
2018-03-01 16:57   
Done
(0074296)
git   
2018-03-06 15:50   
Branch CR29517 has been deleted by kgv.

SHA-1: 5d4c4462ec32e8f76456f223213c95042d98f52c