mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
Test case bugs/vis/bug10781 - use smaller line width in test case (some Intel OpenGL drivers support only 7 pixels-width lines). Test case bugs/vis/bug23227 - just check triangles count in feedback buffer is not 0.
34 lines
645 B
Plaintext
Executable File
34 lines
645 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC10781"
|
|
puts "MeshVS is not sensitive to width of edges"
|
|
puts "============"
|
|
puts ""
|
|
|
|
set BugNumber OCC10781
|
|
|
|
pload XDE
|
|
|
|
vinit View1
|
|
vclear
|
|
vaxo
|
|
|
|
meshfromstl m [locate_data_file OMF6391_box.stl]
|
|
|
|
set aCoordX 206
|
|
set aCoordY 280
|
|
|
|
vmoveto $aCoordX $aCoordY
|
|
|
|
set aColor1px [vreadpixel $aCoordX $aCoordY rgb name]
|
|
if { "$aColor1px" != "BLACK" } {
|
|
puts "Error: BLACK color is expected at pixel ${aCoordX}x${aCoordY}"
|
|
}
|
|
|
|
mesh_edge_width m 6
|
|
set aColor5px [vreadpixel $aCoordX $aCoordY rgb name]
|
|
if { "$aColor5px" == "BLACK" } {
|
|
puts "Error: YELLOW color is expected at pixel ${aCoordX}x${aCoordY}"
|
|
}
|
|
|
|
set only_screen 1
|