MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030748Community[OCCT] OCCT:Visualizationpublic2019-05-27 18:352019-06-11 05:18
ReporterVico Liang 
Assigned Tokgv 
PrioritynormalSeverityblock 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030748: Visualization - Marker displayed in immediate layer ruins QT Quick view controls
DescriptionGet the latest code from git and build for Android.
Use Qt Quick as UI and setup OpenGL ES context as AndroidQt sample.
When moving mouse under the shape with markers, the QT quick controls are filled with black background as picture "ill-status.jpg" depicted.
An correct image is uploaded to depict the normal case "normal-status.jpg".

The issue won't occur in current release version occt7.3.0. It also occurs on ios and uwp platform, So this should be an regression.


TagsNo tags attached.
Test case number
Attached Filesjpg file icon ill-status.jpg (352,962 bytes) 2019-05-27 18:35
jpg file icon normal-status.jpg (393,434 bytes) 2019-05-27 18:36

- Relationships

-  Notes
(0084676)
kgv (developer)
2019-05-27 18:43

This is unrelated to OCCT, but to Qt/OCCT interoperability of shared OpenGL context. The OpenGL state affecting rendering of Qt elements should be manually restored after OCCT 3D Viewer.
(0084677)
Vico Liang (developer)
2019-05-27 18:55

so i'm curious why it works in occt7.3.0. do you mean it's a new behavior of occt current dev version? would you please give more hint about how to do on qt side? thanks in advance.
(0084678)
Vico Liang (developer)
2019-05-27 19:00

other shape like edge, face works well. if the marker not in immediate layer, it works well too. It just occurs for marker in immediate layer. what's the problem behind it? please guide. thanks.
(0084679)
Vico Liang (developer)
2019-05-27 19:21

Even don't need to draw marker actually, SetGroupPrimitivesAspect/SetPrimitivesAspect with Aspect with marker type will reproduce the issue.

myAspects = new Graphic3d_Aspects();
myAspects->SetMarkerType(Aspect_TOM_O);
aGroup->SetGroupPrimitivesAspect(myAspects);
(0084979)
Vico Liang (developer)
2019-06-11 05:18

Dear kgv, could you please take a look at this issue? It's a regression failure. The same code works for OCCT 7.3.0, but fails in master branch. Thanks.

- Issue History
Date Modified Username Field Change
2019-05-27 18:35 Vico Liang New Issue
2019-05-27 18:35 Vico Liang Assigned To => kgv
2019-05-27 18:35 Vico Liang File Added: ill-status.jpg
2019-05-27 18:36 Vico Liang File Added: normal-status.jpg
2019-05-27 18:43 kgv Note Added: 0084676
2019-05-27 18:55 Vico Liang Note Added: 0084677
2019-05-27 19:00 Vico Liang Note Added: 0084678
2019-05-27 19:21 Vico Liang Note Added: 0084679
2019-06-11 05:18 Vico Liang Note Added: 0084979


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker