1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug27655
isk dcc1741921 0027655: Visualization - AIS_Triangulation disappears after setting non-zero transparency
Add a new methods in AIS_Triangulation: SetTransparency, UnsetTransparency, HasVertexColor, updatePresentation.
Add a new methods in Graphic3d_ArrayOfPrimitives: AddVertex(gp_Pnt, Graphic3d_Vec4ub) and SetVertexColor(Standard_Integer, Graphic3d_Vec4ub).
Type of color of array in AIS_Triangulation is Graphic3d_Vec4ub now.
2016-07-07 14:13:52 +03:00

20 lines
476 B
Plaintext

puts "========"
puts "CR27655"
puts "========"
puts ""
############################################################################################
puts "Visualization - AIS_Triangulation don't disappears after setting non-zero transparency"
############################################################################################
vclear
vinit View1
box b 10 10 10
vdisplay b -dispMode 1
vdrawsphere s 100
vsettransparency s 0.7
vfit
vdump $imagedir/${casename}_0.png