View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028729 | Community | OCCT:Visualization | public | 2017-05-11 12:28 | 2017-07-11 10:56 |
Reporter | Max121 | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 7.1.0 | ||||
Target Version | 7.2.0 | ||||
Summary | 0028729: Shaded highlighting problems | ||||
Description | I try to use new shaded highlight from features of 7.1.0 release. Probably there is a bug in applying of highlight on different types of shapes in shaded display mode. For example, if you try to use semi transparent highlight on boxes face, it applies after the face color, but if you highlight whole box, the color of highlight overrides own box color. | ||||
Steps To Reproduce | OCCT 7.1.0:vinit box b 10 10 10 vdisplay b -highMode 1 -dispMode 1 vselprops -selColor white -selTransp 0.85 vfit #select whole box vselect 250 250 vselmode 4 1 vselmode 0 0 #select face vselect 250 250 OCCT 7.2.0: pload MODELING VISUALIZATION vinit box b 10 10 10 vdisplay b -dispMode 1 vselprops dynHighlight -mode -1 vselprops localDynHighlight -mode -1 vselprops selHighlight -mode -1 -color WHITE -transp 0.85 vselprops localSelHighlight -mode -1 -color WHITE -transp 0.85 vfit #select whole box vselect 250 250 vselmode 4 1 vselmode 0 0 #select face vselect 250 250 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Local highlighting in AIS_Shape is displayed on top of main presentation. Therefore, transparent Face is blended with opaque presentation of entire shape. It is not a bug, it is designed behavior. Customized Interactive Object might implement another (desired) behavior based on recomputing entire presentation or managing aspects of presentation groups. |
|
Can you be more specific about factors, that affect highlight blending? Thanks. |
|
Highlighting of entire shape is done by applying highlighting aspect of main presentation (thus, transparency is applied to entire presentation substituting it). Highlighting of shape part (within local selection) is done by rendering of additional presentation on top of main presentation of entire shape (thus, transparent sub-shape is rendered on top of entire shape and blended with it). |
|
Dear bugmaster, please close the bug. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-11 12:28 | Max121 | New Issue | |
2017-05-11 12:28 | Max121 | Assigned To | => kgv |
2017-05-11 17:12 | kgv | Steps to Reproduce Updated | |
2017-05-11 17:21 | kgv | Note Added: 0065848 | |
2017-05-11 17:21 | kgv | Assigned To | kgv => Max121 |
2017-05-11 17:21 | kgv | Status | new => feedback |
2017-05-11 17:21 | kgv | Resolution | open => no change required |
2017-05-11 17:21 | kgv | Target Version | => 7.2.0 |
2017-05-11 18:02 | Max121 | Note Added: 0065853 | |
2017-05-11 18:22 | kgv | Note Added: 0065858 | |
2017-07-10 11:34 | kgv | Note Added: 0068150 | |
2017-07-10 11:34 | kgv | Assigned To | Max121 => bugmaster |
2017-07-11 10:56 | bugmaster | Status | feedback => closed |