From ee535a6c7c0f56c60834ceb58c93f42480c2a11c Mon Sep 17 00:00:00 2001 From: ski Date: Tue, 12 Feb 2013 15:24:16 +0400 Subject: [PATCH] 0023752: Integration of test grid "vpr" into the new testing system --- tests/perf/begin | 12 ++++ tests/perf/end | 3 + tests/perf/grids.list | 17 ++++++ tests/perf/multi_mesh_selection/A1 | 41 ++++++++++++++ tests/perf/multi_mesh_selection/A2 | 41 ++++++++++++++ tests/perf/multi_mesh_selection/A3 | 41 ++++++++++++++ tests/perf/multi_mesh_selection/A4 | 42 ++++++++++++++ tests/perf/multi_mesh_selection/A5 | 42 ++++++++++++++ tests/perf/multi_mesh_selection/A6 | 42 ++++++++++++++ tests/perf/multi_mesh_selection/A7 | 48 ++++++++++++++++ tests/perf/multi_mesh_selection/A8 | 48 ++++++++++++++++ tests/perf/multi_mesh_selection/A9 | 48 ++++++++++++++++ tests/perf/multi_mesh_selection/B1 | 47 ++++++++++++++++ tests/perf/multi_mesh_selection/B2 | 47 ++++++++++++++++ tests/perf/multi_mesh_selection/B3 | 47 ++++++++++++++++ tests/perf/multi_mesh_selection/B4 | 48 ++++++++++++++++ tests/perf/multi_mesh_selection/B5 | 48 ++++++++++++++++ tests/perf/multi_mesh_selection/B6 | 47 ++++++++++++++++ tests/perf/multi_mesh_selection/B7 | 47 ++++++++++++++++ tests/perf/multi_mesh_selection/begin | 34 ++++++++++++ tests/perf/multi_mesh_shading/A1 | 9 +++ tests/perf/multi_mesh_shading/A2 | 9 +++ tests/perf/multi_mesh_shading/A3 | 11 ++++ tests/perf/multi_mesh_shading/A4 | 9 +++ tests/perf/multi_mesh_shading/A5 | 9 +++ tests/perf/multi_mesh_shading/A6 | 9 +++ tests/perf/multi_mesh_shading/A7 | 9 +++ tests/perf/multi_mesh_shading/A8 | 8 +++ tests/perf/multi_mesh_shading/begin | 70 ++++++++++++++++++++++++ tests/perf/multi_mesh_shrink/A1 | 9 +++ tests/perf/multi_mesh_shrink/A2 | 9 +++ tests/perf/multi_mesh_shrink/A3 | 11 ++++ tests/perf/multi_mesh_shrink/A4 | 9 +++ tests/perf/multi_mesh_shrink/A5 | 9 +++ tests/perf/multi_mesh_shrink/A6 | 9 +++ tests/perf/multi_mesh_shrink/A7 | 9 +++ tests/perf/multi_mesh_shrink/A8 | 8 +++ tests/perf/multi_mesh_shrink/begin | 69 +++++++++++++++++++++++ tests/perf/multi_mesh_wireframe/A1 | 9 +++ tests/perf/multi_mesh_wireframe/A2 | 9 +++ tests/perf/multi_mesh_wireframe/A3 | 11 ++++ tests/perf/multi_mesh_wireframe/A4 | 9 +++ tests/perf/multi_mesh_wireframe/A5 | 9 +++ tests/perf/multi_mesh_wireframe/A6 | 9 +++ tests/perf/multi_mesh_wireframe/A7 | 9 +++ tests/perf/multi_mesh_wireframe/A8 | 8 +++ tests/perf/multi_mesh_wireframe/begin | 69 +++++++++++++++++++++++ tests/perf/multi_object_hlr/A1 | 9 +++ tests/perf/multi_object_hlr/A2 | 9 +++ tests/perf/multi_object_hlr/A3 | 11 ++++ tests/perf/multi_object_hlr/A4 | 9 +++ tests/perf/multi_object_hlr/A5 | 9 +++ tests/perf/multi_object_hlr/A6 | 9 +++ tests/perf/multi_object_hlr/A7 | 9 +++ tests/perf/multi_object_hlr/A8 | 8 +++ tests/perf/multi_object_hlr/begin | 57 +++++++++++++++++++ tests/perf/multi_object_selection/A1 | 12 ++++ tests/perf/multi_object_selection/A2 | 12 ++++ tests/perf/multi_object_selection/A3 | 12 ++++ tests/perf/multi_object_selection/A4 | 13 +++++ tests/perf/multi_object_selection/A5 | 13 +++++ tests/perf/multi_object_selection/A6 | 13 +++++ tests/perf/multi_object_selection/A7 | 13 +++++ tests/perf/multi_object_selection/A8 | 13 +++++ tests/perf/multi_object_selection/A9 | 13 +++++ tests/perf/multi_object_selection/B1 | 17 ++++++ tests/perf/multi_object_selection/B2 | 17 ++++++ tests/perf/multi_object_selection/B3 | 17 ++++++ tests/perf/multi_object_selection/B4 | 16 ++++++ tests/perf/multi_object_selection/B5 | 16 ++++++ tests/perf/multi_object_selection/B6 | 16 ++++++ tests/perf/multi_object_selection/B7 | 18 ++++++ tests/perf/multi_object_selection/B8 | 18 ++++++ tests/perf/multi_object_selection/B9 | 18 ++++++ tests/perf/multi_object_selection/C1 | 18 ++++++ tests/perf/multi_object_selection/C2 | 17 ++++++ tests/perf/multi_object_selection/C3 | 18 ++++++ tests/perf/multi_object_selection/C4 | 17 ++++++ tests/perf/multi_object_selection/C5 | 17 ++++++ tests/perf/multi_object_selection/C6 | 17 ++++++ tests/perf/multi_object_selection/C7 | 17 ++++++ tests/perf/multi_object_selection/C8 | 17 ++++++ tests/perf/multi_object_selection/C9 | 17 ++++++ tests/perf/multi_object_selection/D1 | 12 ++++ tests/perf/multi_object_selection/D2 | 12 ++++ tests/perf/multi_object_selection/D3 | 12 ++++ tests/perf/multi_object_selection/begin | 53 ++++++++++++++++++ tests/perf/multi_object_shading/A1 | 9 +++ tests/perf/multi_object_shading/A2 | 9 +++ tests/perf/multi_object_shading/A3 | 11 ++++ tests/perf/multi_object_shading/A4 | 9 +++ tests/perf/multi_object_shading/A5 | 9 +++ tests/perf/multi_object_shading/A6 | 9 +++ tests/perf/multi_object_shading/A7 | 9 +++ tests/perf/multi_object_shading/A8 | 8 +++ tests/perf/multi_object_shading/begin | 57 +++++++++++++++++++ tests/perf/multi_object_wireframe/A1 | 9 +++ tests/perf/multi_object_wireframe/A2 | 9 +++ tests/perf/multi_object_wireframe/A3 | 11 ++++ tests/perf/multi_object_wireframe/A4 | 9 +++ tests/perf/multi_object_wireframe/A5 | 9 +++ tests/perf/multi_object_wireframe/A6 | 9 +++ tests/perf/multi_object_wireframe/A7 | 9 +++ tests/perf/multi_object_wireframe/A8 | 8 +++ tests/perf/multi_object_wireframe/begin | 57 +++++++++++++++++++ tests/perf/parse.rules | 5 ++ tests/perf/single_mesh_selection/A1 | 12 ++++ tests/perf/single_mesh_selection/A2 | 12 ++++ tests/perf/single_mesh_selection/A3 | 12 ++++ tests/perf/single_mesh_selection/A4 | 13 +++++ tests/perf/single_mesh_selection/A5 | 13 +++++ tests/perf/single_mesh_selection/A6 | 13 +++++ tests/perf/single_mesh_selection/A7 | 18 ++++++ tests/perf/single_mesh_selection/A8 | 18 ++++++ tests/perf/single_mesh_selection/A9 | 18 ++++++ tests/perf/single_mesh_selection/B1 | 17 ++++++ tests/perf/single_mesh_selection/B2 | 17 ++++++ tests/perf/single_mesh_selection/B3 | 17 ++++++ tests/perf/single_mesh_selection/B4 | 18 ++++++ tests/perf/single_mesh_selection/B5 | 18 ++++++ tests/perf/single_mesh_selection/B6 | 17 ++++++ tests/perf/single_mesh_selection/B7 | 17 ++++++ tests/perf/single_mesh_selection/begin | 6 ++ tests/perf/single_mesh_shading/A1 | 9 +++ tests/perf/single_mesh_shading/A2 | 9 +++ tests/perf/single_mesh_shading/A3 | 11 ++++ tests/perf/single_mesh_shading/A4 | 9 +++ tests/perf/single_mesh_shading/A5 | 9 +++ tests/perf/single_mesh_shading/A6 | 9 +++ tests/perf/single_mesh_shading/A7 | 9 +++ tests/perf/single_mesh_shading/A8 | 8 +++ tests/perf/single_mesh_shading/begin | 9 +++ tests/perf/single_mesh_shrink/A1 | 9 +++ tests/perf/single_mesh_shrink/A2 | 9 +++ tests/perf/single_mesh_shrink/A3 | 11 ++++ tests/perf/single_mesh_shrink/A4 | 9 +++ tests/perf/single_mesh_shrink/A5 | 9 +++ tests/perf/single_mesh_shrink/A6 | 9 +++ tests/perf/single_mesh_shrink/A7 | 9 +++ tests/perf/single_mesh_shrink/A8 | 8 +++ tests/perf/single_mesh_shrink/begin | 9 +++ tests/perf/single_mesh_wireframe/A1 | 9 +++ tests/perf/single_mesh_wireframe/A2 | 9 +++ tests/perf/single_mesh_wireframe/A3 | 11 ++++ tests/perf/single_mesh_wireframe/A4 | 9 +++ tests/perf/single_mesh_wireframe/A5 | 9 +++ tests/perf/single_mesh_wireframe/A6 | 9 +++ tests/perf/single_mesh_wireframe/A7 | 9 +++ tests/perf/single_mesh_wireframe/A8 | 8 +++ tests/perf/single_mesh_wireframe/begin | 9 +++ tests/perf/single_object_hlr/A1 | 9 +++ tests/perf/single_object_hlr/A2 | 9 +++ tests/perf/single_object_hlr/A3 | 11 ++++ tests/perf/single_object_hlr/A4 | 9 +++ tests/perf/single_object_hlr/A5 | 9 +++ tests/perf/single_object_hlr/A6 | 9 +++ tests/perf/single_object_hlr/A7 | 9 +++ tests/perf/single_object_hlr/A8 | 8 +++ tests/perf/single_object_hlr/begin | 6 ++ tests/perf/single_object_selection/A1 | 12 ++++ tests/perf/single_object_selection/A2 | 12 ++++ tests/perf/single_object_selection/A3 | 12 ++++ tests/perf/single_object_selection/A4 | 13 +++++ tests/perf/single_object_selection/A5 | 13 +++++ tests/perf/single_object_selection/A6 | 13 +++++ tests/perf/single_object_selection/A7 | 13 +++++ tests/perf/single_object_selection/A8 | 13 +++++ tests/perf/single_object_selection/A9 | 13 +++++ tests/perf/single_object_selection/B1 | 17 ++++++ tests/perf/single_object_selection/B2 | 17 ++++++ tests/perf/single_object_selection/B3 | 17 ++++++ tests/perf/single_object_selection/B4 | 16 ++++++ tests/perf/single_object_selection/B5 | 16 ++++++ tests/perf/single_object_selection/B6 | 16 ++++++ tests/perf/single_object_selection/B7 | 18 ++++++ tests/perf/single_object_selection/B8 | 18 ++++++ tests/perf/single_object_selection/B9 | 18 ++++++ tests/perf/single_object_selection/C1 | 18 ++++++ tests/perf/single_object_selection/C2 | 18 ++++++ tests/perf/single_object_selection/C3 | 18 ++++++ tests/perf/single_object_selection/C4 | 17 ++++++ tests/perf/single_object_selection/C5 | 17 ++++++ tests/perf/single_object_selection/C6 | 17 ++++++ tests/perf/single_object_selection/C7 | 17 ++++++ tests/perf/single_object_selection/C8 | 17 ++++++ tests/perf/single_object_selection/C9 | 17 ++++++ tests/perf/single_object_selection/D1 | 12 ++++ tests/perf/single_object_selection/D2 | 12 ++++ tests/perf/single_object_selection/D3 | 12 ++++ tests/perf/single_object_selection/begin | 5 ++ tests/perf/single_object_shading/A1 | 9 +++ tests/perf/single_object_shading/A2 | 9 +++ tests/perf/single_object_shading/A3 | 11 ++++ tests/perf/single_object_shading/A4 | 9 +++ tests/perf/single_object_shading/A5 | 9 +++ tests/perf/single_object_shading/A6 | 9 +++ tests/perf/single_object_shading/A7 | 9 +++ tests/perf/single_object_shading/A8 | 8 +++ tests/perf/single_object_shading/begin | 6 ++ tests/perf/single_object_wireframe/A1 | 9 +++ tests/perf/single_object_wireframe/A2 | 9 +++ tests/perf/single_object_wireframe/A3 | 11 ++++ tests/perf/single_object_wireframe/A4 | 9 +++ tests/perf/single_object_wireframe/A5 | 9 +++ tests/perf/single_object_wireframe/A6 | 9 +++ tests/perf/single_object_wireframe/A7 | 9 +++ tests/perf/single_object_wireframe/A8 | 8 +++ tests/perf/single_object_wireframe/begin | 6 ++ 208 files changed, 3326 insertions(+) create mode 100755 tests/perf/begin create mode 100755 tests/perf/end create mode 100644 tests/perf/grids.list create mode 100644 tests/perf/multi_mesh_selection/A1 create mode 100644 tests/perf/multi_mesh_selection/A2 create mode 100644 tests/perf/multi_mesh_selection/A3 create mode 100644 tests/perf/multi_mesh_selection/A4 create mode 100644 tests/perf/multi_mesh_selection/A5 create mode 100644 tests/perf/multi_mesh_selection/A6 create mode 100644 tests/perf/multi_mesh_selection/A7 create mode 100644 tests/perf/multi_mesh_selection/A8 create mode 100644 tests/perf/multi_mesh_selection/A9 create mode 100644 tests/perf/multi_mesh_selection/B1 create mode 100644 tests/perf/multi_mesh_selection/B2 create mode 100644 tests/perf/multi_mesh_selection/B3 create mode 100644 tests/perf/multi_mesh_selection/B4 create mode 100644 tests/perf/multi_mesh_selection/B5 create mode 100644 tests/perf/multi_mesh_selection/B6 create mode 100644 tests/perf/multi_mesh_selection/B7 create mode 100644 tests/perf/multi_mesh_selection/begin create mode 100644 tests/perf/multi_mesh_shading/A1 create mode 100644 tests/perf/multi_mesh_shading/A2 create mode 100644 tests/perf/multi_mesh_shading/A3 create mode 100644 tests/perf/multi_mesh_shading/A4 create mode 100644 tests/perf/multi_mesh_shading/A5 create mode 100644 tests/perf/multi_mesh_shading/A6 create mode 100644 tests/perf/multi_mesh_shading/A7 create mode 100644 tests/perf/multi_mesh_shading/A8 create mode 100644 tests/perf/multi_mesh_shading/begin create mode 100644 tests/perf/multi_mesh_shrink/A1 create mode 100644 tests/perf/multi_mesh_shrink/A2 create mode 100644 tests/perf/multi_mesh_shrink/A3 create mode 100644 tests/perf/multi_mesh_shrink/A4 create mode 100644 tests/perf/multi_mesh_shrink/A5 create mode 100644 tests/perf/multi_mesh_shrink/A6 create mode 100644 tests/perf/multi_mesh_shrink/A7 create mode 100644 tests/perf/multi_mesh_shrink/A8 create mode 100644 tests/perf/multi_mesh_shrink/begin create mode 100644 tests/perf/multi_mesh_wireframe/A1 create mode 100644 tests/perf/multi_mesh_wireframe/A2 create mode 100644 tests/perf/multi_mesh_wireframe/A3 create mode 100644 tests/perf/multi_mesh_wireframe/A4 create mode 100644 tests/perf/multi_mesh_wireframe/A5 create mode 100644 tests/perf/multi_mesh_wireframe/A6 create mode 100644 tests/perf/multi_mesh_wireframe/A7 create mode 100644 tests/perf/multi_mesh_wireframe/A8 create mode 100644 tests/perf/multi_mesh_wireframe/begin create mode 100644 tests/perf/multi_object_hlr/A1 create mode 100644 tests/perf/multi_object_hlr/A2 create mode 100644 tests/perf/multi_object_hlr/A3 create mode 100644 tests/perf/multi_object_hlr/A4 create mode 100644 tests/perf/multi_object_hlr/A5 create mode 100644 tests/perf/multi_object_hlr/A6 create mode 100644 tests/perf/multi_object_hlr/A7 create mode 100644 tests/perf/multi_object_hlr/A8 create mode 100644 tests/perf/multi_object_hlr/begin create mode 100644 tests/perf/multi_object_selection/A1 create mode 100644 tests/perf/multi_object_selection/A2 create mode 100644 tests/perf/multi_object_selection/A3 create mode 100644 tests/perf/multi_object_selection/A4 create mode 100644 tests/perf/multi_object_selection/A5 create mode 100644 tests/perf/multi_object_selection/A6 create mode 100644 tests/perf/multi_object_selection/A7 create mode 100644 tests/perf/multi_object_selection/A8 create mode 100644 tests/perf/multi_object_selection/A9 create mode 100644 tests/perf/multi_object_selection/B1 create mode 100644 tests/perf/multi_object_selection/B2 create mode 100644 tests/perf/multi_object_selection/B3 create mode 100644 tests/perf/multi_object_selection/B4 create mode 100644 tests/perf/multi_object_selection/B5 create mode 100644 tests/perf/multi_object_selection/B6 create mode 100644 tests/perf/multi_object_selection/B7 create mode 100644 tests/perf/multi_object_selection/B8 create mode 100644 tests/perf/multi_object_selection/B9 create mode 100644 tests/perf/multi_object_selection/C1 create mode 100644 tests/perf/multi_object_selection/C2 create mode 100644 tests/perf/multi_object_selection/C3 create mode 100644 tests/perf/multi_object_selection/C4 create mode 100644 tests/perf/multi_object_selection/C5 create mode 100644 tests/perf/multi_object_selection/C6 create mode 100644 tests/perf/multi_object_selection/C7 create mode 100644 tests/perf/multi_object_selection/C8 create mode 100644 tests/perf/multi_object_selection/C9 create mode 100644 tests/perf/multi_object_selection/D1 create mode 100644 tests/perf/multi_object_selection/D2 create mode 100644 tests/perf/multi_object_selection/D3 create mode 100644 tests/perf/multi_object_selection/begin create mode 100644 tests/perf/multi_object_shading/A1 create mode 100644 tests/perf/multi_object_shading/A2 create mode 100644 tests/perf/multi_object_shading/A3 create mode 100644 tests/perf/multi_object_shading/A4 create mode 100644 tests/perf/multi_object_shading/A5 create mode 100644 tests/perf/multi_object_shading/A6 create mode 100644 tests/perf/multi_object_shading/A7 create mode 100644 tests/perf/multi_object_shading/A8 create mode 100644 tests/perf/multi_object_shading/begin create mode 100644 tests/perf/multi_object_wireframe/A1 create mode 100644 tests/perf/multi_object_wireframe/A2 create mode 100644 tests/perf/multi_object_wireframe/A3 create mode 100644 tests/perf/multi_object_wireframe/A4 create mode 100644 tests/perf/multi_object_wireframe/A5 create mode 100644 tests/perf/multi_object_wireframe/A6 create mode 100644 tests/perf/multi_object_wireframe/A7 create mode 100644 tests/perf/multi_object_wireframe/A8 create mode 100644 tests/perf/multi_object_wireframe/begin create mode 100644 tests/perf/parse.rules create mode 100644 tests/perf/single_mesh_selection/A1 create mode 100644 tests/perf/single_mesh_selection/A2 create mode 100644 tests/perf/single_mesh_selection/A3 create mode 100644 tests/perf/single_mesh_selection/A4 create mode 100644 tests/perf/single_mesh_selection/A5 create mode 100644 tests/perf/single_mesh_selection/A6 create mode 100644 tests/perf/single_mesh_selection/A7 create mode 100644 tests/perf/single_mesh_selection/A8 create mode 100644 tests/perf/single_mesh_selection/A9 create mode 100644 tests/perf/single_mesh_selection/B1 create mode 100644 tests/perf/single_mesh_selection/B2 create mode 100644 tests/perf/single_mesh_selection/B3 create mode 100644 tests/perf/single_mesh_selection/B4 create mode 100644 tests/perf/single_mesh_selection/B5 create mode 100644 tests/perf/single_mesh_selection/B6 create mode 100644 tests/perf/single_mesh_selection/B7 create mode 100644 tests/perf/single_mesh_selection/begin create mode 100644 tests/perf/single_mesh_shading/A1 create mode 100644 tests/perf/single_mesh_shading/A2 create mode 100644 tests/perf/single_mesh_shading/A3 create mode 100644 tests/perf/single_mesh_shading/A4 create mode 100644 tests/perf/single_mesh_shading/A5 create mode 100644 tests/perf/single_mesh_shading/A6 create mode 100644 tests/perf/single_mesh_shading/A7 create mode 100644 tests/perf/single_mesh_shading/A8 create mode 100644 tests/perf/single_mesh_shading/begin create mode 100644 tests/perf/single_mesh_shrink/A1 create mode 100644 tests/perf/single_mesh_shrink/A2 create mode 100644 tests/perf/single_mesh_shrink/A3 create mode 100644 tests/perf/single_mesh_shrink/A4 create mode 100644 tests/perf/single_mesh_shrink/A5 create mode 100644 tests/perf/single_mesh_shrink/A6 create mode 100644 tests/perf/single_mesh_shrink/A7 create mode 100644 tests/perf/single_mesh_shrink/A8 create mode 100644 tests/perf/single_mesh_shrink/begin create mode 100644 tests/perf/single_mesh_wireframe/A1 create mode 100644 tests/perf/single_mesh_wireframe/A2 create mode 100644 tests/perf/single_mesh_wireframe/A3 create mode 100644 tests/perf/single_mesh_wireframe/A4 create mode 100644 tests/perf/single_mesh_wireframe/A5 create mode 100644 tests/perf/single_mesh_wireframe/A6 create mode 100644 tests/perf/single_mesh_wireframe/A7 create mode 100644 tests/perf/single_mesh_wireframe/A8 create mode 100644 tests/perf/single_mesh_wireframe/begin create mode 100644 tests/perf/single_object_hlr/A1 create mode 100644 tests/perf/single_object_hlr/A2 create mode 100644 tests/perf/single_object_hlr/A3 create mode 100644 tests/perf/single_object_hlr/A4 create mode 100644 tests/perf/single_object_hlr/A5 create mode 100644 tests/perf/single_object_hlr/A6 create mode 100644 tests/perf/single_object_hlr/A7 create mode 100644 tests/perf/single_object_hlr/A8 create mode 100644 tests/perf/single_object_hlr/begin create mode 100644 tests/perf/single_object_selection/A1 create mode 100644 tests/perf/single_object_selection/A2 create mode 100644 tests/perf/single_object_selection/A3 create mode 100644 tests/perf/single_object_selection/A4 create mode 100644 tests/perf/single_object_selection/A5 create mode 100644 tests/perf/single_object_selection/A6 create mode 100644 tests/perf/single_object_selection/A7 create mode 100644 tests/perf/single_object_selection/A8 create mode 100644 tests/perf/single_object_selection/A9 create mode 100644 tests/perf/single_object_selection/B1 create mode 100644 tests/perf/single_object_selection/B2 create mode 100644 tests/perf/single_object_selection/B3 create mode 100644 tests/perf/single_object_selection/B4 create mode 100644 tests/perf/single_object_selection/B5 create mode 100644 tests/perf/single_object_selection/B6 create mode 100644 tests/perf/single_object_selection/B7 create mode 100644 tests/perf/single_object_selection/B8 create mode 100644 tests/perf/single_object_selection/B9 create mode 100644 tests/perf/single_object_selection/C1 create mode 100644 tests/perf/single_object_selection/C2 create mode 100644 tests/perf/single_object_selection/C3 create mode 100644 tests/perf/single_object_selection/C4 create mode 100644 tests/perf/single_object_selection/C5 create mode 100644 tests/perf/single_object_selection/C6 create mode 100644 tests/perf/single_object_selection/C7 create mode 100644 tests/perf/single_object_selection/C8 create mode 100644 tests/perf/single_object_selection/C9 create mode 100644 tests/perf/single_object_selection/D1 create mode 100644 tests/perf/single_object_selection/D2 create mode 100644 tests/perf/single_object_selection/D3 create mode 100644 tests/perf/single_object_selection/begin create mode 100644 tests/perf/single_object_shading/A1 create mode 100644 tests/perf/single_object_shading/A2 create mode 100644 tests/perf/single_object_shading/A3 create mode 100644 tests/perf/single_object_shading/A4 create mode 100644 tests/perf/single_object_shading/A5 create mode 100644 tests/perf/single_object_shading/A6 create mode 100644 tests/perf/single_object_shading/A7 create mode 100644 tests/perf/single_object_shading/A8 create mode 100644 tests/perf/single_object_shading/begin create mode 100644 tests/perf/single_object_wireframe/A1 create mode 100644 tests/perf/single_object_wireframe/A2 create mode 100644 tests/perf/single_object_wireframe/A3 create mode 100644 tests/perf/single_object_wireframe/A4 create mode 100644 tests/perf/single_object_wireframe/A5 create mode 100644 tests/perf/single_object_wireframe/A6 create mode 100644 tests/perf/single_object_wireframe/A7 create mode 100644 tests/perf/single_object_wireframe/A8 create mode 100644 tests/perf/single_object_wireframe/begin diff --git a/tests/perf/begin b/tests/perf/begin new file mode 100755 index 0000000000..8dd8c23bae --- /dev/null +++ b/tests/perf/begin @@ -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 +} diff --git a/tests/perf/end b/tests/perf/end new file mode 100755 index 0000000000..fbbef48395 --- /dev/null +++ b/tests/perf/end @@ -0,0 +1,3 @@ +vdump $imagedir/${test_image}.png + +puts "TEST COMPLETED" diff --git a/tests/perf/grids.list b/tests/perf/grids.list new file mode 100644 index 0000000000..b6ff3b8ab6 --- /dev/null +++ b/tests/perf/grids.list @@ -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 + diff --git a/tests/perf/multi_mesh_selection/A1 b/tests/perf/multi_mesh_selection/A1 new file mode 100644 index 0000000000..b50725c171 --- /dev/null +++ b/tests/perf/multi_mesh_selection/A1 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A2 b/tests/perf/multi_mesh_selection/A2 new file mode 100644 index 0000000000..5d61772a47 --- /dev/null +++ b/tests/perf/multi_mesh_selection/A2 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A3 b/tests/perf/multi_mesh_selection/A3 new file mode 100644 index 0000000000..2c1b70e5c1 --- /dev/null +++ b/tests/perf/multi_mesh_selection/A3 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A4 b/tests/perf/multi_mesh_selection/A4 new file mode 100644 index 0000000000..29b665e08d --- /dev/null +++ b/tests/perf/multi_mesh_selection/A4 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A5 b/tests/perf/multi_mesh_selection/A5 new file mode 100644 index 0000000000..fdbd9776dd --- /dev/null +++ b/tests/perf/multi_mesh_selection/A5 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A6 b/tests/perf/multi_mesh_selection/A6 new file mode 100644 index 0000000000..a4c7de7b79 --- /dev/null +++ b/tests/perf/multi_mesh_selection/A6 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A7 b/tests/perf/multi_mesh_selection/A7 new file mode 100644 index 0000000000..2bab2e51ac --- /dev/null +++ b/tests/perf/multi_mesh_selection/A7 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A8 b/tests/perf/multi_mesh_selection/A8 new file mode 100644 index 0000000000..942da6a9cb --- /dev/null +++ b/tests/perf/multi_mesh_selection/A8 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/A9 b/tests/perf/multi_mesh_selection/A9 new file mode 100644 index 0000000000..e7bb51e1a2 --- /dev/null +++ b/tests/perf/multi_mesh_selection/A9 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B1 b/tests/perf/multi_mesh_selection/B1 new file mode 100644 index 0000000000..588e790874 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B1 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B2 b/tests/perf/multi_mesh_selection/B2 new file mode 100644 index 0000000000..1e5b73e780 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B2 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B3 b/tests/perf/multi_mesh_selection/B3 new file mode 100644 index 0000000000..921be95667 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B3 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B4 b/tests/perf/multi_mesh_selection/B4 new file mode 100644 index 0000000000..7e3cfa2ce8 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B4 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B5 b/tests/perf/multi_mesh_selection/B5 new file mode 100644 index 0000000000..fcbefd0a65 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B5 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B6 b/tests/perf/multi_mesh_selection/B6 new file mode 100644 index 0000000000..a3936dfc3a --- /dev/null +++ b/tests/perf/multi_mesh_selection/B6 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/B7 b/tests/perf/multi_mesh_selection/B7 new file mode 100644 index 0000000000..93e4113250 --- /dev/null +++ b/tests/perf/multi_mesh_selection/B7 @@ -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 +} diff --git a/tests/perf/multi_mesh_selection/begin b/tests/perf/multi_mesh_selection/begin new file mode 100644 index 0000000000..8cdc750a75 --- /dev/null +++ b/tests/perf/multi_mesh_selection/begin @@ -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 diff --git a/tests/perf/multi_mesh_shading/A1 b/tests/perf/multi_mesh_shading/A1 new file mode 100644 index 0000000000..852311f8ac --- /dev/null +++ b/tests/perf/multi_mesh_shading/A1 @@ -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} +} diff --git a/tests/perf/multi_mesh_shading/A2 b/tests/perf/multi_mesh_shading/A2 new file mode 100644 index 0000000000..27be945416 --- /dev/null +++ b/tests/perf/multi_mesh_shading/A2 @@ -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 +} diff --git a/tests/perf/multi_mesh_shading/A3 b/tests/perf/multi_mesh_shading/A3 new file mode 100644 index 0000000000..13fe7746da --- /dev/null +++ b/tests/perf/multi_mesh_shading/A3 @@ -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 +} diff --git a/tests/perf/multi_mesh_shading/A4 b/tests/perf/multi_mesh_shading/A4 new file mode 100644 index 0000000000..61f8eb0634 --- /dev/null +++ b/tests/perf/multi_mesh_shading/A4 @@ -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 +} diff --git a/tests/perf/multi_mesh_shading/A5 b/tests/perf/multi_mesh_shading/A5 new file mode 100644 index 0000000000..f864a29f41 --- /dev/null +++ b/tests/perf/multi_mesh_shading/A5 @@ -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} +} diff --git a/tests/perf/multi_mesh_shading/A6 b/tests/perf/multi_mesh_shading/A6 new file mode 100644 index 0000000000..fab6f2d1b1 --- /dev/null +++ b/tests/perf/multi_mesh_shading/A6 @@ -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} +} diff --git a/tests/perf/multi_mesh_shading/A7 b/tests/perf/multi_mesh_shading/A7 new file mode 100644 index 0000000000..2516d84ebb --- /dev/null +++ b/tests/perf/multi_mesh_shading/A7 @@ -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] +} diff --git a/tests/perf/multi_mesh_shading/A8 b/tests/perf/multi_mesh_shading/A8 new file mode 100644 index 0000000000..56158e6aae --- /dev/null +++ b/tests/perf/multi_mesh_shading/A8 @@ -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 +} diff --git a/tests/perf/multi_mesh_shading/begin b/tests/perf/multi_mesh_shading/begin new file mode 100644 index 0000000000..4adc56606b --- /dev/null +++ b/tests/perf/multi_mesh_shading/begin @@ -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 diff --git a/tests/perf/multi_mesh_shrink/A1 b/tests/perf/multi_mesh_shrink/A1 new file mode 100644 index 0000000000..e4e52303c5 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A1 @@ -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} +} diff --git a/tests/perf/multi_mesh_shrink/A2 b/tests/perf/multi_mesh_shrink/A2 new file mode 100644 index 0000000000..9902ee9dbc --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A2 @@ -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 +} diff --git a/tests/perf/multi_mesh_shrink/A3 b/tests/perf/multi_mesh_shrink/A3 new file mode 100644 index 0000000000..4a8c12b4b8 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A3 @@ -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 +} diff --git a/tests/perf/multi_mesh_shrink/A4 b/tests/perf/multi_mesh_shrink/A4 new file mode 100644 index 0000000000..773452131f --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A4 @@ -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 +} diff --git a/tests/perf/multi_mesh_shrink/A5 b/tests/perf/multi_mesh_shrink/A5 new file mode 100644 index 0000000000..2870a66392 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A5 @@ -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} +} diff --git a/tests/perf/multi_mesh_shrink/A6 b/tests/perf/multi_mesh_shrink/A6 new file mode 100644 index 0000000000..a8e630774d --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A6 @@ -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} +} diff --git a/tests/perf/multi_mesh_shrink/A7 b/tests/perf/multi_mesh_shrink/A7 new file mode 100644 index 0000000000..e799fafd33 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A7 @@ -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] +} diff --git a/tests/perf/multi_mesh_shrink/A8 b/tests/perf/multi_mesh_shrink/A8 new file mode 100644 index 0000000000..13789c7890 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/A8 @@ -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 +} diff --git a/tests/perf/multi_mesh_shrink/begin b/tests/perf/multi_mesh_shrink/begin new file mode 100644 index 0000000000..804e1b25b7 --- /dev/null +++ b/tests/perf/multi_mesh_shrink/begin @@ -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 diff --git a/tests/perf/multi_mesh_wireframe/A1 b/tests/perf/multi_mesh_wireframe/A1 new file mode 100644 index 0000000000..997b54dbc6 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A1 @@ -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} +} diff --git a/tests/perf/multi_mesh_wireframe/A2 b/tests/perf/multi_mesh_wireframe/A2 new file mode 100644 index 0000000000..4fcacc5898 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A2 @@ -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 +} diff --git a/tests/perf/multi_mesh_wireframe/A3 b/tests/perf/multi_mesh_wireframe/A3 new file mode 100644 index 0000000000..adf9caa4d7 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A3 @@ -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 +} diff --git a/tests/perf/multi_mesh_wireframe/A4 b/tests/perf/multi_mesh_wireframe/A4 new file mode 100644 index 0000000000..8d320533b7 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A4 @@ -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 +} diff --git a/tests/perf/multi_mesh_wireframe/A5 b/tests/perf/multi_mesh_wireframe/A5 new file mode 100644 index 0000000000..17c9453ec1 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A5 @@ -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} +} diff --git a/tests/perf/multi_mesh_wireframe/A6 b/tests/perf/multi_mesh_wireframe/A6 new file mode 100644 index 0000000000..06ac85ff6e --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A6 @@ -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} +} diff --git a/tests/perf/multi_mesh_wireframe/A7 b/tests/perf/multi_mesh_wireframe/A7 new file mode 100644 index 0000000000..497ceaae37 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A7 @@ -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] +} diff --git a/tests/perf/multi_mesh_wireframe/A8 b/tests/perf/multi_mesh_wireframe/A8 new file mode 100644 index 0000000000..bee94afdb6 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/A8 @@ -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 +} diff --git a/tests/perf/multi_mesh_wireframe/begin b/tests/perf/multi_mesh_wireframe/begin new file mode 100644 index 0000000000..8e0f0ca498 --- /dev/null +++ b/tests/perf/multi_mesh_wireframe/begin @@ -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 diff --git a/tests/perf/multi_object_hlr/A1 b/tests/perf/multi_object_hlr/A1 new file mode 100644 index 0000000000..80440202be --- /dev/null +++ b/tests/perf/multi_object_hlr/A1 @@ -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} +} diff --git a/tests/perf/multi_object_hlr/A2 b/tests/perf/multi_object_hlr/A2 new file mode 100644 index 0000000000..ec64177976 --- /dev/null +++ b/tests/perf/multi_object_hlr/A2 @@ -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 +} diff --git a/tests/perf/multi_object_hlr/A3 b/tests/perf/multi_object_hlr/A3 new file mode 100644 index 0000000000..357853b530 --- /dev/null +++ b/tests/perf/multi_object_hlr/A3 @@ -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 +} diff --git a/tests/perf/multi_object_hlr/A4 b/tests/perf/multi_object_hlr/A4 new file mode 100644 index 0000000000..1454e4e87e --- /dev/null +++ b/tests/perf/multi_object_hlr/A4 @@ -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 +} diff --git a/tests/perf/multi_object_hlr/A5 b/tests/perf/multi_object_hlr/A5 new file mode 100644 index 0000000000..a084f69ed1 --- /dev/null +++ b/tests/perf/multi_object_hlr/A5 @@ -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} +} diff --git a/tests/perf/multi_object_hlr/A6 b/tests/perf/multi_object_hlr/A6 new file mode 100644 index 0000000000..e6d5904161 --- /dev/null +++ b/tests/perf/multi_object_hlr/A6 @@ -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} +} diff --git a/tests/perf/multi_object_hlr/A7 b/tests/perf/multi_object_hlr/A7 new file mode 100644 index 0000000000..a1ed6d57c1 --- /dev/null +++ b/tests/perf/multi_object_hlr/A7 @@ -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] +} diff --git a/tests/perf/multi_object_hlr/A8 b/tests/perf/multi_object_hlr/A8 new file mode 100644 index 0000000000..73a9ea6dd4 --- /dev/null +++ b/tests/perf/multi_object_hlr/A8 @@ -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 +} diff --git a/tests/perf/multi_object_hlr/begin b/tests/perf/multi_object_hlr/begin new file mode 100644 index 0000000000..162cad489d --- /dev/null +++ b/tests/perf/multi_object_hlr/begin @@ -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 diff --git a/tests/perf/multi_object_selection/A1 b/tests/perf/multi_object_selection/A1 new file mode 100644 index 0000000000..929ecb6096 --- /dev/null +++ b/tests/perf/multi_object_selection/A1 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A2 b/tests/perf/multi_object_selection/A2 new file mode 100644 index 0000000000..84884bb414 --- /dev/null +++ b/tests/perf/multi_object_selection/A2 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A3 b/tests/perf/multi_object_selection/A3 new file mode 100644 index 0000000000..9a00555ac9 --- /dev/null +++ b/tests/perf/multi_object_selection/A3 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A4 b/tests/perf/multi_object_selection/A4 new file mode 100644 index 0000000000..55d79a15b6 --- /dev/null +++ b/tests/perf/multi_object_selection/A4 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A5 b/tests/perf/multi_object_selection/A5 new file mode 100644 index 0000000000..be8bf76565 --- /dev/null +++ b/tests/perf/multi_object_selection/A5 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A6 b/tests/perf/multi_object_selection/A6 new file mode 100644 index 0000000000..e0b958790f --- /dev/null +++ b/tests/perf/multi_object_selection/A6 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A7 b/tests/perf/multi_object_selection/A7 new file mode 100644 index 0000000000..0aa30a2818 --- /dev/null +++ b/tests/perf/multi_object_selection/A7 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A8 b/tests/perf/multi_object_selection/A8 new file mode 100644 index 0000000000..b3f6de7dae --- /dev/null +++ b/tests/perf/multi_object_selection/A8 @@ -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 +} diff --git a/tests/perf/multi_object_selection/A9 b/tests/perf/multi_object_selection/A9 new file mode 100644 index 0000000000..f093f40cb3 --- /dev/null +++ b/tests/perf/multi_object_selection/A9 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B1 b/tests/perf/multi_object_selection/B1 new file mode 100644 index 0000000000..005f33f285 --- /dev/null +++ b/tests/perf/multi_object_selection/B1 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B2 b/tests/perf/multi_object_selection/B2 new file mode 100644 index 0000000000..62c21cea65 --- /dev/null +++ b/tests/perf/multi_object_selection/B2 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B3 b/tests/perf/multi_object_selection/B3 new file mode 100644 index 0000000000..f711890282 --- /dev/null +++ b/tests/perf/multi_object_selection/B3 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B4 b/tests/perf/multi_object_selection/B4 new file mode 100644 index 0000000000..be2dae3b61 --- /dev/null +++ b/tests/perf/multi_object_selection/B4 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B5 b/tests/perf/multi_object_selection/B5 new file mode 100644 index 0000000000..4e57cbf3dc --- /dev/null +++ b/tests/perf/multi_object_selection/B5 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B6 b/tests/perf/multi_object_selection/B6 new file mode 100644 index 0000000000..885e33336f --- /dev/null +++ b/tests/perf/multi_object_selection/B6 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B7 b/tests/perf/multi_object_selection/B7 new file mode 100644 index 0000000000..c4436f9228 --- /dev/null +++ b/tests/perf/multi_object_selection/B7 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B8 b/tests/perf/multi_object_selection/B8 new file mode 100644 index 0000000000..7a218a6e83 --- /dev/null +++ b/tests/perf/multi_object_selection/B8 @@ -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 +} diff --git a/tests/perf/multi_object_selection/B9 b/tests/perf/multi_object_selection/B9 new file mode 100644 index 0000000000..9af92dff89 --- /dev/null +++ b/tests/perf/multi_object_selection/B9 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C1 b/tests/perf/multi_object_selection/C1 new file mode 100644 index 0000000000..9e53c764d8 --- /dev/null +++ b/tests/perf/multi_object_selection/C1 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C2 b/tests/perf/multi_object_selection/C2 new file mode 100644 index 0000000000..bca9726172 --- /dev/null +++ b/tests/perf/multi_object_selection/C2 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C3 b/tests/perf/multi_object_selection/C3 new file mode 100644 index 0000000000..92d2e7f599 --- /dev/null +++ b/tests/perf/multi_object_selection/C3 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C4 b/tests/perf/multi_object_selection/C4 new file mode 100644 index 0000000000..7d8408cfa8 --- /dev/null +++ b/tests/perf/multi_object_selection/C4 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C5 b/tests/perf/multi_object_selection/C5 new file mode 100644 index 0000000000..80083fc0ad --- /dev/null +++ b/tests/perf/multi_object_selection/C5 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C6 b/tests/perf/multi_object_selection/C6 new file mode 100644 index 0000000000..5402eb845d --- /dev/null +++ b/tests/perf/multi_object_selection/C6 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C7 b/tests/perf/multi_object_selection/C7 new file mode 100644 index 0000000000..ffc4f0a639 --- /dev/null +++ b/tests/perf/multi_object_selection/C7 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C8 b/tests/perf/multi_object_selection/C8 new file mode 100644 index 0000000000..2a4df8664e --- /dev/null +++ b/tests/perf/multi_object_selection/C8 @@ -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 +} diff --git a/tests/perf/multi_object_selection/C9 b/tests/perf/multi_object_selection/C9 new file mode 100644 index 0000000000..63ccb77117 --- /dev/null +++ b/tests/perf/multi_object_selection/C9 @@ -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 +} diff --git a/tests/perf/multi_object_selection/D1 b/tests/perf/multi_object_selection/D1 new file mode 100644 index 0000000000..d95f909f91 --- /dev/null +++ b/tests/perf/multi_object_selection/D1 @@ -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 +} diff --git a/tests/perf/multi_object_selection/D2 b/tests/perf/multi_object_selection/D2 new file mode 100644 index 0000000000..c284d7b2cf --- /dev/null +++ b/tests/perf/multi_object_selection/D2 @@ -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 +} diff --git a/tests/perf/multi_object_selection/D3 b/tests/perf/multi_object_selection/D3 new file mode 100644 index 0000000000..2d72f0ddcf --- /dev/null +++ b/tests/perf/multi_object_selection/D3 @@ -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 +} diff --git a/tests/perf/multi_object_selection/begin b/tests/perf/multi_object_selection/begin new file mode 100644 index 0000000000..11660cda59 --- /dev/null +++ b/tests/perf/multi_object_selection/begin @@ -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 diff --git a/tests/perf/multi_object_shading/A1 b/tests/perf/multi_object_shading/A1 new file mode 100644 index 0000000000..c858f0940c --- /dev/null +++ b/tests/perf/multi_object_shading/A1 @@ -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} +} diff --git a/tests/perf/multi_object_shading/A2 b/tests/perf/multi_object_shading/A2 new file mode 100644 index 0000000000..70e1aadf89 --- /dev/null +++ b/tests/perf/multi_object_shading/A2 @@ -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 +} diff --git a/tests/perf/multi_object_shading/A3 b/tests/perf/multi_object_shading/A3 new file mode 100644 index 0000000000..956b4f6919 --- /dev/null +++ b/tests/perf/multi_object_shading/A3 @@ -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 +} diff --git a/tests/perf/multi_object_shading/A4 b/tests/perf/multi_object_shading/A4 new file mode 100644 index 0000000000..b49d5783a2 --- /dev/null +++ b/tests/perf/multi_object_shading/A4 @@ -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 +} diff --git a/tests/perf/multi_object_shading/A5 b/tests/perf/multi_object_shading/A5 new file mode 100644 index 0000000000..3901da5950 --- /dev/null +++ b/tests/perf/multi_object_shading/A5 @@ -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} +} diff --git a/tests/perf/multi_object_shading/A6 b/tests/perf/multi_object_shading/A6 new file mode 100644 index 0000000000..8c15443d49 --- /dev/null +++ b/tests/perf/multi_object_shading/A6 @@ -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} +} diff --git a/tests/perf/multi_object_shading/A7 b/tests/perf/multi_object_shading/A7 new file mode 100644 index 0000000000..b30e89eb8a --- /dev/null +++ b/tests/perf/multi_object_shading/A7 @@ -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] +} diff --git a/tests/perf/multi_object_shading/A8 b/tests/perf/multi_object_shading/A8 new file mode 100644 index 0000000000..9d4a92dae3 --- /dev/null +++ b/tests/perf/multi_object_shading/A8 @@ -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 +} diff --git a/tests/perf/multi_object_shading/begin b/tests/perf/multi_object_shading/begin new file mode 100644 index 0000000000..9e0eddfba3 --- /dev/null +++ b/tests/perf/multi_object_shading/begin @@ -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 diff --git a/tests/perf/multi_object_wireframe/A1 b/tests/perf/multi_object_wireframe/A1 new file mode 100644 index 0000000000..a3ef47ffdd --- /dev/null +++ b/tests/perf/multi_object_wireframe/A1 @@ -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} +} diff --git a/tests/perf/multi_object_wireframe/A2 b/tests/perf/multi_object_wireframe/A2 new file mode 100644 index 0000000000..f3d8157f6e --- /dev/null +++ b/tests/perf/multi_object_wireframe/A2 @@ -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 +} diff --git a/tests/perf/multi_object_wireframe/A3 b/tests/perf/multi_object_wireframe/A3 new file mode 100644 index 0000000000..90faeaf7d7 --- /dev/null +++ b/tests/perf/multi_object_wireframe/A3 @@ -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 +} diff --git a/tests/perf/multi_object_wireframe/A4 b/tests/perf/multi_object_wireframe/A4 new file mode 100644 index 0000000000..a370281bee --- /dev/null +++ b/tests/perf/multi_object_wireframe/A4 @@ -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 +} diff --git a/tests/perf/multi_object_wireframe/A5 b/tests/perf/multi_object_wireframe/A5 new file mode 100644 index 0000000000..3cb1ade860 --- /dev/null +++ b/tests/perf/multi_object_wireframe/A5 @@ -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} +} diff --git a/tests/perf/multi_object_wireframe/A6 b/tests/perf/multi_object_wireframe/A6 new file mode 100644 index 0000000000..372d528ef8 --- /dev/null +++ b/tests/perf/multi_object_wireframe/A6 @@ -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} +} diff --git a/tests/perf/multi_object_wireframe/A7 b/tests/perf/multi_object_wireframe/A7 new file mode 100644 index 0000000000..4c7afb6e7d --- /dev/null +++ b/tests/perf/multi_object_wireframe/A7 @@ -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] +} diff --git a/tests/perf/multi_object_wireframe/A8 b/tests/perf/multi_object_wireframe/A8 new file mode 100644 index 0000000000..a77292e506 --- /dev/null +++ b/tests/perf/multi_object_wireframe/A8 @@ -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 +} diff --git a/tests/perf/multi_object_wireframe/begin b/tests/perf/multi_object_wireframe/begin new file mode 100644 index 0000000000..29fa7c9f3b --- /dev/null +++ b/tests/perf/multi_object_wireframe/begin @@ -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 diff --git a/tests/perf/parse.rules b/tests/perf/parse.rules new file mode 100644 index 0000000000..e358d21d9e --- /dev/null +++ b/tests/perf/parse.rules @@ -0,0 +1,5 @@ +FAILED /\bFaulty\b/ bad shape +FAILED /\bError\b/ bad shape +FAILED /\b[Ee]xception\b/ bad shape + + diff --git a/tests/perf/single_mesh_selection/A1 b/tests/perf/single_mesh_selection/A1 new file mode 100644 index 0000000000..e52a76c68e --- /dev/null +++ b/tests/perf/single_mesh_selection/A1 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshhide m; meshshow m +} diff --git a/tests/perf/single_mesh_selection/A2 b/tests/perf/single_mesh_selection/A2 new file mode 100644 index 0000000000..84bb38fad9 --- /dev/null +++ b/tests/perf/single_mesh_selection/A2 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 MeshVS_Mesh" +puts "Object haves shading mode" + + +meshdispmode m 2 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshhide m; meshshow m +} diff --git a/tests/perf/single_mesh_selection/A3 b/tests/perf/single_mesh_selection/A3 new file mode 100644 index 0000000000..2822507b2e --- /dev/null +++ b/tests/perf/single_mesh_selection/A3 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 MeshVS_Mesh" +puts "Object haves shrink mode" + + +meshdispmode m 3 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshhide m; meshshow m +} diff --git a/tests/perf/single_mesh_selection/A4 b/tests/perf/single_mesh_selection/A4 new file mode 100644 index 0000000000..fa6f8baa78 --- /dev/null +++ b/tests/perf/single_mesh_selection/A4 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of NODE selection mode for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshselmode m 1 + meshselmode m -1 +} diff --git a/tests/perf/single_mesh_selection/A5 b/tests/perf/single_mesh_selection/A5 new file mode 100644 index 0000000000..bb03858625 --- /dev/null +++ b/tests/perf/single_mesh_selection/A5 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of FACE selection mode for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshselmode m 8 + meshselmode m -1 +} diff --git a/tests/perf/single_mesh_selection/A6 b/tests/perf/single_mesh_selection/A6 new file mode 100644 index 0000000000..6475fc4786 --- /dev/null +++ b/tests/perf/single_mesh_selection/A6 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of WHOLE MESH selection mode for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + meshselmode m 0 + meshselmode m -1 +} diff --git a/tests/perf/single_mesh_selection/A7 b/tests/perf/single_mesh_selection/A7 new file mode 100644 index 0000000000..a6734c31df --- /dev/null +++ b/tests/perf/single_mesh_selection/A7 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 0 + +dchrono tmr start + +set x 205 +set y 185 +set x2 10 +set y2 10 +for {set i 1} {$i < 100} {incr i} { + vselect $x $y + vselect $x2 $y2 +} diff --git a/tests/perf/single_mesh_selection/A8 b/tests/perf/single_mesh_selection/A8 new file mode 100644 index 0000000000..70a38359f6 --- /dev/null +++ b/tests/perf/single_mesh_selection/A8 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh" +puts "Object haves shading mode" + + +meshdispmode m 2 +meshselmode m 0 + +dchrono tmr start + +set x 205 +set y 185 +set x2 10 +set y2 10 +for {set i 1} {$i < 100} {incr i} { + vselect $x $y + vselect $x2 $y2 +} diff --git a/tests/perf/single_mesh_selection/A9 b/tests/perf/single_mesh_selection/A9 new file mode 100644 index 0000000000..a966881ab7 --- /dev/null +++ b/tests/perf/single_mesh_selection/A9 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh" +puts "Object haves shrink mode" + + +meshdispmode m 3 +meshselmode m 0 + +dchrono tmr start + +set x 205 +set y 185 +set x2 10 +set y2 10 +for {set i 1} {$i < 100} {incr i} { + vselect $x $y + vselect $x2 $y2 +} diff --git a/tests/perf/single_mesh_selection/B1 b/tests/perf/single_mesh_selection/B1 new file mode 100644 index 0000000000..c56932b497 --- /dev/null +++ b/tests/perf/single_mesh_selection/B1 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 0 + +dchrono tmr start + +set x1 180; set y1 180; set x2 225; set y2 230 +set x11 5; set y11 5 + +for {set i 1} {$i < 100} {incr i} { + vselect $x1 $y1 $x2 $y2 1 + vselect $x11 $y11 +} diff --git a/tests/perf/single_mesh_selection/B2 b/tests/perf/single_mesh_selection/B2 new file mode 100644 index 0000000000..faf40ab3ab --- /dev/null +++ b/tests/perf/single_mesh_selection/B2 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh" +puts "Object haves shading mode" + + +meshdispmode m 2 +meshselmode m 0 + +dchrono tmr start + +set x1 180; set y1 180; set x2 225; set y2 230 +set x11 5; set y11 5 + +for {set i 1} {$i < 100} {incr i} { + vselect $x1 $y1 $x2 $y2 1 + vselect $x11 $y11 +} diff --git a/tests/perf/single_mesh_selection/B3 b/tests/perf/single_mesh_selection/B3 new file mode 100644 index 0000000000..724ec3ceef --- /dev/null +++ b/tests/perf/single_mesh_selection/B3 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh" +puts "Object haves shrink mode" + + +meshdispmode m 3 +meshselmode m 0 + +dchrono tmr start + +set x1 180; set y1 180; set x2 225; set y2 230 +set x11 5; set y11 5 + +for {set i 1} {$i < 100} {incr i} { + vselect $x1 $y1 $x2 $y2 1 + vselect $x11 $y11 +} diff --git a/tests/perf/single_mesh_selection/B4 b/tests/perf/single_mesh_selection/B4 new file mode 100644 index 0000000000..18a4a13129 --- /dev/null +++ b/tests/perf/single_mesh_selection/B4 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (NODES) by point-and-click for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 1 + +dchrono tmr start + +set x 205 +set y 185 +set x2 10 +set y2 10 +for {set i 1} {$i < 100} {incr i} { + vselect $x $y + vselect $x2 $y2 +} diff --git a/tests/perf/single_mesh_selection/B5 b/tests/perf/single_mesh_selection/B5 new file mode 100644 index 0000000000..72632008e8 --- /dev/null +++ b/tests/perf/single_mesh_selection/B5 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (FACES) by point-and-click for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 8 + +dchrono tmr start + +set x 205 +set y 185 +set x2 10 +set y2 10 +for {set i 1} {$i < 100} {incr i} { + vselect $x $y + vselect $x2 $y2 +} diff --git a/tests/perf/single_mesh_selection/B6 b/tests/perf/single_mesh_selection/B6 new file mode 100644 index 0000000000..3e94953b12 --- /dev/null +++ b/tests/perf/single_mesh_selection/B6 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (NODES) by rectangular selection for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 1 + +dchrono tmr start + +set x1 180; set y1 180; set x2 225; set y2 230 +set x11 5; set y11 5 + +for {set i 1} {$i < 100} {incr i} { + vselect $x1 $y1 $x2 $y2 1 + vselect $x11 $y11 +} diff --git a/tests/perf/single_mesh_selection/B7 b/tests/perf/single_mesh_selection/B7 new file mode 100644 index 0000000000..d0498d74d8 --- /dev/null +++ b/tests/perf/single_mesh_selection/B7 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (FACES) by rectangular selection for MeshVS_Mesh" +puts "Object haves wireframe mode" + + +meshdispmode m 1 +meshselmode m 8 + +dchrono tmr start + +set x1 180; set y1 180; set x2 225; set y2 230 +set x11 5; set y11 5 + +for {set i 1} {$i < 100} {incr i} { + vselect $x1 $y1 $x2 $y2 1 + vselect $x11 $y11 +} diff --git a/tests/perf/single_mesh_selection/begin b/tests/perf/single_mesh_selection/begin new file mode 100644 index 0000000000..da726f4204 --- /dev/null +++ b/tests/perf/single_mesh_selection/begin @@ -0,0 +1,6 @@ +pload XSDRAW +vinit +meshfromstl m [locate_data_file b.stl] +vtrihedron tri + +vzoom 0.1 diff --git a/tests/perf/single_mesh_shading/A1 b/tests/perf/single_mesh_shading/A1 new file mode 100644 index 0000000000..5d5ab840dd --- /dev/null +++ b/tests/perf/single_mesh_shading/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_mesh_shading/A2 b/tests/perf/single_mesh_shading/A2 new file mode 100644 index 0000000000..53fd3319db --- /dev/null +++ b/tests/perf/single_mesh_shading/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 1 +} diff --git a/tests/perf/single_mesh_shading/A3 b/tests/perf/single_mesh_shading/A3 new file mode 100644 index 0000000000..a24ae08cae --- /dev/null +++ b/tests/perf/single_mesh_shading/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves 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 +} diff --git a/tests/perf/single_mesh_shading/A4 b/tests/perf/single_mesh_shading/A4 new file mode 100644 index 0000000000..51026972cc --- /dev/null +++ b/tests/perf/single_mesh_shading/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} 1 +} diff --git a/tests/perf/single_mesh_shading/A5 b/tests/perf/single_mesh_shading/A5 new file mode 100644 index 0000000000..6422163493 --- /dev/null +++ b/tests/perf/single_mesh_shading/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_mesh_shading/A6 b/tests/perf/single_mesh_shading/A6 new file mode 100644 index 0000000000..888e5e8b9b --- /dev/null +++ b/tests/perf/single_mesh_shading/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_mesh_shading/A7 b/tests/perf/single_mesh_shading/A7 new file mode 100644 index 0000000000..7ada44d37f --- /dev/null +++ b/tests/perf/single_mesh_shading/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_mesh_shading/A8 b/tests/perf/single_mesh_shading/A8 new file mode 100644 index 0000000000..35c7a03f81 --- /dev/null +++ b/tests/perf/single_mesh_shading/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shading mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_mesh_shading/begin b/tests/perf/single_mesh_shading/begin new file mode 100644 index 0000000000..49ea5647f4 --- /dev/null +++ b/tests/perf/single_mesh_shading/begin @@ -0,0 +1,9 @@ +pload XSDRAW +vinit +meshfromstl m [locate_data_file b.stl] +vtrihedron tri +meshdispmode m 2 + +vzoom 0.1 + +dchrono tmr start diff --git a/tests/perf/single_mesh_shrink/A1 b/tests/perf/single_mesh_shrink/A1 new file mode 100644 index 0000000000..4831e34017 --- /dev/null +++ b/tests/perf/single_mesh_shrink/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_mesh_shrink/A2 b/tests/perf/single_mesh_shrink/A2 new file mode 100644 index 0000000000..974708954c --- /dev/null +++ b/tests/perf/single_mesh_shrink/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 1 +} diff --git a/tests/perf/single_mesh_shrink/A3 b/tests/perf/single_mesh_shrink/A3 new file mode 100644 index 0000000000..eed81579ea --- /dev/null +++ b/tests/perf/single_mesh_shrink/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves 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 +} diff --git a/tests/perf/single_mesh_shrink/A4 b/tests/perf/single_mesh_shrink/A4 new file mode 100644 index 0000000000..1ff45c9466 --- /dev/null +++ b/tests/perf/single_mesh_shrink/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} 1 +} diff --git a/tests/perf/single_mesh_shrink/A5 b/tests/perf/single_mesh_shrink/A5 new file mode 100644 index 0000000000..a1aebdc8e8 --- /dev/null +++ b/tests/perf/single_mesh_shrink/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_mesh_shrink/A6 b/tests/perf/single_mesh_shrink/A6 new file mode 100644 index 0000000000..8b1b0e7abe --- /dev/null +++ b/tests/perf/single_mesh_shrink/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_mesh_shrink/A7 b/tests/perf/single_mesh_shrink/A7 new file mode 100644 index 0000000000..b761ec0e5d --- /dev/null +++ b/tests/perf/single_mesh_shrink/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_mesh_shrink/A8 b/tests/perf/single_mesh_shrink/A8 new file mode 100644 index 0000000000..8a15b32abd --- /dev/null +++ b/tests/perf/single_mesh_shrink/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves shrink mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_mesh_shrink/begin b/tests/perf/single_mesh_shrink/begin new file mode 100644 index 0000000000..dc5c311cec --- /dev/null +++ b/tests/perf/single_mesh_shrink/begin @@ -0,0 +1,9 @@ +pload XSDRAW +vinit +meshfromstl m [locate_data_file b.stl] +vtrihedron tri +meshdispmode m 3 + +vzoom 0.1 + +dchrono tmr start diff --git a/tests/perf/single_mesh_wireframe/A1 b/tests/perf/single_mesh_wireframe/A1 new file mode 100644 index 0000000000..8125ea8866 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_mesh_wireframe/A2 b/tests/perf/single_mesh_wireframe/A2 new file mode 100644 index 0000000000..7de0145620 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 +} diff --git a/tests/perf/single_mesh_wireframe/A3 b/tests/perf/single_mesh_wireframe/A3 new file mode 100644 index 0000000000..5a64b659c7 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves 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} +} diff --git a/tests/perf/single_mesh_wireframe/A4 b/tests/perf/single_mesh_wireframe/A4 new file mode 100644 index 0000000000..15a1eba442 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} +} diff --git a/tests/perf/single_mesh_wireframe/A5 b/tests/perf/single_mesh_wireframe/A5 new file mode 100644 index 0000000000..1d0d0bb655 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_mesh_wireframe/A6 b/tests/perf/single_mesh_wireframe/A6 new file mode 100644 index 0000000000..f3bb54764e --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_mesh_wireframe/A7 b/tests/perf/single_mesh_wireframe/A7 new file mode 100644 index 0000000000..16142f920b --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_mesh_wireframe/A8 b/tests/perf/single_mesh_wireframe/A8 new file mode 100644 index 0000000000..4f5668a450 --- /dev/null +++ b/tests/perf/single_mesh_wireframe/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 MeshVS_Mesh (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_mesh_wireframe/begin b/tests/perf/single_mesh_wireframe/begin new file mode 100644 index 0000000000..f3c2d9025a --- /dev/null +++ b/tests/perf/single_mesh_wireframe/begin @@ -0,0 +1,9 @@ +pload XSDRAW +vinit +meshfromstl m [locate_data_file b.stl] +vtrihedron tri +meshdispmode m 1 + +vzoom 0.1 + +dchrono tmr start diff --git a/tests/perf/single_object_hlr/A1 b/tests/perf/single_object_hlr/A1 new file mode 100644 index 0000000000..f34dc5cad4 --- /dev/null +++ b/tests/perf/single_object_hlr/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_object_hlr/A2 b/tests/perf/single_object_hlr/A2 new file mode 100644 index 0000000000..3ffe8d2078 --- /dev/null +++ b/tests/perf/single_object_hlr/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 1 +} diff --git a/tests/perf/single_object_hlr/A3 b/tests/perf/single_object_hlr/A3 new file mode 100644 index 0000000000..293e42976b --- /dev/null +++ b/tests/perf/single_object_hlr/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves 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 +} diff --git a/tests/perf/single_object_hlr/A4 b/tests/perf/single_object_hlr/A4 new file mode 100644 index 0000000000..263b288fe8 --- /dev/null +++ b/tests/perf/single_object_hlr/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} 1 +} diff --git a/tests/perf/single_object_hlr/A5 b/tests/perf/single_object_hlr/A5 new file mode 100644 index 0000000000..b81665ce6b --- /dev/null +++ b/tests/perf/single_object_hlr/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_object_hlr/A6 b/tests/perf/single_object_hlr/A6 new file mode 100644 index 0000000000..3d323a9f89 --- /dev/null +++ b/tests/perf/single_object_hlr/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_object_hlr/A7 b/tests/perf/single_object_hlr/A7 new file mode 100644 index 0000000000..3546da5a18 --- /dev/null +++ b/tests/perf/single_object_hlr/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_object_hlr/A8 b/tests/perf/single_object_hlr/A8 new file mode 100644 index 0000000000..ae57fedf00 --- /dev/null +++ b/tests/perf/single_object_hlr/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves HidelLineRemoval mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_object_hlr/begin b/tests/perf/single_object_hlr/begin new file mode 100644 index 0000000000..3338e80471 --- /dev/null +++ b/tests/perf/single_object_hlr/begin @@ -0,0 +1,6 @@ +box b 100 0 0 50 50 50 +vinit; vdisplay b +vtrihedron tri +vsetdispmode 2 + +dchrono tmr start diff --git a/tests/perf/single_object_selection/A1 b/tests/perf/single_object_selection/A1 new file mode 100644 index 0000000000..f45a7c60c9 --- /dev/null +++ b/tests/perf/single_object_selection/A1 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + verase b; vdisplay b +} diff --git a/tests/perf/single_object_selection/A2 b/tests/perf/single_object_selection/A2 new file mode 100644 index 0000000000..a5d1456de8 --- /dev/null +++ b/tests/perf/single_object_selection/A2 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 AIS-object" +puts "Object haves shading mode" + + +vsetdispmode 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + verase b; vdisplay b +} diff --git a/tests/perf/single_object_selection/A3 b/tests/perf/single_object_selection/A3 new file mode 100644 index 0000000000..1542de742b --- /dev/null +++ b/tests/perf/single_object_selection/A3 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Display/erase 1 AIS-object" +puts "Object haves HidelLineRemoval mode" + + +vsetdispmode 2 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + verase b; vdisplay b +} diff --git a/tests/perf/single_object_selection/A4 b/tests/perf/single_object_selection/A4 new file mode 100644 index 0000000000..582e12f867 --- /dev/null +++ b/tests/perf/single_object_selection/A4 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of VERTEX selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 1 1 + vselmode 1 0 +} diff --git a/tests/perf/single_object_selection/A5 b/tests/perf/single_object_selection/A5 new file mode 100644 index 0000000000..5178d0752f --- /dev/null +++ b/tests/perf/single_object_selection/A5 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of EDGE selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 2 1 + vselmode 2 0 +} diff --git a/tests/perf/single_object_selection/A6 b/tests/perf/single_object_selection/A6 new file mode 100644 index 0000000000..9c357f3ee7 --- /dev/null +++ b/tests/perf/single_object_selection/A6 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of WIRE selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 3 1 + vselmode 3 0 +} diff --git a/tests/perf/single_object_selection/A7 b/tests/perf/single_object_selection/A7 new file mode 100644 index 0000000000..a863ad977a --- /dev/null +++ b/tests/perf/single_object_selection/A7 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of FACE selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 4 1 + vselmode 4 0 +} diff --git a/tests/perf/single_object_selection/A8 b/tests/perf/single_object_selection/A8 new file mode 100644 index 0000000000..8b5c1b5a1d --- /dev/null +++ b/tests/perf/single_object_selection/A8 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of SHELL selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 5 1 + vselmode 5 0 +} diff --git a/tests/perf/single_object_selection/A9 b/tests/perf/single_object_selection/A9 new file mode 100644 index 0000000000..51e9686538 --- /dev/null +++ b/tests/perf/single_object_selection/A9 @@ -0,0 +1,13 @@ +puts "3D visualization performance tests" +puts "Activation of SOLID selection mode for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vselmode 6 1 + vselmode 6 0 +} diff --git a/tests/perf/single_object_selection/B1 b/tests/perf/single_object_selection/B1 new file mode 100644 index 0000000000..ba7421da59 --- /dev/null +++ b/tests/perf/single_object_selection/B1 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B2 b/tests/perf/single_object_selection/B2 new file mode 100644 index 0000000000..81fd298c35 --- /dev/null +++ b/tests/perf/single_object_selection/B2 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B3 b/tests/perf/single_object_selection/B3 new file mode 100644 index 0000000000..f658833095 --- /dev/null +++ b/tests/perf/single_object_selection/B3 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B4 b/tests/perf/single_object_selection/B4 new file mode 100644 index 0000000000..1b50708c01 --- /dev/null +++ b/tests/perf/single_object_selection/B4 @@ -0,0 +1,16 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B5 b/tests/perf/single_object_selection/B5 new file mode 100644 index 0000000000..ecfdb07042 --- /dev/null +++ b/tests/perf/single_object_selection/B5 @@ -0,0 +1,16 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B6 b/tests/perf/single_object_selection/B6 new file mode 100644 index 0000000000..aa4117ff14 --- /dev/null +++ b/tests/perf/single_object_selection/B6 @@ -0,0 +1,16 @@ +puts "3D visualization performance tests" +puts "Interactive selection of whole interactive object by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B7 b/tests/perf/single_object_selection/B7 new file mode 100644 index 0000000000..9ff655fd44 --- /dev/null +++ b/tests/perf/single_object_selection/B7 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B8 b/tests/perf/single_object_selection/B8 new file mode 100644 index 0000000000..de4dc89b96 --- /dev/null +++ b/tests/perf/single_object_selection/B8 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (EDGE) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/B9 b/tests/perf/single_object_selection/B9 new file mode 100644 index 0000000000..9f1d441642 --- /dev/null +++ b/tests/perf/single_object_selection/B9 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (WIRE) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C1 b/tests/perf/single_object_selection/C1 new file mode 100644 index 0000000000..645377ac39 --- /dev/null +++ b/tests/perf/single_object_selection/C1 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C2 b/tests/perf/single_object_selection/C2 new file mode 100644 index 0000000000..6e867f7241 --- /dev/null +++ b/tests/perf/single_object_selection/C2 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (SHELL) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C3 b/tests/perf/single_object_selection/C3 new file mode 100644 index 0000000000..b4fefed7af --- /dev/null +++ b/tests/perf/single_object_selection/C3 @@ -0,0 +1,18 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (SOLID) by point-and-click for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C4 b/tests/perf/single_object_selection/C4 new file mode 100644 index 0000000000..13b5a3a8a2 --- /dev/null +++ b/tests/perf/single_object_selection/C4 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (VERTEX) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C5 b/tests/perf/single_object_selection/C5 new file mode 100644 index 0000000000..07c79029df --- /dev/null +++ b/tests/perf/single_object_selection/C5 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (EDGE) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C6 b/tests/perf/single_object_selection/C6 new file mode 100644 index 0000000000..2e62b049ca --- /dev/null +++ b/tests/perf/single_object_selection/C6 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (WIRE) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C7 b/tests/perf/single_object_selection/C7 new file mode 100644 index 0000000000..987ed5f674 --- /dev/null +++ b/tests/perf/single_object_selection/C7 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (FACE) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C8 b/tests/perf/single_object_selection/C8 new file mode 100644 index 0000000000..250debadec --- /dev/null +++ b/tests/perf/single_object_selection/C8 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (SHELL) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/C9 b/tests/perf/single_object_selection/C9 new file mode 100644 index 0000000000..ab863067bb --- /dev/null +++ b/tests/perf/single_object_selection/C9 @@ -0,0 +1,17 @@ +puts "3D visualization performance tests" +puts "Interactive selection of sub-objects (SOLID) by rectangular selection for AIS-object" +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 +} diff --git a/tests/perf/single_object_selection/D1 b/tests/perf/single_object_selection/D1 new file mode 100644 index 0000000000..6d3adc639e --- /dev/null +++ b/tests/perf/single_object_selection/D1 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Non-interactive selection/deselection for AIS-object" +puts "Object haves wireframe mode" + + +vsetdispmode 0 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vchangeselected b +} diff --git a/tests/perf/single_object_selection/D2 b/tests/perf/single_object_selection/D2 new file mode 100644 index 0000000000..c514d4eebc --- /dev/null +++ b/tests/perf/single_object_selection/D2 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Non-interactive selection/deselection for AIS-object" +puts "Object haves shading mode" + + +vsetdispmode 1 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vchangeselected b +} diff --git a/tests/perf/single_object_selection/D3 b/tests/perf/single_object_selection/D3 new file mode 100644 index 0000000000..644502aaf2 --- /dev/null +++ b/tests/perf/single_object_selection/D3 @@ -0,0 +1,12 @@ +puts "3D visualization performance tests" +puts "Non-interactive selection/deselection for AIS-object" +puts "Object haves HidelLineRemoval mode" + + +vsetdispmode 2 + +dchrono tmr start + +for {set i 1} {$i < 100} {incr i} { + vchangeselected b +} diff --git a/tests/perf/single_object_selection/begin b/tests/perf/single_object_selection/begin new file mode 100644 index 0000000000..981435d253 --- /dev/null +++ b/tests/perf/single_object_selection/begin @@ -0,0 +1,5 @@ +box b 100 0 0 50 50 50 +vinit; vdisplay b +vtrihedron tri +verase b +vdisplay b \ No newline at end of file diff --git a/tests/perf/single_object_shading/A1 b/tests/perf/single_object_shading/A1 new file mode 100644 index 0000000000..3fcf4f3458 --- /dev/null +++ b/tests/perf/single_object_shading/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_object_shading/A2 b/tests/perf/single_object_shading/A2 new file mode 100644 index 0000000000..f13aec2845 --- /dev/null +++ b/tests/perf/single_object_shading/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 1 +} diff --git a/tests/perf/single_object_shading/A3 b/tests/perf/single_object_shading/A3 new file mode 100644 index 0000000000..183c751bcc --- /dev/null +++ b/tests/perf/single_object_shading/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves 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 +} diff --git a/tests/perf/single_object_shading/A4 b/tests/perf/single_object_shading/A4 new file mode 100644 index 0000000000..70ad2d48fd --- /dev/null +++ b/tests/perf/single_object_shading/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} 1 +} diff --git a/tests/perf/single_object_shading/A5 b/tests/perf/single_object_shading/A5 new file mode 100644 index 0000000000..695600240e --- /dev/null +++ b/tests/perf/single_object_shading/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_object_shading/A6 b/tests/perf/single_object_shading/A6 new file mode 100644 index 0000000000..d6be3c1fa9 --- /dev/null +++ b/tests/perf/single_object_shading/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_object_shading/A7 b/tests/perf/single_object_shading/A7 new file mode 100644 index 0000000000..9044aa8e7f --- /dev/null +++ b/tests/perf/single_object_shading/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_object_shading/A8 b/tests/perf/single_object_shading/A8 new file mode 100644 index 0000000000..88e77a54ea --- /dev/null +++ b/tests/perf/single_object_shading/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves shading mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_object_shading/begin b/tests/perf/single_object_shading/begin new file mode 100644 index 0000000000..6998785c4b --- /dev/null +++ b/tests/perf/single_object_shading/begin @@ -0,0 +1,6 @@ +box b 100 0 0 50 50 50 +vinit; vdisplay b +vtrihedron tri +vsetdispmode 1 + +dchrono tmr start diff --git a/tests/perf/single_object_wireframe/A1 b/tests/perf/single_object_wireframe/A1 new file mode 100644 index 0000000000..55c0af49cf --- /dev/null +++ b/tests/perf/single_object_wireframe/A1 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Rotate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set A_z 0.1 +for {set i 1} {$i < 100} {incr i} { + vrotate 0 0 ${A_z} +} diff --git a/tests/perf/single_object_wireframe/A2 b/tests/perf/single_object_wireframe/A2 new file mode 100644 index 0000000000..1ea66d9fbc --- /dev/null +++ b/tests/perf/single_object_wireframe/A2 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Move V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set D_x 10000 +for {set i 1} {$i < 100} {incr i} { + vmoveview ${D_x} 0 0 1 +} diff --git a/tests/perf/single_object_wireframe/A3 b/tests/perf/single_object_wireframe/A3 new file mode 100644 index 0000000000..b8a4bb3afc --- /dev/null +++ b/tests/perf/single_object_wireframe/A3 @@ -0,0 +1,11 @@ +puts "3D visualization performance tests" +puts "Translate V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves 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 +} diff --git a/tests/perf/single_object_wireframe/A4 b/tests/perf/single_object_wireframe/A4 new file mode 100644 index 0000000000..8963fe7c45 --- /dev/null +++ b/tests/perf/single_object_wireframe/A4 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Turn V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set A_z 0.10 +for {set i 1} {$i < 100} {incr i} { + vturnview 0 0 ${A_z} 1 +} diff --git a/tests/perf/single_object_wireframe/A5 b/tests/perf/single_object_wireframe/A5 new file mode 100644 index 0000000000..57b9cea290 --- /dev/null +++ b/tests/perf/single_object_wireframe/A5 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Panning V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set D_y 10 +for {set i 1} {$i < 30} {incr i} { + vpan 0 ${D_y} +} diff --git a/tests/perf/single_object_wireframe/A6 b/tests/perf/single_object_wireframe/A6 new file mode 100644 index 0000000000..d2ecc390be --- /dev/null +++ b/tests/perf/single_object_wireframe/A6 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Zoom V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set Zoom 1.05 +for {set i 1} {$i < 20} {incr i} { + vzoom ${Zoom} +} diff --git a/tests/perf/single_object_wireframe/A7 b/tests/perf/single_object_wireframe/A7 new file mode 100644 index 0000000000..dc12d711cb --- /dev/null +++ b/tests/perf/single_object_wireframe/A7 @@ -0,0 +1,9 @@ +puts "3D visualization performance tests" +puts "Size V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +set Size 1000 +for {set i 1} {$i < 70} {incr i} { + vsetviewsize [expr ${Size} - 10 * $i] +} diff --git a/tests/perf/single_object_wireframe/A8 b/tests/perf/single_object_wireframe/A8 new file mode 100644 index 0000000000..93a9237b60 --- /dev/null +++ b/tests/perf/single_object_wireframe/A8 @@ -0,0 +1,8 @@ +puts "3D visualization performance tests" +puts "Redraw V3d View with 1 AIS-object (+ AIS trihedron)" +puts "Object haves wireframe mode" + + +for {set i 1} {$i < 100} {incr i} { + vrepaint +} diff --git a/tests/perf/single_object_wireframe/begin b/tests/perf/single_object_wireframe/begin new file mode 100644 index 0000000000..2a6758ffd3 --- /dev/null +++ b/tests/perf/single_object_wireframe/begin @@ -0,0 +1,6 @@ +box b 100 0 0 50 50 50 +vinit; vdisplay b +vtrihedron tri +vsetdispmode 0 + +dchrono tmr start