View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024867 | Open CASCADE | OCCT:Visualization | public | 2014-04-23 16:58 | 2019-05-17 12:43 |
Reporter | Assigned To | bugmaster | |||
Priority | urgent | Severity | major | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.7.1 | ||||
Target Version | 6.7.1 | Fixed in Version | 6.7.1 | ||
Summary | 0024867: [Regression] Visualization - polygon offsets look broken | ||||
Description | With the current OCCT Git master, I can see that polygon offsets has got broken somehow that results in many depth fighting artifacts when highlighted or selected wireframe representation of a shape is displayed together with the shaded one (see attached snapshots). With the version of 4 April 2014, everything works fine. | ||||
Tags | No tags attached. | ||||
Test case number | bugs vis(004) bug24867 | ||||
2014-04-23 16:58 developer |
highlighting_20140422.png (143,005 bytes) |
2014-04-23 16:58 developer |
selection_20140422.png (143,641 bytes) |
2014-04-23 16:59 developer |
highlighting_20140404.png (124,108 bytes) |
2014-04-23 17:00 developer |
selection_20140404.png (125,187 bytes) |
|
Sergey, thanks a lot for detecting a regression which would harm 6.7.1! Danila, please fix ASAP -- we planned to release 6.7.1 tomorrow, now waiting for your fix. |
|
Dear kgv, Please review patch in CR24867. |
|
Dear Danila,+ glGetFloatv (GL_POLYGON_OFFSET_FACTOR, &aDefaultSettings.OffsetFactor); + glGetFloatv (GL_POLYGON_OFFSET_UNITS, &aDefaultSettings.OffsetUnits); the state should be controlled by TKOpenGl (OpenGl_Context/OpenGl_Workspace), not should not be retrieved from OpenGL. |
|
Please test the patch. |
|
Dear BugMaster, Branch CR24867 (and products from GIT master) was compiled on Linux, MacOS and Windows platforms. SHA-1: 778ebf380c405059c113b595d0f0bceca760e4e3 There are compilation errors on Linux platform: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24867/job/mnt-CR24867-master_build_occt_linux/1/parsed_console/? In file included from ../../../../inc/OpenGl_Group.hxx:25, from ../../../../inc/OpenGl_CappingAlgo.hxx:20, from ../../../../src/OpenGl/OpenGl_CappingAlgo.cxx:16: ../../../../inc/OpenGl_AspectFace.hxx:39: error: ‘Aspect_POM_Fill’ was not declared in this scope In file included from ../../../../inc/OpenGl_CappingPlaneResource.hxx:20, from ../../../../src/OpenGl/OpenGl_CappingPlaneResource.cxx:16: ../../../../inc/OpenGl_AspectFace.hxx:39: error: ‘Aspect_POM_Fill’ was not declared in this scope There are compilation errors on Windows platform: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24867/job/mnt-CR24867-master_build_occt_windows/1/parsed_console/? 42>..\..\..\inc\OpenGl_AspectFace.hxx(39) : error C2065: 'Aspect_POM_Fill' : undeclared identifier There are compilation errors on MacOS platform: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24867/job/mnt-CR24867-master_prepare_build_occt_MacOS/1/parsed_console/? In file included from /Users/mnt/tools/WOK670/wok_entities/LOC/dev/CR24867-master-occt/src/OpenGl/OpenGl_CappingAlgo.cxx:16: In file included from /Users/mnt/tools/WOK670/wok_entities/LOC/dev/CR24867-master-occt/adm/cmake/TKOpenGl/../../../inc/OpenGl_CappingAlgo.hxx:20: In file included from /Users/mnt/tools/WOK670/wok_entities/LOC/dev/CR24867-master-occt/adm/cmake/TKOpenGl/../../../inc/OpenGl_Group.hxx:25: /Users/mnt/tools/WOK670/wok_entities/LOC/dev/CR24867-master-occt/adm/cmake/TKOpenGl/../../../inc/OpenGl_AspectFace.hxx:39:56: error: use of undeclared identifier 'Aspect_POM_Fill' |
|
Just an observation/request, please check if selection/highlighting is possible for curves with this fix. I just tried V6_7_1_beta branch (without 24785 integrated) and hovering over a curve has no effect. Neither the selection. The problem does also exist for vertices. [Update] This problem occurs only under some circumstances (e.g. displaying curves only) which are not clear to me at the moment. I wasn't able to reproduce it in DRAW. I hope to be able to report more on the problem soon. |
|
Dear bugmaster, Please test the patch. |
|
Dear BugMaster, Branch CR24867 (and products from GIT master) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 1c55db171547ca6bc37a546f361c3cb43740d3c8 Number of compiler warnings: occt component : Linux: 21 (18 on master) Windows: 0 (0 on master) MacOS: 352 (351 on master) There are new additional compilation warnings on Linux platform: OpenGl_Workspace.cxx:140, GNU C Compiler 4 (gcc), Priority: Normal when initialized here OpenGl_Workspace.hxx:593, GNU C Compiler 4 (gcc), Priority: Normal ‘OpenGl_Matrix OpenGl_Workspace::myModelViewMatrix’ OpenGl_Workspace.hxx:595, GNU C Compiler 4 (gcc), Priority: Normal ‘OpenGl_Workspace::PolygonOffset_applied’ will be initialized after There are new additional compilation warnings on MacOS platform: OpenGl_Workspace.cxx:176, GNU C Compiler 4 (gcc), Priority: Normal field 'PolygonOffset_applied' will be initialized after field 'myModelViewMatrix' [-Wreorder] products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24867-master-occt/Debian60-64/bugs/vis/bug24867.html http://occt-tests/CR24867-master-occt/Windows-32-VC9/bugs/vis/bug24867.html bugs vis(004) bug24867: OK Testing on Linux: Total MEMORY difference: 355011720 / 355757444 Total CPU difference: 53065.800000000134 / 55245.669999999736 Testing on Windows: Total MEMORY difference: 378936796 / 381791492 Total CPU difference: 37900.421875 / 43080.4375 There are no differences in images found by testdiff. |
|
Dear bugmaster, Please test the patch. |
|
Dear BugMaster, Branch CR24867 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 939eff7d563066233cc0fb6ebb354ddb4ea58db0 Number of compiler warnings: occt component : Linux: 18 (18 on master) Windows: 0 (0 on master) products component : Linux: 12 (12 on master) Windows: 2 (2 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24867-master-occt/Debian60-64/bugs/vis/bug24867.html http://occt-tests/CR24867-master-occt/Windows-32-VC9/bugs/vis/bug24867.html bugs vis(004) bug24867: OK Testing on Linux: Total MEMORY difference: 355875084 / 355561056 Total CPU difference: 52957.54999999998 / 53337.799999999814 Testing on Windows: Total MEMORY difference: 379899384 / 379843896 Total CPU difference: 37197.953125 / 36615.28125 There are no differences in images found by testdiff. |
|
Branch CR24867_671 has been deleted by kgv. SHA-1: ddcfb0913a61875ec6720715ca94bf6182addba2 |
occt: master 550f3b8b 2014-05-08 07:39:02
Committer: bugmaster Details Diff |
0024867: Visualization - polygon offsets look broken If specific layer setting is not enabled, default value extracted from current OpenGl state will be used. Default value fix. Updated test case bugs/vis/bug24867 Linux warning fixed. |
Affected Issues 0024867 |
|
mod - src/OpenGl/OpenGl_AspectFace.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_AspectFace.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Layer.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Layer.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_LayerList.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.cxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace.hxx | Diff File | ||
mod - src/OpenGl/OpenGl_Workspace_5.cxx | Diff File | ||
add - tests/bugs/vis/bug24867 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-23 16:58 |
|
New Issue | |
2014-04-23 16:58 |
|
Assigned To | => san |
2014-04-23 16:58 |
|
File Added: highlighting_20140422.png | |
2014-04-23 16:58 |
|
File Added: selection_20140422.png | |
2014-04-23 16:59 |
|
File Added: highlighting_20140404.png | |
2014-04-23 17:00 |
|
File Added: selection_20140404.png | |
2014-04-23 17:01 |
|
Priority | normal => high |
2014-04-23 17:01 |
|
Relationship added | related to 0024785 |
2014-04-23 17:02 |
|
Assigned To | san => duv |
2014-04-23 17:03 |
|
Status | new => assigned |
2014-04-24 09:27 |
|
Note Added: 0029047 | |
2014-04-24 09:27 |
|
Priority | high => urgent |
2014-04-24 09:27 |
|
Product Version | => 6.7.1 |
2014-04-24 09:27 |
|
Target Version | 6.8.0 => 6.7.1 |
2014-04-24 09:27 |
|
Summary | Visualization - polygon offsets look broken => [Regression] Visualization - polygon offsets look broken |
2014-04-24 10:21 |
|
Note Added: 0029048 | |
2014-04-24 10:21 |
|
Assigned To | duv => kgv |
2014-04-24 10:21 |
|
Status | assigned => resolved |
2014-04-24 11:02 | kgv | Note Added: 0029051 | |
2014-04-24 11:02 | kgv | Assigned To | kgv => duv |
2014-04-24 11:02 | kgv | Status | resolved => assigned |
2014-04-24 14:10 |
|
Assigned To | duv => kgv |
2014-04-24 14:10 |
|
Status | assigned => resolved |
2014-04-24 15:58 | kgv | Note Added: 0029060 | |
2014-04-24 15:58 | kgv | Assigned To | kgv => bugmaster |
2014-04-24 15:58 | kgv | Status | resolved => reviewed |
2014-04-24 18:39 |
|
Assigned To | bugmaster => mkv |
2014-04-25 10:52 |
|
Note Added: 0029068 | |
2014-04-25 10:58 |
|
Note Edited: 0029068 | |
2014-04-25 10:59 |
|
Assigned To | mkv => duv |
2014-04-25 10:59 |
|
Status | reviewed => assigned |
2014-04-25 11:22 | Pawel | Note Added: 0029069 | |
2014-04-25 11:22 | Pawel | Note Edited: 0029069 | |
2014-04-25 14:30 |
|
Status | assigned => resolved |
2014-04-25 14:33 |
|
Note Added: 0029074 | |
2014-04-25 14:33 |
|
Assigned To | duv => bugmaster |
2014-04-25 14:33 |
|
Status | resolved => reviewed |
2014-04-25 16:33 | Pawel | Note Edited: 0029069 | |
2014-04-25 17:55 |
|
Assigned To | bugmaster => mkv |
2014-04-29 12:18 | apn | Test case number | => bugs vis bug24867 |
2014-04-29 13:13 |
|
Note Added: 0029129 | |
2014-04-29 13:14 |
|
Note Edited: 0029129 | |
2014-04-29 13:15 |
|
Test case number | bugs vis bug24867 => bugs vis(004) bug24867 |
2014-04-29 13:15 |
|
Assigned To | mkv => duv |
2014-04-29 13:15 |
|
Status | reviewed => assigned |
2014-04-29 15:09 |
|
Status | assigned => resolved |
2014-04-29 15:10 |
|
Note Added: 0029138 | |
2014-04-29 15:10 |
|
Assigned To | duv => bugmaster |
2014-04-29 15:10 |
|
Status | resolved => reviewed |
2014-04-29 15:57 |
|
Assigned To | bugmaster => mkv |
2014-05-06 10:24 |
|
Note Added: 0029207 | |
2014-05-07 11:03 |
|
Status | reviewed => tested |
2014-05-07 15:26 |
|
Assigned To | mkv => bugmaster |
2014-05-12 16:20 | bugmaster | Changeset attached | => occt master 550f3b8b |
2014-05-12 16:20 | bugmaster | Status | tested => verified |
2014-05-12 16:20 | bugmaster | Resolution | open => fixed |
2014-09-11 11:03 | bugmaster | Target Version | 6.7.1 => 6.8.0 |
2014-09-11 11:04 | bugmaster | Status | verified => closed |
2014-09-11 11:04 | bugmaster | Fixed in Version | => 6.7.1 |
2014-09-11 11:59 | bugmaster | Target Version | 6.8.0 => 6.7.1 |
2015-10-16 17:16 | git | Note Added: 0047125 | |
2019-05-17 12:43 | kgv | Relationship added | related to 0030716 |