View Issue Details

IDProjectCategoryView StatusLast Update
0028729CommunityOCCT:Visualizationpublic2017-07-11 10:56
ReporterMax121 Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.1.0 
Target Version7.2.0 
Summary0028729: Shaded highlighting problems
DescriptionI 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 ReproduceOCCT 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
TagsNo tags attached.
Test case number

Activities

kgv

2017-05-11 17:21

developer   ~0065848

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.

Max121

2017-05-11 18:02

reporter   ~0065853

Can you be more specific about factors, that affect highlight blending? Thanks.

kgv

2017-05-11 18:22

developer   ~0065858

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).

kgv

2017-07-10 11:34

developer   ~0068150

Dear bugmaster,

please close the bug.

Issue History

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