MantisBT - Open CASCADE
View Issue Details
0031098Open CASCADE[OCCT] OCCT:Visualizationpublic2019-10-23 12:262019-11-11 17:25
[OCCT] 7.5.0* 
0031098: Visualization, TKOpenGl - support Normal texture map
It is desired supporting Normal texture map within Metallic-Roughness and Phong shading models.
No tags attached.
related to 0030549resolved abv Coding - split Image_AlienPixMap into several classes 
child of 0030700verified apn Visualization, TKOpenGl - support PBR Metallic-Roughness shading model 
Issue History
2019-10-23 12:26kgvNew Issue
2019-10-23 12:26kgvAssigned To => iko
2019-10-23 12:27kgvStatusnew => assigned
2019-10-23 12:27kgvRelationship addedchild of 0030700
2019-11-08 15:10gitNote Added: 0088805
2019-11-11 17:17kgvRelationship addedrelated to 0030549
2019-11-11 17:19kgvNote Added: 0088894
2019-11-11 17:19kgvNote Edited: 0088894bug_revision_view_page.php?bugnote_id=88894#r22176
2019-11-11 17:25gitNote Added: 0088895

2019-11-08 15:10   
Branch CR31098 has been created by iko.

SHA-1: bf73c4b94928fa6d2000db84fd85529cdd0ecdbb

Detailed log of new commits:

Author: iko
Date: Fri Nov 8 15:08:13 2019 +0300

    # work in progress
2019-11-11 17:19   
Loading normal map from JPEG file (yuv420p) via FreeImage leads to severe blocking artifacts in RGB24 result. JPEG_ACCURATE loading flag doesn't improve quality.

At the same time, loading the image via FFmpeg and converting it to RGB via swscale with accurate flags SWS_ACCURATE_RND|SWS_FULL_CHR_H_INT produces good result.

2019-11-11 17:25   
Branch CR31098 has been updated forcibly by iko.

SHA-1: 1dcb0dc829b9193bd83ef4b03261acaefd9214f0