MantisBT - Open CASCADE
View Issue Details
0031096Open CASCADE[OCCT] OCCT:Visualizationpublic2019-10-23 12:242020-01-16 12:13
kgv 
bugmaster 
normalfeature 
verifiedfixed 
 
[OCCT] 7.5.0* 
Not required
0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
0030700 introduced metallic-roughness shading model, but these material coefficients can be defined only for entire object. It is desired supporting metallic-roughness texture map.
test de_mesh gltf_read helmet 1
No tags attached.
parent of 0031253verified bugmaster Open CASCADE Visualization, TKOpenGl - phong shading GLSL compilation fail on Adreno 308 
parent of 0031275verified bugmaster Open CASCADE Visualization, TKOpenGl - handle normal-map texture with Path-Tracing 
parent of 0031302verified bugmaster Open CASCADE Visualization, TKOpenGl - wrong tangent space calculation for normal maps 
related to 0031097verified bugmaster Open CASCADE Visualization, TKOpenGl - support Occlusion texture mapping 
related to 0031098verified bugmaster Open CASCADE Visualization, TKOpenGl - support Normal texture map 
child of 0030700verified apn Open CASCADE Visualization, TKOpenGl - support PBR Metallic-Roughness shading model 
child of 0028912closed bugmaster Open CASCADE Visualization, TKOpenGl - multi-texture support 
png helmet_pbr.png (118,978) 2019-11-29 17:13
https://tracker.dev.opencascade.org/
png helmet_pt.png (146,395) 2019-11-29 17:13
https://tracker.dev.opencascade.org/
png flight_helmet_occlusion_OFF.png (330,103) 2019-11-29 17:17
https://tracker.dev.opencascade.org/
png flight_helmet_occlusion_ON.png (336,492) 2019-11-29 17:17
https://tracker.dev.opencascade.org/
png flight_helmet_normal_map_OFF.png (482,223) 2019-11-29 17:19
https://tracker.dev.opencascade.org/
png flight_helmet_normal_map_ON.png (520,315) 2019-11-29 17:19
https://tracker.dev.opencascade.org/
Issue History
2019-10-23 12:24kgvNew Issue
2019-10-23 12:24kgvAssigned To => iko
2019-10-23 12:24kgvRelationship addedchild of 0030700
2019-10-23 12:24kgvStatusnew => assigned
2019-11-07 16:56gitNote Added: 0088779
2019-11-07 17:23gitNote Added: 0088780
2019-11-08 11:42gitNote Added: 0088788
2019-11-11 13:24gitNote Added: 0088890
2019-11-19 17:12gitNote Added: 0089075
2019-11-19 17:26gitNote Added: 0089079
2019-11-27 19:11gitNote Added: 0089227
2019-11-28 07:51gitNote Added: 0089228
2019-11-28 13:34gitNote Added: 0089241
2019-11-28 15:08gitNote Added: 0089243
2019-11-28 15:19gitNote Added: 0089244
2019-11-28 17:21gitNote Added: 0089250
2019-11-28 19:05gitNote Added: 0089257
2019-11-28 20:17gitNote Added: 0089258
2019-11-28 21:13gitNote Added: 0089260
2019-11-28 21:38gitNote Added: 0089262
2019-11-28 23:24gitNote Added: 0089265
2019-11-28 23:53gitNote Added: 0089266
2019-11-29 11:10gitNote Added: 0089276
2019-11-29 13:35gitNote Added: 0089279
2019-11-29 14:00gitNote Added: 0089280
2019-11-29 14:46gitNote Added: 0089283
2019-11-29 15:23kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22271#r22271
2019-11-29 15:23kgvAssigned Toiko => bugmaster
2019-11-29 15:23kgvStatusassigned => resolved
2019-11-29 15:23kgvStatusresolved => reviewed
2019-11-29 17:13kgvFile Added: helmet_pbr.png
2019-11-29 17:13kgvFile Added: helmet_pt.png
2019-11-29 17:14kgvFile Added: flight_helmet_normal_map.png
2019-11-29 17:17kgvFile Added: flight_helmet_occlusion_OFF.png
2019-11-29 17:17kgvFile Added: flight_helmet_occlusion_ON.png
2019-11-29 17:18kgvFile Deleted: flight_helmet_normal_map.png
2019-11-29 17:19kgvFile Added: flight_helmet_normal_map_OFF.png
2019-11-29 17:19kgvFile Added: flight_helmet_normal_map_ON.png
2019-11-29 18:13kgvRelationship addedrelated to 0031146
2019-11-29 20:15kgvRelationship addedchild of 0028912
2019-12-01 12:21bugmasterNote Added: 0089310
2019-12-01 12:21bugmasterStatusreviewed => tested
2019-12-01 12:21bugmasterTest case number => Not required
2019-12-01 12:22bugmasterChangeset attached => occt master 72f6dc61
2019-12-01 12:22bugmasterStatustested => verified
2019-12-01 12:22bugmasterResolutionopen => fixed
2019-12-01 12:26kgvRelationship addedrelated to 0031097
2019-12-01 12:26kgvRelationship addedrelated to 0031098
2019-12-01 12:49gitNote Added: 0089316
2019-12-01 12:49gitNote Added: 0089317
2019-12-01 12:49gitNote Added: 0089318
2019-12-01 12:49gitNote Added: 0089321
2019-12-01 12:49gitNote Added: 0089322
2019-12-01 12:49gitNote Added: 0089329
2019-12-19 00:16kgvRelationship addedparent of 0031253
2019-12-25 23:07kgvRelationship addedparent of 0031275
2020-01-16 12:13kgvRelationship addedparent of 0031302

Notes
(0088779)
git   
2019-11-07 16:56   
Branch CR31096 has been created by iko.

SHA-1: a076872879a22d9b78c13c1107968b8723a21d2b


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    # work in progress
(0088780)
git   
2019-11-07 17:23   
Branch CR31096 has been updated forcibly by iko.

SHA-1: 9488c1a8d438e6f696c1eec5af644df381016c33
(0088788)
git   
2019-11-08 11:42   
Branch CR31096 has been updated forcibly by iko.

SHA-1: 33936868f411c9ad8340bddd14dac16fbd098a09
(0088890)
git   
2019-11-11 13:24   
Branch CR31096 has been updated forcibly by iko.

SHA-1: 0d54a65db2a4b77896e488fd16669df1ad1e7c58
(0089075)
git   
2019-11-19 17:12   
Branch CR31096 has been updated forcibly by iko.

SHA-1: 2454033700c86256edfb6573ce14ac52ab30b1ab
(0089079)
git   
2019-11-19 17:26   
Branch CR31096 has been updated forcibly by iko.

SHA-1: c137d1a3177d64439941aa7767e3c56d46e84b8a
(0089227)
git   
2019-11-27 19:11   
Branch CR31096_1 has been created by kgv.

SHA-1: 8aa37978c0951ff7d69e3f7687b512b3b8f74cca


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
    
    Metallic-roughness and emissive textures map have been integrated to PBR.
    Mock texture maps manager (OpenGl_PBRMockTextures) has been implemented.
    
    Normal maps has been integrated to PBR.
    Occlusion texture maps has been integrated to PBR.
(0089228)
git   
2019-11-28 07:51   
Branch CR31096_2 has been created by kgv.

SHA-1: 5d9b9a1bdab3c48e33fa6bf65ccf920f0069cc41


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
    
    Metallic-roughness and emissive textures map have been integrated to PBR.
    Mock texture maps manager (OpenGl_PBRMockTextures) has been implemented.
    
    Normal maps has been integrated to PBR.
    Occlusion texture maps has been integrated to PBR.
(0089241)
git   
2019-11-28 13:34   
Branch CR31096_3 has been created by kgv.

SHA-1: b751ac6a74ed33661f2062f4a7815058b1954378


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
    
    Metallic-roughness and emissive textures map have been integrated to PBR.
    Mock texture maps manager (OpenGl_PBRMockTextures) has been implemented.
    
    Normal maps has been integrated to PBR.
    Occlusion texture maps has been integrated to PBR.
(0089243)
git   
2019-11-28 15:08   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: adf3cc847f4841de85963dc865f6639b294a577b
(0089244)
git   
2019-11-28 15:19   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: e9f318304e7115bfc647c451d70d0afb7595fad1
(0089250)
git   
2019-11-28 17:21   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: f08ef61b16fc31711d7b209a7d601fb18d580ea6
(0089257)
git   
2019-11-28 19:05   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: 30b4424f574c73463705e87a59ad69223397841a
(0089258)
git   
2019-11-28 20:17   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: a9f263e5d833a49b2dc45fa81c76214c3767ad00
(0089260)
git   
2019-11-28 21:13   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: 8ebb07eeec24b2c252aff3e99f10bbbc46a723a4
(0089262)
git   
2019-11-28 21:38   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: 474a46c7acbb27ac2de5db46407291de8dc3366f
(0089265)
git   
2019-11-28 23:24   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: cb034ee93268bdd4f87eedef560177917d63eb4a
(0089266)
git   
2019-11-28 23:53   
Branch CR31096_3 has been updated forcibly by kgv.

SHA-1: 40ac6ad7b2b0fe273320bf792ba311dca66bc357
(0089276)
git   
2019-11-29 11:10   
Branch CR31096_4 has been created by kgv.

SHA-1: ffff0635b1d51e2206a696d7abc9f4c36d908043


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
    
    OpenGl_ShaderManager - metallic-roughness, emissive, occlusion
    and normal texture maps are now supported by PBR.
    Emissive, occlusion and normal texture maps are now supported by Phong shading model.
    
    Graphic3d_TextureUnit enumeration has been extended by
    new values corresponding to supported texture maps.
    
    OpenGl_TextureSet and OpenGl_ShaderProgram have been extended with
    bitmask Graphic3d_TextureSetBits identifying texture slots read from GLSL Program
    and slots defined within Texture Set to avoid undefined behavior by binding mock textures.
    
    OpenGl_TextureSet now duplicates texture unit information to handle
    textures shared across multiple slots (like Occlusion [R] + Metallic-Roughness [GB]).
    
    OpenGl_Context::BindTextures() has been extended with active GLSL program paramter
    to set mock textures to texture units used by program but undefined by texture set.
    OpenGl_Workspace::ApplyAspects() has been extended with parameter to avoid bining texture set.
(0089279)
git   
2019-11-29 13:35   
Branch CR31096_5 has been created by kgv.

SHA-1: 77c7fd4a0d06512d73fb0a0b95289ab8e06bf26c


Detailed log of new commits:

Author: iko
Date: Thu Nov 7 16:52:53 2019 +0300

    0031096: Visualization, TKOpenGl - support metallic-roughness texture mapping
    
    OpenGl_ShaderManager - metallic-roughness, emissive, occlusion
    and normal texture maps are now supported by PBR.
    Emissive, occlusion and normal texture maps are now supported by Phong shading model.
    Path-Tracing now handles metallic-roughness texture maps.
    
    Graphic3d_TextureUnit enumeration has been extended by
    new values corresponding to supported texture maps.
    
    OpenGl_TextureSet and OpenGl_ShaderProgram have been extended with
    bitmask Graphic3d_TextureSetBits identifying texture slots read from GLSL Program
    and slots defined within Texture Set to avoid undefined behavior by binding mock textures.
    
    OpenGl_TextureSet now duplicates texture unit information to handle
    textures shared across multiple slots (like Occlusion [R] + Metallic-Roughness [GB]).
    
    OpenGl_Context::BindTextures() has been extended with active GLSL program paramter
    to set mock textures to texture units used by program but undefined by texture set.
    OpenGl_Workspace::ApplyAspects() has been extended with parameter to avoid bining texture set.
(0089280)
git   
2019-11-29 14:00   
Branch CR31096_5 has been updated forcibly by kgv.

SHA-1: e68aadac73d27b4ab5751714cb2a8f7830d8eab0
(0089283)
git   
2019-11-29 14:46   
Branch CR31096_5 has been updated forcibly by kgv.

SHA-1: ac09cbe173d40b408e57fd6aace2917e6b54982b
(0089310)
bugmaster   
2019-12-01 12:21   
Combination -
OCCT branch : IR-2019-11-29
master SHA - 72f6dc612c43748a2c8862fe64c845d72be684d9
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : IR-2019-11-29 SHA - aff67a24109b329e80e8ffbd905de67b6637cbae
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: 16902.370000000145 / 16848.370000000145 [+0.32%]
Products
Total CPU difference: 10823.520000000082 / 10787.150000000072 [+0.34%]
Windows-64-VC14:
OCCT
Total CPU difference: 18406.375 / 18305.59375 [+0.55%]
Products
Total CPU difference: 1321.28125 / 1322.4375 [-0.09%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0089316)
git   
2019-12-01 12:49   
Branch CR31096_5 has been deleted by inv.

SHA-1: ac09cbe173d40b408e57fd6aace2917e6b54982b
(0089317)
git   
2019-12-01 12:49   
Branch CR31096_4 has been deleted by inv.

SHA-1: ffff0635b1d51e2206a696d7abc9f4c36d908043
(0089318)
git   
2019-12-01 12:49   
Branch CR31096_3 has been deleted by inv.

SHA-1: 40ac6ad7b2b0fe273320bf792ba311dca66bc357
(0089321)
git   
2019-12-01 12:49   
Branch CR31096_2 has been deleted by inv.

SHA-1: 5d9b9a1bdab3c48e33fa6bf65ccf920f0069cc41
(0089322)
git   
2019-12-01 12:49   
Branch CR31096_1 has been deleted by inv.

SHA-1: 8aa37978c0951ff7d69e3f7687b512b3b8f74cca
(0089329)
git   
2019-12-01 12:49   
Branch CR31096 has been deleted by inv.

SHA-1: c137d1a3177d64439941aa7767e3c56d46e84b8a