MantisBT - Open CASCADE
View Issue Details
0030640Open CASCADE[OCCT] OCCT:Visualizationpublic2019-04-08 19:312021-04-03 12:52
kgv 
bugmaster 
normalfeature 
verifiedfixed 
 
[OCCT] 7.6.0* 
v3d/shadows/dir3
0030640: Visualization, Graphic3d_Camera - add option creating Projection matrix with [0,1] depth range
Current Graphic3d_Camera implementation relies on conventional OpenGL NDC definition with depth range mapped to [-1,1] range (same as for other axes).

There are, however, another convention mapping depth into [0,1] range, adopted by Vulkan and Direct3D graphic APIs.
It is desired providing an option within Graphic3d_Camera computing suitable Projection matrix in this case.
No tags attached.
parent of 0030631new kgv Visualization - Vulkan graphic driver prototype 
related to 0030638closed apn Visualization, TKOpenGl - load OpenGL 4.5 functions within OpenGl_Context 
Not all the children of this issue are yet resolved or closed.
Issue History
2019-04-08 19:31kgvNew Issue
2019-04-08 19:31kgvAssigned To => kgv
2019-04-08 19:31kgvRelationship addedrelated to 0030638
2019-04-08 19:31kgvRelationship addedparent of 0030631
2019-04-08 19:53gitNote Added: 0083540
2019-04-09 00:31gitNote Added: 0083543
2019-04-09 00:51gitNote Added: 0083544
2019-04-09 10:14gitNote Added: 0083549
2019-09-04 15:43abvTarget Version7.4.0 => 7.5.0
2020-09-21 17:20kgvTarget Version7.5.0 => 7.6.0*
2021-03-03 15:53gitNote Added: 0099339
2021-03-03 16:40gitNote Added: 0099340
2021-03-03 19:50gitNote Added: 0099345
2021-03-03 20:34gitNote Added: 0099347
2021-03-03 20:45gitNote Added: 0099348
2021-03-03 21:14gitNote Added: 0099350
2021-03-03 21:26gitNote Added: 0099351
2021-03-03 21:26gitNote Added: 0099352
2021-03-03 22:54kgvNote Added: 0099354
2021-03-03 22:54kgvAssigned Tokgv => osa
2021-03-03 22:54kgvStatusnew => resolved
2021-03-05 09:43osaNote Added: 0099414
2021-03-05 09:43osaAssigned Toosa => bugmaster
2021-03-05 09:43osaStatusresolved => reviewed
2021-03-06 12:16bugmasterNote Added: 0099477
2021-03-06 12:16bugmasterStatusreviewed => tested
2021-03-06 12:23bugmasterTest case number => v3d/shadows/dir3
2021-03-06 12:34bugmasterChangeset attached => occt master e70625d6
2021-03-06 12:34bugmasterStatustested => verified
2021-03-06 12:34bugmasterResolutionopen => fixed
2021-03-06 13:25gitNote Added: 0099490
2021-03-06 13:25gitNote Added: 0099491
2021-03-06 13:25gitNote Added: 0099506

Notes
(0083540)
git   
2019-04-08 19:53   
Branch CR30640 has been created by kgv.

SHA-1: b31357a052c8f27a13bdbab71af70005e6eb378c


Detailed log of new commits:

Author: kgv
Date: Mon Apr 8 19:47:20 2019 +0300

    0030640: Visualization, Graphic3d_Camera - add option creating Projection matrix with [0,1] depth range
    
    Added new property Graphic3d_Camera::IsZeroToOneDepth() and OpenGl_Caps::useZeroToOneDepth
    for activating [0,1] depth range instead of [-1,1] range using glClipControl() within OpenGL 4.5+.
(0083543)
git   
2019-04-09 00:31   
Branch CR30640 has been updated forcibly by kgv.

SHA-1: 2e8b47c9ff2154bbe7ad7d117ce5f21478d9688e
(0083544)
git   
2019-04-09 00:51   
Branch CR30640 has been updated forcibly by kgv.

SHA-1: 1c78e0a59bf9886b36f1cafeca510c637216656f
(0083549)
git   
2019-04-09 10:14   
Branch CR30640 has been updated forcibly by kgv.

SHA-1: 5b5f819f516cedbbfe31ae257fa656574c790cbb
(0099339)
git   
2021-03-03 15:53   
Branch CR30640_1 has been created by kgv.

SHA-1: c1e1ba657125afe5566cc8371157bceb681bb155


Detailed log of new commits:

Author: kgv
Date: Wed Mar 3 14:58:46 2021 +0300

    0030640: Visualization, Graphic3d_Camera - add option creating Projection matrix with [0,1] depth range
    
    Added new property Graphic3d_Camera::IsZeroToOneDepth() and OpenGl_Caps::useZeroToOneDepth
    for activating [0,1] depth range instead of [-1,1] range using glClipControl() within OpenGL 4.5+.
(0099340)
git   
2021-03-03 16:40   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: d4c1b0ab723b747dd4af560b0c005923e32d1656
(0099345)
git   
2021-03-03 19:50   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: 09e0661c69f5ca4d4555067383caee92323b4101
(0099347)
git   
2021-03-03 20:34   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: ea59d0d5952c001fdac8e34b615cae0dcc912fdd
(0099348)
git   
2021-03-03 20:45   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: 7ecd3b5171cf28870c71cf6683868c7ac0746b27
(0099350)
git   
2021-03-03 21:14   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: a80ee4bf62cedbdab1d7c086ec5520a0a0c63d4c
(0099351)
git   
2021-03-03 21:26   
Branch CR30640_1 has been updated forcibly by kgv.

SHA-1: 95f0e18f234ebb4790750be2ca4240929775dfee
(0099352)
git   
2021-03-03 21:26   
Branch CR30640_1_test has been created by kgv.

SHA-1: 3df203f6b200a2fe9921e35aad531cada6d117ee


Detailed log of new commits:

Author: kgv
Date: Wed Mar 3 21:26:57 2021 +0300

    Test zero2one depth
(0099354)
kgv   
2021-03-03 22:54   
Patch is ready for review
- OCCT: branch CR30640_1;
- OCC Products: branch CR30640_1.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30640_1-CR30640_1-KGV/view/ [^]
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30640_1-master-KGV-ZERO2ONE/view/ [^]
(0099414)
osa   
2021-03-05 09:43   
The patches were reviewed
(0099477)
bugmaster   
2021-03-06 12:16   
Combination -
OCCT branch : IR-2021-03-05
master SHA - 58210e5983a7986bc4cd1bec9c0b5cb29828fda4
a87b7ddc8cb44606b91e3f37113847c3f5f50fdc
Products branch : IR-2021-03-05 SHA - b3d022cfefe721ee2ad6db68ca360345d656610b
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: 17744.80000000016 / 17811.87000000015 [-0.38%]
Products
Total CPU difference: 11539.9800000001 / 11543.6500000001 [-0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19321.640625 / 19344.390625 [-0.12%]
Products
Total CPU difference: 12868.796875 / 12900.578125 [-0.25%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0099490)
git   
2021-03-06 13:25   
Branch CR30640_1_test has been deleted by inv.

SHA-1: 3df203f6b200a2fe9921e35aad531cada6d117ee
(0099491)
git   
2021-03-06 13:25   
Branch CR30640_1 has been deleted by inv.

SHA-1: 95f0e18f234ebb4790750be2ca4240929775dfee
(0099506)
git   
2021-03-06 13:25   
Branch CR30640 has been deleted by inv.

SHA-1: 5b5f819f516cedbbfe31ae257fa656574c790cbb