DiscussionsIssue archiveOCCT:Visualization

Archived issue #0023325

Always getting the transparency of the back face

CommunityOCCT:Visualizationclosed3 public notes

Search issues

Description

In Prs3d_ShadingAspect.cxx in lines 219-225, the method Prs3d_ShadingAspect::Transparency gets always the transparency of the back face.

After looking at the methods Material and Color I assume the transparency of the back face should be returned only if the the method call is made with the Aspect_TOFM_BACK_SIDE parameter explicitly.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Author
Corresponding git branch pushed. Please review.
02Commenter 2
No remarks, please test
03Commenter 1
Dear Commenter 2,
The workbenches
KAS:dev:mkv-23325-occt (GIT branch CR23325)
KAS:dev:mkv-23325-products (GIT master)
were compiled on Linux platform and tested.

Regression:
Not detected

Improvements:
Not detected

Testing case:
Not needed

See results in /QADisk/occttests/results/KAS/dev/mkv-23325-products_20072012/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-20120706-opt_06072012/lin
See test cases in /QADisk/occttests/tests/ED