MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #28621 All Revisions ] Back to Issue ]
Summary 0028621: Visualization - AIS_ColoredShape::UnsetTransparency() is not implemented
Revision 2017-04-04 09:55 by kgv
Steps To Reproduce
pload VISUALIZATION MODELING
box b 1 2 3
vclear
vinit View1
vdisplay -dispMode 1 b
vfit

# OK
set aColor11 [vreadpixel 250 250 rgb name]
vsettransparency b 0.8
vunsettransparency b
set aColor12 [vreadpixel 250 250 rgb name]
if { "$aColor11" != "$aColor12" } { puts "Error: color is not set back" 
}

explode b F
vaspects b -subShapes b_2 -setColor RED

set aColor21 [vreadpixel 250 250 rgb name]
vsettransparency b 0.8
vunsettransparency b
set aColor22 [vreadpixel 250 250 rgb name]
if { "$aColor21" != "$aColor22" } { puts "Error: color is not set back" 
}
# KO



Any STEP file with colors may be used. For an example, public STEP in bugs-base bug24283_spheres.stp

pload XDE OCAF VISUALIZATION
ReadStep D1 [locate_data_file bug24283_spheres.stp]
XShow D1
vfit
vsetdispmode 1

# here spheres are not white
AISTransparency D1 0:1:1:1 0.8

# here spheres are displayed with white color
AISTransparency D1 0:1:1:1 0

Revision 2017-04-04 09:43 by kgv
Steps To Reproduce
pload VISUALIZATION MODELING
box b 1 2 3
vclear
vinit View1
vdisplay -dispMode 1 b
vfit

# OK
vsettransparency b 0.8
vunsettransparency b

explode b F
vaspects b -subShapes b_2 -setColor RED

vsettransparency b 0.8
vunsettransparency b
# KO



Any STEP file with colors may be used. For an example, public STEP in bugs-base bug24283_spheres.stp

pload XDE OCAF VISUALIZATION
ReadStep D1 [locate_data_file bug24283_spheres.stp]
XShow D1
vfit
vsetdispmode 1

# here spheres are not white
AISTransparency D1 0:1:1:1 0.8

# here spheres are displayed with white color
AISTransparency D1 0:1:1:1 0

Revision 2017-04-04 09:23 by kgv
Steps To Reproduce Any STEP file with colors may be used. For an example, public STEP in bugs-base bug24283_spheres.stp

pload XDE OCAF VISUALIZATION
ReadStep D1 [locate_data_file bug24283_spheres.stp]
XShow D1
vfit
vsetdispmode 1

# here spheres are not white
AISTransparency D1 0:1:1:1 0.8

# here spheres are displayed with white color
AISTransparency D1 0:1:1:1 0

Revision 2017-04-03 14:33 by mpv
Steps To Reproduce Any STEP file with colors may be used. For an example, public STEP in bugs-base bug24283_spheres.stp

ReadStep D1 bug24283_spheres.stp
XShow D1

// here spheres are not white, can be checked by pressing "s" in the viewer (switch to shading mode)

AISTransparency D1 0:1:1:1 0.8
AISTransparency D1 0:1:1:1 0

// here spheres are displayed with white color


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker