MantisBT - Community
View Issue Details
0027527Community[OCCT] OCCT:Visualizationpublic2016-05-20 17:212017-09-29 16:24
Vico Liang 
bugmaster 
lowminor 
closedfixed 
WindowsVC++ 201364 bit
[OCCT] 6.3.1 
[OCCT] 7.2.0[OCCT] 7.2.0 
0027527: Visualization - can't highlight polyline presentation of Wire after setting transparency
It's can be reproduced with AIS_Shape which has wireframe presentation. User has to set the transparency and then select the object by AIS_InteractiveContext::MoveTo command. Though the object is selected under mouse, it won't be highlighted.
pload MODELING VISUALIZATION
box b 1 2 3
explode b W
vclear
vinit View1
vdisplay -dispmode 1 b_1
vfit
vsettransparency b_1 0.8
vmoveto 118 102
# OK on current master - dynamic highlighting works
vselect 118 102
# KO on current master - selected object is not highlighted


1. Make AIS_InteractiveContext and SetDisplayMode(AIS_Shaded);
2. Create a wire and make AIS_Shape for it.
3. Display the wire AIS_Shape object.
4. Set wire transparency = 0.8
5. Select by MoveTo command.
No tags attached.
related to 0027925closed bugmaster Open CASCADE Visualization - implement order-independent transparency algorithm within rasterization rendering 
has duplicate 0024929closed bugmaster Open CASCADE Edge and vertex in compound are not highlighed in shading mode if compound is transparent 
Issue History
2016-05-20 17:21Vico LiangNew Issue
2016-05-20 17:21Vico LiangAssigned To => kgv
2016-05-20 17:32Vico LiangSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13724#r13724
2016-05-23 14:49kgvProduct Version6.9.1 => 6.3.1
2016-05-23 14:49kgvSummaryCan't highlight wireframe object after setting transparency => Visualization - can't highlight polyline presentation of Wire after setting transparency
2016-05-23 14:49kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13735#r13735
2016-06-16 20:55kgvRelationship addedduplicate of 0024929
2016-06-30 11:10kgvRelationship addedrelated to 0027655
2016-06-30 12:29sanRelationship addedrelated to 0026695
2016-07-05 17:58kgvAssigned Tokgv => isk
2016-07-05 17:58kgvPrioritynormal => low
2016-07-05 17:58kgvStatusnew => assigned
2016-07-07 10:32gitNote Added: 0055735
2016-07-08 16:08gitNote Added: 0055760
2016-07-08 16:08iskNote Added: 0055761
2016-07-08 16:09iskAssigned Toisk => kgv
2016-07-08 16:09iskStatusassigned => resolved
2016-11-22 11:08kgvTarget Version7.1.0 => 7.2.0
2017-02-07 11:20kgvRelationship addedrelated to 0027925
2017-05-10 11:54gitNote Added: 0065797
2017-05-10 11:55kgvNote Added: 0065798
2017-05-10 11:55kgvAssigned Tokgv => bugmaster
2017-05-10 11:55kgvStatusresolved => feedback
2017-05-10 12:03kgvRelationship replacedhas duplicate 0024929
2017-05-10 12:17kgvRelationship replacedhas duplicate 0026695
2017-05-11 12:27bugmasterStatusfeedback => tested
2017-05-11 12:27bugmasterStatustested => verified
2017-05-11 12:27bugmasterResolutionopen => fixed
2017-09-29 16:20aivFixed in Version => 7.2.0
2017-09-29 16:24aivStatusverified => closed

Notes
(0055735)
git   
2016-07-07 10:32   
Branch CR27527 has been created by isk.

SHA-1: d2e364b07c0aa13a2e0c1fce81c27167b958a2f8


Detailed log of new commits:

Author: isk
Date: Thu Jul 7 10:32:37 2016 +0300

    0027527: Visualization - can't highlight polyline presentation of Wire after setting transparency.
    Add a new parameter theDispMode in the SelectMgr_EntityOwner::HilightWithColor().
    Add a new parameter thePriority in the PrsMgr_Presentation::Highlight(). This parameter is priority of presentation in display mode.
    Add a new parameter thePriority in the Graphic3d_Structure::Highlight().
(0055760)
git   
2016-07-08 16:08   
Branch CR27527 has been updated forcibly by isk.

SHA-1: aed7dcd5392a8ca7d2f5b2dce866b320314801f7
(0055761)
isk   
2016-07-08 16:08   
Add a test case.
(0065797)
git   
2017-05-10 11:54   
Branch CR27527 has been deleted by kgv.

SHA-1: aed7dcd5392a8ca7d2f5b2dce866b320314801f7
(0065798)
kgv   
2017-05-10 11:55   
Dear bugmaster,

please switch bug into VERIFIED state - it has been fixed by patch for 0027925.
Test case is not needed.