MantisBT - Open CASCADE
View Issue Details
0026154Open CASCADE[OCCT] OCCT:Visualizationpublic2015-04-27 12:212019-08-11 10:50
apl 
bugmaster 
normaltrivial 
verifiedfixed 
[OCCT] 5.2.2 
[OCCT] 7.4.0* 
bugs vis bug26154
0026154: Visualization - v3d viewer grid disappears due to automatic z-fit
Automatic z-fit does not treat v3d viewer's grid graphical structure.
This is because V3d_RectangularGrid sets presentation bounding box incorrectly.
pload MODELING VISUALIZATION
vinit View1
box b 1 1 1
vdisplay b
vfit
vgrid -type rect -mode line -origin 0 0 -step 1 1 -rotAngle 0
vtop


# the grid disappears, see images "before_vtop.png", "after_vtop.png"

vzrange 0 150

# the grid is now visible
No tags attached.
related to 0026958new kgv Community Visualization - Extend Grid visualization to fill the whole view automatically 
png before_vtop.png (9,288) 2015-04-27 12:21
https://tracker.dev.opencascade.org/
png after_vtop.png (1,246) 2015-04-27 12:21
https://tracker.dev.opencascade.org/
Issue History
2015-04-27 12:21aplNew Issue
2015-04-27 12:21aplAssigned To => kgv
2015-04-27 12:21aplFile Added: before_vtop.png
2015-04-27 12:21aplFile Added: after_vtop.png
2016-06-16 21:43kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13979#r13979
2016-06-16 21:58kgvRelationship addedrelated to 0026958
2016-10-25 09:37kgvTarget Version7.1.0 => 7.2.0
2016-12-28 12:35kgvRelationship addedrelated to 0028304
2017-07-20 11:04kgvTarget Version7.2.0 => 7.3.0
2017-08-10 13:26apvTest case number => bugs vis bug26154
2017-08-10 13:26apvNote Added: 0069275
2018-03-13 15:03kgvTarget Version7.3.0 => 7.4.0*
2018-06-04 16:37kgvRelationship addedhas duplicate 0029837
2019-05-06 12:19kgvRelationship addedrelated to 0030689
2019-05-14 17:53kgvAssigned Tokgv => tizmaylo
2019-05-14 17:53kgvStatusnew => assigned
2019-06-24 18:40tizmayloSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21422#r21422
2019-07-29 17:52gitNote Added: 0085940
2019-07-29 20:37gitNote Added: 0085944
2019-07-29 22:08kgvNote Added: 0085948
2019-07-29 22:08kgvAssigned Totizmaylo => bugmaster
2019-07-29 22:08kgvSeverityminor => trivial
2019-07-29 22:08kgvStatusassigned => resolved
2019-07-29 22:08kgvStatusresolved => reviewed
2019-07-29 22:12kgvProduct Version => 5.2.2
2019-07-29 22:12kgvDescription Updatedbug_revision_view_page.php?rev_id=21551#r21551
2019-07-29 22:13kgvRelationship deletedrelated to 0030689
2019-07-29 22:13kgvRelationship deletedhas duplicate 0029837
2019-07-31 13:59bugmasterNote Added: 0085956
2019-07-31 13:59bugmasterStatusreviewed => tested
2019-08-11 10:40bugmasterChangeset attached => occt master e36ee967
2019-08-11 10:40bugmasterStatustested => verified
2019-08-11 10:40bugmasterResolutionopen => fixed
2019-08-11 10:50gitNote Added: 0086150

Notes
(0069275)
apv   
2017-08-10 13:26   
Problem described in issue is reproduced on current state of OCCT.
(0085940)
git   
2019-07-29 17:52   
Branch CR26154 has been created by kgv.

SHA-1: 6e0342589ae02f3cb81ceacf97baf67eab7cab84


Detailed log of new commits:

Author: kgv
Date: Mon Jul 29 17:49:58 2019 +0300

    0026154: Visualization - v3d viewer grid disappears due to automatic z-fit
    
    V3d_RectangularGrid, V3d_CircularGrid, fixed initialization of presentation bounding box (lost Z offset).
(0085944)
git   
2019-07-29 20:37   
Branch CR26154 has been updated forcibly by kgv.

SHA-1: b7e74d60c230cadae76cb71063a9631b5c3989ad
(0085948)
kgv   
2019-07-29 22:08   
Please raise the patch.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR26154-master-KGV/ [^]
(0085956)
bugmaster   
2019-07-31 13:59   
Combination -
OCCT branch : CR26154
master SHA - b7e74d60c230cadae76cb71063a9631b5c3989ad
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : master SHA - 53815c0544dd1e39d32ee14979d7d88e78729edc
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: 16234.010000000071 / 16237.229999999976 [-0.02%]
Products
Total CPU difference: 10489.170000000038 / 10493.010000000033 [-0.04%]
Windows-64-VC14:
OCCT
Total CPU difference: 17655.171875 / 17592.765625 [+0.35%]
Products
Total CPU difference: 12086.453125 / 12065.453125 [+0.17%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0086150)
git   
2019-08-11 10:50   
Branch CR26154 has been deleted by inv.

SHA-1: b7e74d60c230cadae76cb71063a9631b5c3989ad