mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
0023752: Integration of test grid "vpr" into the new testing system
This commit is contained in:
parent
fa6cd9152f
commit
ee535a6c7c
12
tests/perf/begin
Executable file
12
tests/perf/begin
Executable file
@ -0,0 +1,12 @@
|
||||
cpulimit 500
|
||||
|
||||
pload VISUALIZATION
|
||||
pload TOPTEST
|
||||
|
||||
if { [info exists imagedir] == 0 } {
|
||||
set imagedir .
|
||||
}
|
||||
|
||||
if { [info exists test_image ] == 0 } {
|
||||
set test_image photo
|
||||
}
|
3
tests/perf/end
Executable file
3
tests/perf/end
Executable file
@ -0,0 +1,3 @@
|
||||
vdump $imagedir/${test_image}.png
|
||||
|
||||
puts "TEST COMPLETED"
|
17
tests/perf/grids.list
Normal file
17
tests/perf/grids.list
Normal file
@ -0,0 +1,17 @@
|
||||
001 multi_mesh_selection
|
||||
002 multi_mesh_shading
|
||||
003 multi_mesh_shrink
|
||||
004 multi_mesh_wireframe
|
||||
005 multi_object_hlr
|
||||
006 multi_object_selection
|
||||
007 multi_object_shading
|
||||
008 multi_object_wireframe
|
||||
009 single_mesh_selection
|
||||
010 single_mesh_shading
|
||||
011 single_mesh_shrink
|
||||
012 single_mesh_wireframe
|
||||
013 single_object_hlr
|
||||
014 single_object_selection
|
||||
015 single_object_shading
|
||||
016 single_object_wireframe
|
||||
|
41
tests/perf/multi_mesh_selection/A1
Normal file
41
tests/perf/multi_mesh_selection/A1
Normal file
@ -0,0 +1,41 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
41
tests/perf/multi_mesh_selection/A2
Normal file
41
tests/perf/multi_mesh_selection/A2
Normal file
@ -0,0 +1,41 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
set dispmode 2
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
41
tests/perf/multi_mesh_selection/A3
Normal file
41
tests/perf/multi_mesh_selection/A3
Normal file
@ -0,0 +1,41 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
set dispmode 3
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
42
tests/perf/multi_mesh_selection/A4
Normal file
42
tests/perf/multi_mesh_selection/A4
Normal file
@ -0,0 +1,42 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of NODE selection mode for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 1
|
||||
meshselmode m -1
|
||||
}
|
42
tests/perf/multi_mesh_selection/A5
Normal file
42
tests/perf/multi_mesh_selection/A5
Normal file
@ -0,0 +1,42 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of FACE selection mode for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 8
|
||||
meshselmode m -1
|
||||
}
|
42
tests/perf/multi_mesh_selection/A6
Normal file
42
tests/perf/multi_mesh_selection/A6
Normal file
@ -0,0 +1,42 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of WHOLE MESH selection mode for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 0
|
||||
meshselmode m -1
|
||||
}
|
48
tests/perf/multi_mesh_selection/A7
Normal file
48
tests/perf/multi_mesh_selection/A7
Normal file
@ -0,0 +1,48 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 267
|
||||
set y 222
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
48
tests/perf/multi_mesh_selection/A8
Normal file
48
tests/perf/multi_mesh_selection/A8
Normal file
@ -0,0 +1,48 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
set dispmode 2
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 267
|
||||
set y 222
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
48
tests/perf/multi_mesh_selection/A9
Normal file
48
tests/perf/multi_mesh_selection/A9
Normal file
@ -0,0 +1,48 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
set dispmode 3
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 267
|
||||
set y 222
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
47
tests/perf/multi_mesh_selection/B1
Normal file
47
tests/perf/multi_mesh_selection/B1
Normal file
@ -0,0 +1,47 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 240; set y1 210; set x2 290; set y2 270
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
47
tests/perf/multi_mesh_selection/B2
Normal file
47
tests/perf/multi_mesh_selection/B2
Normal file
@ -0,0 +1,47 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
set dispmode 2
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 240; set y1 210; set x2 290; set y2 270
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
47
tests/perf/multi_mesh_selection/B3
Normal file
47
tests/perf/multi_mesh_selection/B3
Normal file
@ -0,0 +1,47 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
set dispmode 3
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 240; set y1 210; set x2 290; set y2 270
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
48
tests/perf/multi_mesh_selection/B4
Normal file
48
tests/perf/multi_mesh_selection/B4
Normal file
@ -0,0 +1,48 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (NODES) by point-and-click for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 267
|
||||
set y 222
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
48
tests/perf/multi_mesh_selection/B5
Normal file
48
tests/perf/multi_mesh_selection/B5
Normal file
@ -0,0 +1,48 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (FACES) by point-and-click for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 8
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 267
|
||||
set y 222
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
47
tests/perf/multi_mesh_selection/B6
Normal file
47
tests/perf/multi_mesh_selection/B6
Normal file
@ -0,0 +1,47 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (NODES) by rectangular selection for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 240; set y1 210; set x2 290; set y2 270
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
47
tests/perf/multi_mesh_selection/B7
Normal file
47
tests/perf/multi_mesh_selection/B7
Normal file
@ -0,0 +1,47 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (FACES) by rectangular selection for MeshVS_Mesh object in V3d View with 27 MeshVS_Mesh objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
meshselmode m 8
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 240; set y1 210; set x2 290; set y2 270
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
34
tests/perf/multi_mesh_selection/begin
Normal file
34
tests/perf/multi_mesh_selection/begin
Normal file
@ -0,0 +1,34 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
meshfromstl m2 [locate_data_file b2.stl]
|
||||
meshfromstl m3 [locate_data_file b3.stl]
|
||||
meshfromstl m4 [locate_data_file b4.stl]
|
||||
meshfromstl m5 [locate_data_file b5.stl]
|
||||
meshfromstl m6 [locate_data_file b6.stl]
|
||||
meshfromstl m7 [locate_data_file b7.stl]
|
||||
meshfromstl m8 [locate_data_file b8.stl]
|
||||
meshfromstl m9 [locate_data_file b9.stl]
|
||||
|
||||
meshfromstl m11 [locate_data_file b11.stl]
|
||||
meshfromstl m12 [locate_data_file b12.stl]
|
||||
meshfromstl m13 [locate_data_file b13.stl]
|
||||
meshfromstl m14 [locate_data_file b14.stl]
|
||||
meshfromstl m15 [locate_data_file b15.stl]
|
||||
meshfromstl m16 [locate_data_file b16.stl]
|
||||
meshfromstl m17 [locate_data_file b17.stl]
|
||||
meshfromstl m18 [locate_data_file b18.stl]
|
||||
meshfromstl m19 [locate_data_file b19.stl]
|
||||
|
||||
meshfromstl m21 [locate_data_file b21.stl]
|
||||
meshfromstl m22 [locate_data_file b22.stl]
|
||||
meshfromstl m23 [locate_data_file b23.stl]
|
||||
meshfromstl m24 [locate_data_file b24.stl]
|
||||
meshfromstl m25 [locate_data_file b25.stl]
|
||||
meshfromstl m26 [locate_data_file b26.stl]
|
||||
meshfromstl m27 [locate_data_file b27.stl]
|
||||
meshfromstl m28 [locate_data_file b28.stl]
|
||||
meshfromstl m29 [locate_data_file b29.stl]
|
||||
|
||||
vtrihedron tri
|
9
tests/perf/multi_mesh_shading/A1
Normal file
9
tests/perf/multi_mesh_shading/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_mesh_shading/A2
Normal file
9
tests/perf/multi_mesh_shading/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_mesh_shading/A3
Normal file
11
tests/perf/multi_mesh_shading/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_shading/A4
Normal file
9
tests/perf/multi_mesh_shading/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_shading/A5
Normal file
9
tests/perf/multi_mesh_shading/A5
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/multi_mesh_shading/A6
Normal file
9
tests/perf/multi_mesh_shading/A6
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/multi_mesh_shading/A7
Normal file
9
tests/perf/multi_mesh_shading/A7
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/multi_mesh_shading/A8
Normal file
8
tests/perf/multi_mesh_shading/A8
Normal file
@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
70
tests/perf/multi_mesh_shading/begin
Normal file
70
tests/perf/multi_mesh_shading/begin
Normal file
@ -0,0 +1,70 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
meshdispmode m 2
|
||||
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
meshfromstl m2 [locate_data_file b2.stl]
|
||||
meshfromstl m3 [locate_data_file b3.stl]
|
||||
meshfromstl m4 [locate_data_file b4.stl]
|
||||
meshfromstl m5 [locate_data_file b5.stl]
|
||||
meshfromstl m6 [locate_data_file b6.stl]
|
||||
meshfromstl m7 [locate_data_file b7.stl]
|
||||
meshfromstl m8 [locate_data_file b8.stl]
|
||||
meshfromstl m9 [locate_data_file b9.stl]
|
||||
|
||||
meshfromstl m11 [locate_data_file b11.stl]
|
||||
meshfromstl m12 [locate_data_file b12.stl]
|
||||
meshfromstl m13 [locate_data_file b13.stl]
|
||||
meshfromstl m14 [locate_data_file b14.stl]
|
||||
meshfromstl m15 [locate_data_file b15.stl]
|
||||
meshfromstl m16 [locate_data_file b16.stl]
|
||||
meshfromstl m17 [locate_data_file b17.stl]
|
||||
meshfromstl m18 [locate_data_file b18.stl]
|
||||
meshfromstl m19 [locate_data_file b19.stl]
|
||||
|
||||
meshfromstl m21 [locate_data_file b21.stl]
|
||||
meshfromstl m22 [locate_data_file b22.stl]
|
||||
meshfromstl m23 [locate_data_file b23.stl]
|
||||
meshfromstl m24 [locate_data_file b24.stl]
|
||||
meshfromstl m25 [locate_data_file b25.stl]
|
||||
meshfromstl m26 [locate_data_file b26.stl]
|
||||
meshfromstl m27 [locate_data_file b27.stl]
|
||||
meshfromstl m28 [locate_data_file b28.stl]
|
||||
meshfromstl m29 [locate_data_file b29.stl]
|
||||
|
||||
vtrihedron tri
|
||||
|
||||
set dispmode 2
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
vzoom 0.5
|
||||
|
||||
dchrono tmr start
|
9
tests/perf/multi_mesh_shrink/A1
Normal file
9
tests/perf/multi_mesh_shrink/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_mesh_shrink/A2
Normal file
9
tests/perf/multi_mesh_shrink/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_mesh_shrink/A3
Normal file
11
tests/perf/multi_mesh_shrink/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_shrink/A4
Normal file
9
tests/perf/multi_mesh_shrink/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_shrink/A5
Normal file
9
tests/perf/multi_mesh_shrink/A5
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/multi_mesh_shrink/A6
Normal file
9
tests/perf/multi_mesh_shrink/A6
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/multi_mesh_shrink/A7
Normal file
9
tests/perf/multi_mesh_shrink/A7
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/multi_mesh_shrink/A8
Normal file
8
tests/perf/multi_mesh_shrink/A8
Normal file
@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have shrink mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
69
tests/perf/multi_mesh_shrink/begin
Normal file
69
tests/perf/multi_mesh_shrink/begin
Normal file
@ -0,0 +1,69 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
meshfromstl m2 [locate_data_file b2.stl]
|
||||
meshfromstl m3 [locate_data_file b3.stl]
|
||||
meshfromstl m4 [locate_data_file b4.stl]
|
||||
meshfromstl m5 [locate_data_file b5.stl]
|
||||
meshfromstl m6 [locate_data_file b6.stl]
|
||||
meshfromstl m7 [locate_data_file b7.stl]
|
||||
meshfromstl m8 [locate_data_file b8.stl]
|
||||
meshfromstl m9 [locate_data_file b9.stl]
|
||||
|
||||
meshfromstl m11 [locate_data_file b11.stl]
|
||||
meshfromstl m12 [locate_data_file b12.stl]
|
||||
meshfromstl m13 [locate_data_file b13.stl]
|
||||
meshfromstl m14 [locate_data_file b14.stl]
|
||||
meshfromstl m15 [locate_data_file b15.stl]
|
||||
meshfromstl m16 [locate_data_file b16.stl]
|
||||
meshfromstl m17 [locate_data_file b17.stl]
|
||||
meshfromstl m18 [locate_data_file b18.stl]
|
||||
meshfromstl m19 [locate_data_file b19.stl]
|
||||
|
||||
meshfromstl m21 [locate_data_file b21.stl]
|
||||
meshfromstl m22 [locate_data_file b22.stl]
|
||||
meshfromstl m23 [locate_data_file b23.stl]
|
||||
meshfromstl m24 [locate_data_file b24.stl]
|
||||
meshfromstl m25 [locate_data_file b25.stl]
|
||||
meshfromstl m26 [locate_data_file b26.stl]
|
||||
meshfromstl m27 [locate_data_file b27.stl]
|
||||
meshfromstl m28 [locate_data_file b28.stl]
|
||||
meshfromstl m29 [locate_data_file b29.stl]
|
||||
|
||||
vtrihedron tri
|
||||
|
||||
set dispmode 3
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
vzoom 0.5
|
||||
|
||||
dchrono tmr start
|
9
tests/perf/multi_mesh_wireframe/A1
Normal file
9
tests/perf/multi_mesh_wireframe/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_mesh_wireframe/A2
Normal file
9
tests/perf/multi_mesh_wireframe/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_mesh_wireframe/A3
Normal file
11
tests/perf/multi_mesh_wireframe/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_wireframe/A4
Normal file
9
tests/perf/multi_mesh_wireframe/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
9
tests/perf/multi_mesh_wireframe/A5
Normal file
9
tests/perf/multi_mesh_wireframe/A5
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/multi_mesh_wireframe/A6
Normal file
9
tests/perf/multi_mesh_wireframe/A6
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/multi_mesh_wireframe/A7
Normal file
9
tests/perf/multi_mesh_wireframe/A7
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/multi_mesh_wireframe/A8
Normal file
8
tests/perf/multi_mesh_wireframe/A8
Normal file
@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
69
tests/perf/multi_mesh_wireframe/begin
Normal file
69
tests/perf/multi_mesh_wireframe/begin
Normal file
@ -0,0 +1,69 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
meshfromstl m2 [locate_data_file b2.stl]
|
||||
meshfromstl m3 [locate_data_file b3.stl]
|
||||
meshfromstl m4 [locate_data_file b4.stl]
|
||||
meshfromstl m5 [locate_data_file b5.stl]
|
||||
meshfromstl m6 [locate_data_file b6.stl]
|
||||
meshfromstl m7 [locate_data_file b7.stl]
|
||||
meshfromstl m8 [locate_data_file b8.stl]
|
||||
meshfromstl m9 [locate_data_file b9.stl]
|
||||
|
||||
meshfromstl m11 [locate_data_file b11.stl]
|
||||
meshfromstl m12 [locate_data_file b12.stl]
|
||||
meshfromstl m13 [locate_data_file b13.stl]
|
||||
meshfromstl m14 [locate_data_file b14.stl]
|
||||
meshfromstl m15 [locate_data_file b15.stl]
|
||||
meshfromstl m16 [locate_data_file b16.stl]
|
||||
meshfromstl m17 [locate_data_file b17.stl]
|
||||
meshfromstl m18 [locate_data_file b18.stl]
|
||||
meshfromstl m19 [locate_data_file b19.stl]
|
||||
|
||||
meshfromstl m21 [locate_data_file b21.stl]
|
||||
meshfromstl m22 [locate_data_file b22.stl]
|
||||
meshfromstl m23 [locate_data_file b23.stl]
|
||||
meshfromstl m24 [locate_data_file b24.stl]
|
||||
meshfromstl m25 [locate_data_file b25.stl]
|
||||
meshfromstl m26 [locate_data_file b26.stl]
|
||||
meshfromstl m27 [locate_data_file b27.stl]
|
||||
meshfromstl m28 [locate_data_file b28.stl]
|
||||
meshfromstl m29 [locate_data_file b29.stl]
|
||||
|
||||
vtrihedron tri
|
||||
|
||||
set dispmode 1
|
||||
meshdispmode m ${dispmode}
|
||||
meshdispmode m2 ${dispmode}
|
||||
meshdispmode m3 ${dispmode}
|
||||
meshdispmode m4 ${dispmode}
|
||||
meshdispmode m5 ${dispmode}
|
||||
meshdispmode m6 ${dispmode}
|
||||
meshdispmode m7 ${dispmode}
|
||||
meshdispmode m8 ${dispmode}
|
||||
meshdispmode m9 ${dispmode}
|
||||
|
||||
meshdispmode m11 ${dispmode}
|
||||
meshdispmode m12 ${dispmode}
|
||||
meshdispmode m13 ${dispmode}
|
||||
meshdispmode m14 ${dispmode}
|
||||
meshdispmode m15 ${dispmode}
|
||||
meshdispmode m16 ${dispmode}
|
||||
meshdispmode m17 ${dispmode}
|
||||
meshdispmode m18 ${dispmode}
|
||||
meshdispmode m19 ${dispmode}
|
||||
|
||||
meshdispmode m21 ${dispmode}
|
||||
meshdispmode m22 ${dispmode}
|
||||
meshdispmode m23 ${dispmode}
|
||||
meshdispmode m24 ${dispmode}
|
||||
meshdispmode m25 ${dispmode}
|
||||
meshdispmode m26 ${dispmode}
|
||||
meshdispmode m27 ${dispmode}
|
||||
meshdispmode m28 ${dispmode}
|
||||
meshdispmode m29 ${dispmode}
|
||||
|
||||
vzoom 0.5
|
||||
|
||||
dchrono tmr start
|
9
tests/perf/multi_object_hlr/A1
Normal file
9
tests/perf/multi_object_hlr/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_object_hlr/A2
Normal file
9
tests/perf/multi_object_hlr/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_object_hlr/A3
Normal file
11
tests/perf/multi_object_hlr/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_object_hlr/A4
Normal file
9
tests/perf/multi_object_hlr/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
9
tests/perf/multi_object_hlr/A5
Normal file
9
tests/perf/multi_object_hlr/A5
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/multi_object_hlr/A6
Normal file
9
tests/perf/multi_object_hlr/A6
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/multi_object_hlr/A7
Normal file
9
tests/perf/multi_object_hlr/A7
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/multi_object_hlr/A8
Normal file
8
tests/perf/multi_object_hlr/A8
Normal file
@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have HidelLineRemoval mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
57
tests/perf/multi_object_hlr/begin
Normal file
57
tests/perf/multi_object_hlr/begin
Normal file
@ -0,0 +1,57 @@
|
||||
box b1 100 0 0 50 50 50
|
||||
box b2 100 -200 0 50 50 50
|
||||
box b3 100 200 0 50 50 50
|
||||
|
||||
box b4 -100 0 0 50 50 50
|
||||
box b5 -100 -200 0 50 50 50
|
||||
box b6 -100 200 0 50 50 50
|
||||
|
||||
box b7 -300 0 0 50 50 50
|
||||
box b8 -300 -200 0 50 50 50
|
||||
box b9 -300 200 0 50 50 50
|
||||
|
||||
|
||||
box b11 100 0 -300 50 50 50
|
||||
box b12 100 -200 -300 50 50 50
|
||||
box b13 100 200 -300 50 50 50
|
||||
|
||||
box b14 -100 0 -300 50 50 50
|
||||
box b15 -100 -200 -300 50 50 50
|
||||
box b16 -100 200 -300 50 50 50
|
||||
|
||||
box b17 -300 0 -300 50 50 50
|
||||
box b18 -300 -200 -300 50 50 50
|
||||
box b19 -300 200 -300 50 50 50
|
||||
|
||||
|
||||
box b21 100 0 300 50 50 50
|
||||
box b22 100 -200 300 50 50 50
|
||||
box b23 100 200 300 50 50 50
|
||||
|
||||
box b24 -100 0 300 50 50 50
|
||||
box b25 -100 -200 300 50 50 50
|
||||
box b26 -100 200 300 50 50 50
|
||||
|
||||
box b27 -300 0 300 50 50 50
|
||||
box b28 -300 -200 300 50 50 50
|
||||
box b29 -300 200 300 50 50 50
|
||||
|
||||
|
||||
vinit;
|
||||
vdisplay b1; vdisplay b2; vdisplay b3;
|
||||
vdisplay b4; vdisplay b5; vdisplay b6;
|
||||
vdisplay b7; vdisplay b8; vdisplay b9;
|
||||
|
||||
vdisplay b11; vdisplay b12; vdisplay b13;
|
||||
vdisplay b14; vdisplay b15; vdisplay b16;
|
||||
vdisplay b17; vdisplay b18; vdisplay b19;
|
||||
|
||||
vdisplay b21; vdisplay b22; vdisplay b23;
|
||||
vdisplay b24; vdisplay b25; vdisplay b26;
|
||||
vdisplay b27; vdisplay b28; vdisplay b29;
|
||||
|
||||
vtrihedron tri
|
||||
vsetdispmode 2
|
||||
|
||||
|
||||
dchrono tmr start
|
12
tests/perf/multi_object_selection/A1
Normal file
12
tests/perf/multi_object_selection/A1
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
verase b; vdisplay b
|
||||
}
|
12
tests/perf/multi_object_selection/A2
Normal file
12
tests/perf/multi_object_selection/A2
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
vsetdispmode 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
verase b; vdisplay b
|
||||
}
|
12
tests/perf/multi_object_selection/A3
Normal file
12
tests/perf/multi_object_selection/A3
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves HidelLineRemoval mode"
|
||||
|
||||
|
||||
vsetdispmode 2
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
verase b; vdisplay b
|
||||
}
|
13
tests/perf/multi_object_selection/A4
Normal file
13
tests/perf/multi_object_selection/A4
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of VERTEX selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 1 1
|
||||
vselmode 1 0
|
||||
}
|
13
tests/perf/multi_object_selection/A5
Normal file
13
tests/perf/multi_object_selection/A5
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of EDGE selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 2 1
|
||||
vselmode 2 0
|
||||
}
|
13
tests/perf/multi_object_selection/A6
Normal file
13
tests/perf/multi_object_selection/A6
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of WIRE selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 3 1
|
||||
vselmode 3 0
|
||||
}
|
13
tests/perf/multi_object_selection/A7
Normal file
13
tests/perf/multi_object_selection/A7
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of FACE selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 4 1
|
||||
vselmode 4 0
|
||||
}
|
13
tests/perf/multi_object_selection/A8
Normal file
13
tests/perf/multi_object_selection/A8
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of SHELL selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 5 1
|
||||
vselmode 5 0
|
||||
}
|
13
tests/perf/multi_object_selection/A9
Normal file
13
tests/perf/multi_object_selection/A9
Normal file
@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of SOLID selection mode for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselmode 6 1
|
||||
vselmode 6 0
|
||||
}
|
17
tests/perf/multi_object_selection/B1
Normal file
17
tests/perf/multi_object_selection/B1
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 247
|
||||
set y 214
|
||||
set x2 247
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/multi_object_selection/B2
Normal file
17
tests/perf/multi_object_selection/B2
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
vsetdispmode 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 247
|
||||
set y 214
|
||||
set x2 247
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/multi_object_selection/B3
Normal file
17
tests/perf/multi_object_selection/B3
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves HidelLineRemoval mode"
|
||||
|
||||
|
||||
vsetdispmode 2
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 247
|
||||
set y 214
|
||||
set x2 247
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
16
tests/perf/multi_object_selection/B4
Normal file
16
tests/perf/multi_object_selection/B4
Normal file
@ -0,0 +1,16 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
16
tests/perf/multi_object_selection/B5
Normal file
16
tests/perf/multi_object_selection/B5
Normal file
@ -0,0 +1,16 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
vsetdispmode 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
16
tests/perf/multi_object_selection/B6
Normal file
16
tests/perf/multi_object_selection/B6
Normal file
@ -0,0 +1,16 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves HidelLineRemoval mode"
|
||||
|
||||
|
||||
vsetdispmode 2
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
18
tests/perf/multi_object_selection/B7
Normal file
18
tests/perf/multi_object_selection/B7
Normal file
@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 1 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/multi_object_selection/B8
Normal file
18
tests/perf/multi_object_selection/B8
Normal file
@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (EDGE) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 2 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/multi_object_selection/B9
Normal file
18
tests/perf/multi_object_selection/B9
Normal file
@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (WIRE) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 3 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/multi_object_selection/C1
Normal file
18
tests/perf/multi_object_selection/C1
Normal file
@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 4 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/multi_object_selection/C2
Normal file
17
tests/perf/multi_object_selection/C2
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (SHELL) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 5 1
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/multi_object_selection/C3
Normal file
18
tests/perf/multi_object_selection/C3
Normal file
@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (SOLID) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 6 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 262
|
||||
set y 205
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/multi_object_selection/C4
Normal file
17
tests/perf/multi_object_selection/C4
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (VERTEX) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 1 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
17
tests/perf/multi_object_selection/C5
Normal file
17
tests/perf/multi_object_selection/C5
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (EDGE) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 2 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
17
tests/perf/multi_object_selection/C6
Normal file
17
tests/perf/multi_object_selection/C6
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (WIRE) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 3 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
17
tests/perf/multi_object_selection/C7
Normal file
17
tests/perf/multi_object_selection/C7
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (FACE) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 4 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
17
tests/perf/multi_object_selection/C8
Normal file
17
tests/perf/multi_object_selection/C8
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (SHELL) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 5 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
17
tests/perf/multi_object_selection/C9
Normal file
17
tests/perf/multi_object_selection/C9
Normal file
@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (SOLID) by rectangular selection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
vselmode 6 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 225; set y1 235; set x2 270; set y2 190
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
12
tests/perf/multi_object_selection/D1
Normal file
12
tests/perf/multi_object_selection/D1
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Non-interactive selection/deselection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
vsetdispmode 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vchangeselected b
|
||||
}
|
12
tests/perf/multi_object_selection/D2
Normal file
12
tests/perf/multi_object_selection/D2
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Non-interactive selection/deselection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
vsetdispmode 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vchangeselected b
|
||||
}
|
12
tests/perf/multi_object_selection/D3
Normal file
12
tests/perf/multi_object_selection/D3
Normal file
@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Non-interactive selection/deselection for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Object haves HidelLineRemoval mode"
|
||||
|
||||
|
||||
vsetdispmode 2
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vchangeselected b
|
||||
}
|
53
tests/perf/multi_object_selection/begin
Normal file
53
tests/perf/multi_object_selection/begin
Normal file
@ -0,0 +1,53 @@
|
||||
box b 100 0 0 50 50 50
|
||||
box b2 100 -200 0 50 50 50
|
||||
box b3 100 200 0 50 50 50
|
||||
|
||||
box b4 -100 0 0 50 50 50
|
||||
box b5 -100 -200 0 50 50 50
|
||||
box b6 -100 200 0 50 50 50
|
||||
|
||||
box b7 -300 0 0 50 50 50
|
||||
box b8 -300 -200 0 50 50 50
|
||||
box b9 -300 200 0 50 50 50
|
||||
|
||||
|
||||
box b11 100 0 -300 50 50 50
|
||||
box b12 100 -200 -300 50 50 50
|
||||
box b13 100 200 -300 50 50 50
|
||||
|
||||
box b14 -100 0 -300 50 50 50
|
||||
box b15 -100 -200 -300 50 50 50
|
||||
box b16 -100 200 -300 50 50 50
|
||||
|
||||
box b17 -300 0 -300 50 50 50
|
||||
box b18 -300 -200 -300 50 50 50
|
||||
box b19 -300 200 -300 50 50 50
|
||||
|
||||
|
||||
box b21 100 0 300 50 50 50
|
||||
box b22 100 -200 300 50 50 50
|
||||
box b23 100 200 300 50 50 50
|
||||
|
||||
box b24 -100 0 300 50 50 50
|
||||
box b25 -100 -200 300 50 50 50
|
||||
box b26 -100 200 300 50 50 50
|
||||
|
||||
box b27 -300 0 300 50 50 50
|
||||
box b28 -300 -200 300 50 50 50
|
||||
box b29 -300 200 300 50 50 50
|
||||
|
||||
|
||||
vinit;
|
||||
vdisplay b; vdisplay b2; vdisplay b3;
|
||||
vdisplay b4; vdisplay b5; vdisplay b6;
|
||||
vdisplay b7; vdisplay b8; vdisplay b9;
|
||||
|
||||
vdisplay b11; vdisplay b12; vdisplay b13;
|
||||
vdisplay b14; vdisplay b15; vdisplay b16;
|
||||
vdisplay b17; vdisplay b18; vdisplay b19;
|
||||
|
||||
vdisplay b21; vdisplay b22; vdisplay b23;
|
||||
vdisplay b24; vdisplay b25; vdisplay b26;
|
||||
vdisplay b27; vdisplay b28; vdisplay b29;
|
||||
|
||||
vtrihedron tri
|
9
tests/perf/multi_object_shading/A1
Normal file
9
tests/perf/multi_object_shading/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_object_shading/A2
Normal file
9
tests/perf/multi_object_shading/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_object_shading/A3
Normal file
11
tests/perf/multi_object_shading/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_object_shading/A4
Normal file
9
tests/perf/multi_object_shading/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
9
tests/perf/multi_object_shading/A5
Normal file
9
tests/perf/multi_object_shading/A5
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/multi_object_shading/A6
Normal file
9
tests/perf/multi_object_shading/A6
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/multi_object_shading/A7
Normal file
9
tests/perf/multi_object_shading/A7
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/multi_object_shading/A8
Normal file
8
tests/perf/multi_object_shading/A8
Normal file
@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 AIS-object (+ AIS trihedron)"
|
||||
puts "Objects have shading mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
57
tests/perf/multi_object_shading/begin
Normal file
57
tests/perf/multi_object_shading/begin
Normal file
@ -0,0 +1,57 @@
|
||||
box b1 100 0 0 50 50 50
|
||||
box b2 100 -200 0 50 50 50
|
||||
box b3 100 200 0 50 50 50
|
||||
|
||||
box b4 -100 0 0 50 50 50
|
||||
box b5 -100 -200 0 50 50 50
|
||||
box b6 -100 200 0 50 50 50
|
||||
|
||||
box b7 -300 0 0 50 50 50
|
||||
box b8 -300 -200 0 50 50 50
|
||||
box b9 -300 200 0 50 50 50
|
||||
|
||||
|
||||
box b11 100 0 -300 50 50 50
|
||||
box b12 100 -200 -300 50 50 50
|
||||
box b13 100 200 -300 50 50 50
|
||||
|
||||
box b14 -100 0 -300 50 50 50
|
||||
box b15 -100 -200 -300 50 50 50
|
||||
box b16 -100 200 -300 50 50 50
|
||||
|
||||
box b17 -300 0 -300 50 50 50
|
||||
box b18 -300 -200 -300 50 50 50
|
||||
box b19 -300 200 -300 50 50 50
|
||||
|
||||
|
||||
box b21 100 0 300 50 50 50
|
||||
box b22 100 -200 300 50 50 50
|
||||
box b23 100 200 300 50 50 50
|
||||
|
||||
box b24 -100 0 300 50 50 50
|
||||
box b25 -100 -200 300 50 50 50
|
||||
box b26 -100 200 300 50 50 50
|
||||
|
||||
box b27 -300 0 300 50 50 50
|
||||
box b28 -300 -200 300 50 50 50
|
||||
box b29 -300 200 300 50 50 50
|
||||
|
||||
|
||||
vinit;
|
||||
vdisplay b1; vdisplay b2; vdisplay b3;
|
||||
vdisplay b4; vdisplay b5; vdisplay b6;
|
||||
vdisplay b7; vdisplay b8; vdisplay b9;
|
||||
|
||||
vdisplay b11; vdisplay b12; vdisplay b13;
|
||||
vdisplay b14; vdisplay b15; vdisplay b16;
|
||||
vdisplay b17; vdisplay b18; vdisplay b19;
|
||||
|
||||
vdisplay b21; vdisplay b22; vdisplay b23;
|
||||
vdisplay b24; vdisplay b25; vdisplay b26;
|
||||
vdisplay b27; vdisplay b28; vdisplay b29;
|
||||
|
||||
vtrihedron tri
|
||||
vsetdispmode 1
|
||||
|
||||
|
||||
dchrono tmr start
|
9
tests/perf/multi_object_wireframe/A1
Normal file
9
tests/perf/multi_object_wireframe/A1
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/multi_object_wireframe/A2
Normal file
9
tests/perf/multi_object_wireframe/A2
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0 1
|
||||
}
|
11
tests/perf/multi_object_wireframe/A3
Normal file
11
tests/perf/multi_object_wireframe/A3
Normal file
@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set D_x 10
|
||||
set D_y 10
|
||||
set D_z 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vtranslateview ${D_x} ${D_y} ${D_z} 1
|
||||
}
|
9
tests/perf/multi_object_wireframe/A4
Normal file
9
tests/perf/multi_object_wireframe/A4
Normal file
@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z} 1
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user