MantisBT - Open CASCADE
View Issue Details
0030102Open CASCADE[OCCT] OCCT:Visualizationpublic2018-08-31 15:052018-09-11 20:37
mnv 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.3.0 
[OCCT] 7.4.0* 
bugs/vis/bug30102
0030102: Visualization, TKOpenGl - Graphic3d_TOSM_FACET shading is incorrect in some cases
In some cases of the flat shaded presentation there is an incorrect computed lightening for the model.
pload MODELING VISUALIZATION
vinit
vdrawparray b triangles v 0 55 0 v 0 75 0 v 20 55 0 v 0 55 0 v 0 75 0 v 0 55 20 v 0 55 0 v 0 55 20 v 20 55 0 v 0 75 0 v 0 55 20 v 20 55 0
vrotate 0.3 0.0 0.0
vfit
No tags attached.
child of 0028069closed bugmaster Open CASCADE Visualization, TKOpenGl - handle flat shading model within GLSL programs 
png old_flat.png (2,726) 2018-08-31 15:05
https://tracker.dev.opencascade.org/
png new_flat.png (2,906) 2018-08-31 15:27
https://tracker.dev.opencascade.org/
Issue History
2018-08-31 15:05mnvNew Issue
2018-08-31 15:05mnvAssigned To => kgv
2018-08-31 15:05mnvFile Added: old_flat.png
2018-08-31 15:06mnvAssigned Tokgv => mnv
2018-08-31 15:06mnvStatusnew => assigned
2018-08-31 15:22gitNote Added: 0078890
2018-08-31 15:26gitNote Added: 0078892
2018-08-31 15:27mnvFile Added: new_flat.png
2018-08-31 15:28mnvNote Added: 0078893
2018-08-31 15:28mnvAssigned Tomnv => kgv
2018-08-31 15:28mnvStatusassigned => resolved
2018-09-03 10:10kgvSummaryVisualization, TKOpenGl - wrong light computing for flat shaded presentation => Visualization, TKOpenGl - Graphic3d_TOSM_FACET shading is incorrect in some cases
2018-09-03 10:14gitNote Added: 0078917
2018-09-03 10:14kgvNote Added: 0078918
2018-09-03 10:14kgvAssigned Tokgv => bugmaster
2018-09-03 10:14kgvStatusresolved => reviewed
2018-09-03 10:14kgvProduct Version => 7.3.0
2018-09-03 10:14kgvRelationship addedchild of 0028069
2018-09-03 15:07bugmasterTest case number => bugs/vis/bug30102
2018-09-09 11:52bugmasterChangeset attached => occt master 1ad3bc4c
2018-09-09 11:52bugmasterStatusreviewed => verified
2018-09-09 11:52bugmasterResolutionopen => fixed
2018-09-09 13:05gitNote Added: 0079047
2018-09-11 20:36kgvRelationship addedrelated to 0030021
2018-09-11 20:37kgvRelationship replacedchild of 0030021

Notes
(0078890)
git   
2018-08-31 15:22   
Branch CR30102 has been created by mnv.

SHA-1: 7490d4fe4581131e83d76838a0717eb11705958a


Detailed log of new commits:

Author: mnv
Date: Fri Aug 31 15:14:49 2018 +0300

    0030102: Visualization, TKOpenGl - wrong light computing for flat shaded presentation
    Added computing Normal value according to gl_FrontFacing parameter.
(0078892)
git   
2018-08-31 15:26   
Branch CR30102 has been updated forcibly by mnv.

SHA-1: 1946d5e7b5a921e24edf36df38626fa08f06d0a8
(0078893)
mnv   
2018-08-31 15:28   
Patch is ready for review.
(0078917)
git   
2018-09-03 10:14   
Branch CR30102 has been updated forcibly by kgv.

SHA-1: b9336a2fbb78482927f051f983c872135345c32c
(0078918)
kgv   
2018-09-03 10:14   
Please take the patch.
(0079047)
git   
2018-09-09 13:05   
Branch CR30102 has been deleted by inv.

SHA-1: b9336a2fbb78482927f051f983c872135345c32c