DiscussionsIssue archiveOCCT:Visualization

Archived issue #0031302

Visualization, TKOpenGl - wrong tangent space calculation for normal maps

Open CASCADEOCCT:Visualizationclosed4 public notes

Search issues

Description

Tangent space for normals must be independent of triangle orientation and must handle cases of back faces (inverted normals).

Steps to reproduce

v3d/glsl/pbr_tangent_normals

Public activity

4 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: Thu Jan 16 15:55:29 2020 +0300

    0031302: Visualization, TKOpenGl - wrong tangent space calculation for normal maps
    
    The normal after tangent space calculation has been reverted in order to be in right orientation.
    The tangent space calculation has been modified in order to handle back faces with inverted normal.
02Author
03Commenter 1
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: 17001.940000000115 / 16989.810000000103 [+0.07%]
Products
Total CPU difference: 10717.560000000085 / 10741.020000000053 [-0.22%]
Windows-64-VC14:
OCCT
Total CPU difference: 18446.140625 / 18447.0625 [-0.00%]
Products
Total CPU difference: 12698.09375 / 12436.203125 [+2.11%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records