MantisBT - Open CASCADE
View Issue Details
0031649Open CASCADE[OCCT] OCCT:Visualizationpublic2020-07-03 19:342021-01-03 00:34
kgv 
bugmaster 
normalminor 
closedfixed 
[OCCT] 7.5.0 
[OCCT] 7.5.0[OCCT] 7.5.0 
Not required
0031649: Visualization, TKOpenGL - broken skybox in VR output
Cubemap background is displayed incorrectly within VR output.
N/A
No tags attached.
parent of 0032036verified bugmaster Open CASCADE Visualization, TKOpenGl - broken Cubemap background on GeForce 320M 
png steamvr_OK.png (848,618) 2020-07-04 13:11
https://tracker.dev.opencascade.org/
png occt_vr_skybox_KO.png (609,245) 2020-07-04 13:11
https://tracker.dev.opencascade.org/
png occt_vr_skybox_OK.png (986,685) 2020-07-04 13:11
https://tracker.dev.opencascade.org/
Issue History
2020-07-03 19:34kgvNew Issue
2020-07-03 19:34kgvAssigned To => kgv
2020-07-03 19:47gitNote Added: 0092941
2020-07-04 13:11kgvFile Added: steamvr_OK.png
2020-07-04 13:11kgvFile Added: occt_vr_skybox_KO.png
2020-07-04 13:11kgvFile Added: occt_vr_skybox_OK.png
2020-07-04 13:13gitNote Added: 0092984
2020-07-04 13:14kgvNote Added: 0092985
2020-07-04 13:14kgvAssigned Tokgv => osa
2020-07-04 13:14kgvStatusnew => resolved
2020-07-04 13:15kgvRelationship addedchild of 0029384
2020-07-04 14:40kgvNote Edited: 0092985bug_revision_view_page.php?bugnote_id=92985#r23102
2020-07-06 10:15gitNote Added: 0093007
2020-07-06 10:17osaNote Added: 0093008
2020-07-06 10:17osaAssigned Toosa => bugmaster
2020-07-06 10:17osaStatusresolved => reviewed
2020-07-11 12:12bugmasterNote Added: 0093100
2020-07-11 12:12bugmasterStatusreviewed => tested
2020-07-11 12:15bugmasterTest case number => Not required
2020-07-11 12:22bugmasterChangeset attached => occt master cdc54fb0
2020-07-11 12:22bugmasterStatustested => verified
2020-07-11 12:22bugmasterResolutionopen => fixed
2020-07-11 12:31gitNote Added: 0093121
2020-12-02 16:43emoFixed in Version => 7.5.0
2020-12-02 17:13emoStatusverified => closed
2021-01-03 00:34kgvRelationship addedparent of 0032036

Notes
(0092941)
git   
2020-07-03 19:47   
Branch CR31649 has been created by kgv.

SHA-1: a82d8c73667776898ea26386718aeb2c2165b6f6


Detailed log of new commits:

Author: kgv
Date: Fri Jul 3 19:48:57 2020 +0300

    0031649: Visualization, TKOpenGL - broken skybox in VR output
    
    OpenGl_ShaderManager::GetBgCubeMapProgram() and OpenGl_BackgroundArray::createCubeMapArray()
    have been corrected to draw cube in straightforward way instead of a screen-quad.
    
    Graphic3d_Camera::SetCustomStereoProjection() now recieves decomposed projection + head-to-eye matrices.
    Added method Graphic3d_Camera::StereoProjection() returning projection matrix without translation part.
    OpenGl_BackgroundArray::Render() now applies stereoscopic projection matrix in case of VR output,
    but keeps using mono projection matrix in case of common 3D displays.
(0092984)
git   
2020-07-04 13:13   
Branch CR31649 has been updated forcibly by kgv.

SHA-1: ae70a7e59c8bee54e479abed133a68d53fbfd4c9
(0092985)
kgv   
2020-07-04 13:14   
(edited on: 2020-07-04 14:40)
Patch is ready for review in OCCT branch CR31649.

http://jenkins-test-12.nnov.opencascade.com/view/CR31649-master-KGV/ [^]

(0093007)
git   
2020-07-06 10:15   
Branch CR31649 has been updated forcibly by kgv.

SHA-1: ed8f45dde7bdd1f0697a95a074c7d3b09cfdafa1
(0093008)
osa   
2020-07-06 10:17   
The patch is reviewed
(0093100)
bugmaster   
2020-07-11 12:12   
Combination -
OCCT branch : IR-2020-07-10
master SHA - 74440d215bf268902458b25e36a61c791f21fc38
a206de37fbfa0bf71bd534ae47192bbec23b8522
Products branch : IR-2020-07-10 SHA - 6e90d3ea8d7f26e39ec8b263c708ad6ecf5dfaaa
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: 17210.790000000085 / 17175.910000000105 [+0.20%]
Products
Total CPU difference: 11229.020000000071 / 11228.490000000076 [+0.00%]
Windows-64-VC14:
OCCT
Total CPU difference: 18725.6875 / 18705.46875 [+0.11%]
Products
Total CPU difference: 11144.125 / 13046.140625 [-14.58%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0093121)
git   
2020-07-11 12:31   
Branch CR31649 has been deleted by inv.

SHA-1: ed8f45dde7bdd1f0697a95a074c7d3b09cfdafa1