mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
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.
20 lines
476 B
Plaintext
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
|