Archived issue #0032201
Visualization, TKOpenGl - unify Phong/PBR material properties getters
Description
Declarations.glsl declares material accessors as separate front/back getters for Common definition (occFrontMaterial_Diffuse/occBackMaterial_Diffuse)
and as unified getter taking Boolean flag for PBR properties (like occPBRMaterial_Color(in bool theIsFront)).
It is proposed following a common approach.
and as unified getter taking Boolean flag for PBR properties (like occPBRMaterial_Color(in bool theIsFront)).
It is proposed following a common approach.
Steps to reproduce
N/A
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
No new revisions were added by this update.
[revision removed]
No new revisions were added by this update.
Patch is ready for review
- OCCT: branch CR32201.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32201-master-KGV/
- OCCT: branch CR32201.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32201-master-KGV/
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
The patch was reviewed
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[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:
Debian80-64:
OCCT
Total CPU difference: 17753.85000000016 / 17750.250000000156 [+0.02%]
Products
Total CPU difference: 11481.660000000102 / 11540.5800000001 [-0.51%]
Windows-64-VC14:
OCCT
Total CPU difference: 19361.09375 / 19341.28125 [+0.10%]
Products
Total CPU difference: 12879.75 / 12869.921875 [+0.08%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[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:
Debian80-64:
OCCT
Total CPU difference: 17753.85000000016 / 17750.250000000156 [+0.02%]
Products
Total CPU difference: 11481.660000000102 / 11540.5800000001 [-0.51%]
Windows-64-VC14:
OCCT
Total CPU difference: 19361.09375 / 19341.28125 [+0.10%]
Products
Total CPU difference: 12879.75 / 12869.921875 [+0.08%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]