DiscussionsIssue archiveOCCT:Visualization

Archived issue #0029517

Visualization - introduce AlphaMode property defining alpha value handling options

Open CASCADEOCCT:Visualizationclosed9 public notes

Search issues

Description

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.

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

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

    0029517: Visualization - introduce AlphaMode property defining alpha value handling options
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Author
04Commenter 4
Branch CR29517 reviewed without remarks, ready for testing.
05Commenter 1
Combination -
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
06Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

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

    # regression fix for 0029517

07Author
Dear Commenter 1 - please fetch the last commit into IR (to be squashed with original commit) which fixes a regression within obsolete rendering path.
08Commenter 1
Done
09Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records