mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023752: Integration of test grid "vpr" into the new testing system
This commit is contained in:
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
|
||||
}
|
9
tests/perf/multi_object_wireframe/A5
Normal file
9
tests/perf/multi_object_wireframe/A5
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 27 AIS-objects (+ 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_object_wireframe/A6
Normal file
9
tests/perf/multi_object_wireframe/A6
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 27 AIS-objects (+ 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_object_wireframe/A7
Normal file
9
tests/perf/multi_object_wireframe/A7
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 27 AIS-objects (+ 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_object_wireframe/A8
Normal file
8
tests/perf/multi_object_wireframe/A8
Normal file
@@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 27 AIS-objects (+ AIS trihedron)"
|
||||
puts "Objects have wireframe mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
57
tests/perf/multi_object_wireframe/begin
Normal file
57
tests/perf/multi_object_wireframe/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 0
|
||||
|
||||
|
||||
dchrono tmr start
|
Reference in New Issue
Block a user