KuangshiAi commited on
Commit ·
80e203f
1
Parent(s): d16172e
update main cases Feb 24
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitignore +3 -1
- eval_cases/paraview/main_cases.yaml +0 -0
- main/ABC/GS/{abc_glyph.png → ABC_gs.png} +0 -0
- main/ABC/GS/{abc_glyph.pvsm → ABC_gs.pvsm} +0 -0
- main/ABC/GS/{abc_glyph.py → ABC_gs.py} +0 -0
- main/ABC/data/{abc.txt → ABC.txt} +0 -0
- main/ABC/data/{abc.raw → ABC_128x128x128_float32_scalar3.raw} +0 -0
- main/ABC/task_description.txt +5 -5
- main/Bernard/GS/{bernard_streamline.png → Bernard_gs.png} +0 -0
- main/Bernard/GS/{bernard_streamline.pvsm → Bernard_gs.pvsm} +0 -0
- main/Bernard/GS/{bernard_streamline.py → Bernard_gs.py} +0 -0
- main/Bernard/data/{bernard.txt → Bernard.txt} +0 -0
- main/Bernard/data/{bernard.raw → Bernard_128x32x64_float32_scalar3.raw} +0 -0
- main/Bernard/task_description.txt +3 -3
- main/argon-bubble/task_description.txt +6 -3
- main/{chameleon_volvis/GS/chameleon_gs.pvsm → bonsai/GS/bonsai_gs.png} +2 -2
- main/bonsai/GS/bonsai_gs.pvsm +2 -2
- main/bonsai/task_description.txt +6 -1
- main/{chameleon_volvis/GS/gs_diagonal_view.png → carp/GS/carp_gs.png} +2 -2
- main/carp/task_description.txt +9 -3
- main/chameleon_isosurface/task_description.txt +6 -3
- main/chameleon_volvis/data/chameleon.txt +0 -5
- main/chameleon_volvis/data/chameleon_volvis_256x256x270_float32.raw +0 -3
- main/chameleon_volvis/evaluation_results/mcp/test_result_1758566304.json +0 -20
- main/chameleon_volvis/task_description.txt +0 -19
- main/chameleon_volvis/test_results/pvpython/test_result_1759261119.json +0 -31
- main/chameleon_volvis/test_results/pvpython/test_result_1759261263.json +0 -31
- main/chameleon_volvis/visualization_goals.txt +0 -7
- main/{crayfish/GS/crayfish_streamline.png → crayfish_streamline/GS/crayfish_streamline_gs.png} +0 -0
- main/{crayfish/GS/crayfish_streamline.pvsm → crayfish_streamline/GS/crayfish_streamline_gs.pvsm} +0 -0
- main/{crayfish/GS/crayfish_streamline.py → crayfish_streamline/GS/crayfish_streamline_gs.py} +0 -0
- main/{crayfish/data/crayfish.txt → crayfish_streamline/data/crayfish_streamline.txt} +0 -0
- main/{crayfish/data/crayfish.raw → crayfish_streamline/data/crayfish_streamline_322x162x119_float32_scalar3.raw} +0 -0
- main/{crayfish → crayfish_streamline}/task_description.txt +5 -5
- main/{crayfish → crayfish_streamline}/visualization_goals.txt +0 -0
- main/engine/GS/engine.pvsm +0 -3
- main/{chameleon_volvis/GS/gs_front_view.png → engine/GS/engine_gs.png} +2 -2
- main/{chameleon_volvis/GS/gs_side_view.png → engine/GS/engine_gs.pvsm} +2 -2
- main/engine/task_description.txt +8 -2
- main/foot/GS/foot_gs.png +3 -0
- main/foot/task_description.txt +9 -3
- main/lobster/GS/lobster_gs.png +3 -0
- main/lobster/task_description.txt +9 -3
- main/mhd-magfield_streamribbon/task_description.txt +6 -5
- main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.png +3 -0
- main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.pvsm +3 -0
- main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.py +79 -0
- main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0000.vti} +0 -0
- main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0010.vti} +0 -0
- main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0020.vti} +0 -0
.gitignore
CHANGED
|
@@ -5,4 +5,6 @@ upload_huggingface.py
|
|
| 5 |
# sci_volume_data/**/*.raw
|
| 6 |
statistics/
|
| 7 |
.cache/
|
| 8 |
-
.claude/
|
|
|
|
|
|
|
|
|
| 5 |
# sci_volume_data/**/*.raw
|
| 6 |
statistics/
|
| 7 |
.cache/
|
| 8 |
+
.claude/
|
| 9 |
+
.vscode/
|
| 10 |
+
eval_cases/paraview/main_cases_old.yaml
|
eval_cases/paraview/main_cases.yaml
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
main/ABC/GS/{abc_glyph.png → ABC_gs.png}
RENAMED
|
File without changes
|
main/ABC/GS/{abc_glyph.pvsm → ABC_gs.pvsm}
RENAMED
|
File without changes
|
main/ABC/GS/{abc_glyph.py → ABC_gs.py}
RENAMED
|
File without changes
|
main/ABC/data/{abc.txt → ABC.txt}
RENAMED
|
File without changes
|
main/ABC/data/{abc.raw → ABC_128x128x128_float32_scalar3.raw}
RENAMED
|
File without changes
|
main/ABC/task_description.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Load the ABC (Arnold-Beltrami-Childress) flow vector field from "ABC/data/
|
| 2 |
ABC Flow (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
@@ -14,9 +14,9 @@ Color the tubes by Vorticity magnitude using the 'Cool to Warm (Diverging)' colo
|
|
| 14 |
|
| 15 |
Show the dataset bounding box as an outline.
|
| 16 |
|
| 17 |
-
Use a
|
| 18 |
|
| 19 |
-
Save the paraview state as "ABC/results/{agent_mode}/ABC.pvsm".
|
| 20 |
Save the visualization image as "ABC/results/{agent_mode}/ABC.png".
|
| 21 |
-
(Optional, if use
|
| 22 |
-
|
|
|
|
|
|
| 1 |
+
Load the ABC (Arnold-Beltrami-Childress) flow vector field from "ABC/data/ABC_128x128x128_float32_scalar3.raw", the information about this dataset:
|
| 2 |
ABC Flow (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
|
|
| 14 |
|
| 15 |
Show the dataset bounding box as an outline.
|
| 16 |
|
| 17 |
+
Use a white background. Render at 1024x1024.
|
| 18 |
|
|
|
|
| 19 |
Save the visualization image as "ABC/results/{agent_mode}/ABC.png".
|
| 20 |
+
(Optional, but must save if use paraview) Save the paraview state as "ABC/results/{agent_mode}/ABC.pvsm".
|
| 21 |
+
(Optional, but must save if use python script) Save the python script as "ABC/results/{agent_mode}/ABC.py".
|
| 22 |
+
Do not save any other files, and always save the visualization image.
|
main/Bernard/GS/{bernard_streamline.png → Bernard_gs.png}
RENAMED
|
File without changes
|
main/Bernard/GS/{bernard_streamline.pvsm → Bernard_gs.pvsm}
RENAMED
|
File without changes
|
main/Bernard/GS/{bernard_streamline.py → Bernard_gs.py}
RENAMED
|
File without changes
|
main/Bernard/data/{bernard.txt → Bernard.txt}
RENAMED
|
File without changes
|
main/Bernard/data/{bernard.raw → Bernard_128x32x64_float32_scalar3.raw}
RENAMED
|
File without changes
|
main/Bernard/task_description.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Load the Rayleigh-Benard convection vector field from "Bernard/data/
|
| 2 |
Rayleigh-Benard Convection (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
@@ -16,7 +16,7 @@ In the pipeline browser panel, hide all stream tracers and only show the tube fi
|
|
| 16 |
|
| 17 |
Use a gray-blue background (RGB: 0.329, 0.349, 0.427). Render at 1280x1280. Do not show a color bar.
|
| 18 |
|
| 19 |
-
Save the paraview state as "Bernard/results/{agent_mode}/Bernard.pvsm".
|
| 20 |
Save the visualization image as "Bernard/results/{agent_mode}/Bernard.png".
|
| 21 |
-
(Optional, if use
|
|
|
|
| 22 |
Do not save any other files, and always save the visualization image.
|
|
|
|
| 1 |
+
Load the Rayleigh-Benard convection vector field from "Bernard/data/Bernard_128x32x64_float32_scalar3.raw", the information about this dataset:
|
| 2 |
Rayleigh-Benard Convection (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
|
|
| 16 |
|
| 17 |
Use a gray-blue background (RGB: 0.329, 0.349, 0.427). Render at 1280x1280. Do not show a color bar.
|
| 18 |
|
|
|
|
| 19 |
Save the visualization image as "Bernard/results/{agent_mode}/Bernard.png".
|
| 20 |
+
(Optional, but must save if use paraview) Save the paraview state as "Bernard/results/{agent_mode}/Bernard.pvsm".
|
| 21 |
+
(Optional, but must save if use pvpython script) Save the python script as "Bernard/results/{agent_mode}/Bernard.py".
|
| 22 |
Do not save any other files, and always save the visualization image.
|
main/argon-bubble/task_description.txt
CHANGED
|
@@ -7,6 +7,9 @@ Generate a visualization image of the Argon Bubble scalar field dataset with the
|
|
| 7 |
4) Set the viewpoint parameters as: [0, 450, 0] to position; [0, 0, -15] to focal point; [0, 0, -1] to camera up direction
|
| 8 |
5) Visualization image resolution is 1024x1024. White background. Shade turned off. Volume rendering ray casting sample distance is 0.1
|
| 9 |
6) Don't show color/scalar bar or coordinate axes.
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
4) Set the viewpoint parameters as: [0, 450, 0] to position; [0, 0, -15] to focal point; [0, 0, -1] to camera up direction
|
| 8 |
5) Visualization image resolution is 1024x1024. White background. Shade turned off. Volume rendering ray casting sample distance is 0.1
|
| 9 |
6) Don't show color/scalar bar or coordinate axes.
|
| 10 |
+
|
| 11 |
+
Save the visualization image as "argon-bubble/results/{agent_mode}/argon-bubble.png".
|
| 12 |
+
(Optional, but must save if use paraview) Save the paraview state as "argon-bubble/results/{agent_mode}/argon-bubble.pvsm".
|
| 13 |
+
(Optional, but must save if use pvpython script) Save the python script as "argon-bubble/results/{agent_mode}/argon-bubble.py".
|
| 14 |
+
(Optional, but must save if use VTK) Save the cxx code script as "argon-bubble/results/{agent_mode}/argon-bubble.cxx"
|
| 15 |
+
Do not save any other files, and always save the visualization image.
|
main/{chameleon_volvis/GS/chameleon_gs.pvsm → bonsai/GS/bonsai_gs.png}
RENAMED
|
File without changes
|
main/bonsai/GS/bonsai_gs.pvsm
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f5d6f7b0d57498866973037a38f680ae791e0e90f82101d7deebfc2b15990e1
|
| 3 |
+
size 240130
|
main/bonsai/task_description.txt
CHANGED
|
@@ -11,4 +11,9 @@ Then visualize it with volume rendering, modify the transfer function and reach
|
|
| 11 |
|
| 12 |
Please think step by step and make sure to fulfill all the visualization goals mentioned above.
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Please think step by step and make sure to fulfill all the visualization goals mentioned above.
|
| 13 |
|
| 14 |
+
Use a white background. Render at 1280x1280. Do not show a color bar or coordinate axes.
|
| 15 |
+
|
| 16 |
+
Save the visualization image as "bonsai/results/{agent_mode}/bonsai.png".
|
| 17 |
+
(Optional, but must save if use paraview) Save the paraview state as "bonsai/results/{agent_mode}/bonsai.pvsm".
|
| 18 |
+
(Optional, but must save if use pvpython script) Save the python script as "bonsai/results/{agent_mode}/bonsai.py".
|
| 19 |
+
Do not save any other files, and always save the visualization image.
|
main/{chameleon_volvis/GS/gs_diagonal_view.png → carp/GS/carp_gs.png}
RENAMED
|
File without changes
|
main/carp/task_description.txt
CHANGED
|
@@ -31,6 +31,12 @@ B. ~22%
|
|
| 31 |
C. ~30%
|
| 32 |
D. ~40%
|
| 33 |
|
| 34 |
-
6.
|
| 35 |
-
|
| 36 |
-
Save
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
C. ~30%
|
| 32 |
D. ~40%
|
| 33 |
|
| 34 |
+
6. Use a white background. Find an optimal view. Render at 1280x1280. Do not show a color bar or coordinate axes.
|
| 35 |
+
|
| 36 |
+
7. Save your work:
|
| 37 |
+
Save the visualization image as "carp/results/{agent_mode}/carp.png".
|
| 38 |
+
Save the answers to the analysis questions in plain text as "carp/results/{agent_mode}/answers.txt".
|
| 39 |
+
(Optional, but must save if use paraview) Save the paraview state as "carp/results/{agent_mode}/carp.pvsm".
|
| 40 |
+
(Optional, but must save if use pvpython script) Save the python script as "carp/results/{agent_mode}/carp.py".
|
| 41 |
+
(Optional, but must save if use VTK) Save the cxx code script as "carp/results/{agent_mode}/carp.cxx"
|
| 42 |
+
Do not save any other files, and always save the visualization image and the text file.
|
main/chameleon_isosurface/task_description.txt
CHANGED
|
@@ -9,6 +9,9 @@ Generate a visualization image of 2 isosurfaces of the Chameleon scalar field da
|
|
| 9 |
6) White background
|
| 10 |
7) Visualization image resolution is 1024x1024
|
| 11 |
8) Don't show color/scalar bar or coordinate axes.
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
6) White background
|
| 10 |
7) Visualization image resolution is 1024x1024
|
| 11 |
8) Don't show color/scalar bar or coordinate axes.
|
| 12 |
+
|
| 13 |
+
Save the visualization image as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.png".
|
| 14 |
+
(Optional, but must save if use paraview) Save the paraview state as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.pvsm".
|
| 15 |
+
(Optional, but must save if use pvpython script) Save the python script as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.py".
|
| 16 |
+
(Optional, but must save if use VTK) Save the cxx code script as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.cxx"
|
| 17 |
+
Do not save any other files, and always save the visualization image.
|
main/chameleon_volvis/data/chameleon.txt
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
chameleon (Scalar)
|
| 2 |
-
Data Scalar Type: float
|
| 3 |
-
Data Byte Order: little Endian
|
| 4 |
-
Data Extent: 256x256x270
|
| 5 |
-
Number of Scalar Components: 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/data/chameleon_volvis_256x256x270_float32.raw
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bff2380bd60471fedc7e67d016387d08073dbe119733944b9cbb8c6196201cc4
|
| 3 |
-
size 70778880
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/evaluation_results/mcp/test_result_1758566304.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"timestamp": "2025-09-22T14:38:24.128177",
|
| 3 |
-
"case_name": "chameleon",
|
| 4 |
-
"result": {
|
| 5 |
-
"case_name": "chameleon",
|
| 6 |
-
"status": "failed",
|
| 7 |
-
"start_time": "2025-09-22T14:38:24.127714",
|
| 8 |
-
"task_description": "Your agent_mode is \"mcp\", use it when saving results. Your working directory is \"/Users/kuangshiai/Documents/ND-VIS/Code/SciVisAgentBench/benchmark/cases\", and you should have access to it. In the following prompts, we will use relative path with respect to your working path. But remember, when you load or save any file, always stick to absolute path.\n\nTask:\n\nLoad the chameleon dataset from \"chameleon/data/chameleon_256x256x270_float32.raw\", the information about this dataset:\nchameleon (Scalar)\nData Scalar Type: float\nData Byte Order: little Endian\nData Extent: 256x256x270\nNumber of Scalar Components: 1\nData loading is very important, make sure you correctly load the dataset according to their features.\n\nApply the volume rendering to visualize the chameleon dataset\n\nAdjust the transfer function to highlight the bony structures and skin in an X-ray style.\n\nAdjust the camera position and focus on the head part of the chameleon\n\nPlease think step by step and make sure to fulfill all the visualization goals mentioned above.\n\nFinally, save the paraview state as \"chameleon/results/{agent_mode}/chameleon.pvsm\"",
|
| 9 |
-
"llm_rubric": "1. Overall Visualization Goal: Does the result present a clean, X-ray–style volume rendering where the chameleon's bony structures are clearly emphasized and soft tissue is faint but discernible?\n\n2. Data Loading Correctness: Is the RAW volume loaded with the specified metadata (float32, little-endian, 256×256×270, 1 component) so that the histogram looks reasonable and the anatomy is not flipped or distorted?\n\n3. Transfer Function Quality: Does the grayscale transfer function make low-intensity tissue mostly transparent while assigning higher opacity to bones/skin ridges, yielding good depth cues without over-saturation or banding?\n\n4. Camera & Framing: Is the camera positioned and zoomed to focus on the chameleon's head, keeping it sharply framed (no clipping), with a stable viewpoint that highlights key anatomical details?",
|
| 10 |
-
"response": "",
|
| 11 |
-
"error": "'TinyAgent' object has no attribute 'submit'",
|
| 12 |
-
"token_usage": {
|
| 13 |
-
"input_tokens": 254,
|
| 14 |
-
"output_tokens": 0,
|
| 15 |
-
"total_tokens": 254
|
| 16 |
-
},
|
| 17 |
-
"end_time": "2025-09-22T14:38:24.128145",
|
| 18 |
-
"duration_seconds": 0.000431
|
| 19 |
-
}
|
| 20 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/task_description.txt
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
Task:
|
| 2 |
-
|
| 3 |
-
Load the chameleon dataset from "chameleon_volvis/data/chameleon_volvis_256x256x270_float32.raw", the information about this dataset:
|
| 4 |
-
chameleon (Scalar)
|
| 5 |
-
Data Scalar Type: float
|
| 6 |
-
Data Byte Order: little Endian
|
| 7 |
-
Data Extent: 256x256x270
|
| 8 |
-
Number of Scalar Components: 1
|
| 9 |
-
Data loading is very important, make sure you correctly load the dataset according to their features.
|
| 10 |
-
|
| 11 |
-
Apply the volume rendering to visualize the chameleon dataset
|
| 12 |
-
|
| 13 |
-
Adjust the transfer function to highlight the bony structures and skin in an X-ray style.
|
| 14 |
-
|
| 15 |
-
Adjust the camera position and focus on the head part of the chameleon
|
| 16 |
-
|
| 17 |
-
Please think step by step and make sure to fulfill all the visualization goals mentioned above.
|
| 18 |
-
|
| 19 |
-
Finally, save the paraview state as "chameleon/results/{agent_mode}/chameleon.pvsm"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/test_results/pvpython/test_result_1759261119.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"timestamp": "2025-09-30T15:38:39.248241",
|
| 3 |
-
"case_name": "chameleon",
|
| 4 |
-
"status": "failed",
|
| 5 |
-
"duration": 0.144628,
|
| 6 |
-
"token_usage": {
|
| 7 |
-
"input_tokens": 261,
|
| 8 |
-
"output_tokens": 0,
|
| 9 |
-
"total_tokens": 261
|
| 10 |
-
},
|
| 11 |
-
"response": "",
|
| 12 |
-
"task_description": "Your agent_mode is \"pvpython\", use it when saving results. Your working directory is \"/Users/kuangshiai/Documents/ND-VIS/Code/SciVisAgentBench/benchmark/../SciVisAgentBench-tasks/main\", and you should have access to it. In the following prompts, we will use relative path with respect to your working path. But remember, when you load or save any file, always stick to absolute path.\n\nTask:\n\nLoad the chameleon dataset from \"chameleon/data/chameleon_256x256x270_float32.raw\", the information about this dataset:\nchameleon (Scalar)\nData Scalar Type: float\nData Byte Order: little Endian\nData Extent: 256x256x270\nNumber of Scalar Components: 1\nData loading is very important, make sure you correctly load the dataset according to their features.\n\nApply the volume rendering to visualize the chameleon dataset\n\nAdjust the transfer function to highlight the bony structures and skin in an X-ray style.\n\nAdjust the camera position and focus on the head part of the chameleon\n\nPlease think step by step and make sure to fulfill all the visualization goals mentioned above.\n\nFinally, save the paraview state as \"chameleon/results/{agent_mode}/chameleon.pvsm\"",
|
| 13 |
-
"full_result": {
|
| 14 |
-
"case_name": "chameleon",
|
| 15 |
-
"status": "failed",
|
| 16 |
-
"start_time": "2025-09-30T15:38:39.101594",
|
| 17 |
-
"task_description": "Your agent_mode is \"pvpython\", use it when saving results. Your working directory is \"/Users/kuangshiai/Documents/ND-VIS/Code/SciVisAgentBench/benchmark/../SciVisAgentBench-tasks/main\", and you should have access to it. In the following prompts, we will use relative path with respect to your working path. But remember, when you load or save any file, always stick to absolute path.\n\nTask:\n\nLoad the chameleon dataset from \"chameleon/data/chameleon_256x256x270_float32.raw\", the information about this dataset:\nchameleon (Scalar)\nData Scalar Type: float\nData Byte Order: little Endian\nData Extent: 256x256x270\nNumber of Scalar Components: 1\nData loading is very important, make sure you correctly load the dataset according to their features.\n\nApply the volume rendering to visualize the chameleon dataset\n\nAdjust the transfer function to highlight the bony structures and skin in an X-ray style.\n\nAdjust the camera position and focus on the head part of the chameleon\n\nPlease think step by step and make sure to fulfill all the visualization goals mentioned above.\n\nFinally, save the paraview state as \"chameleon/results/{agent_mode}/chameleon.pvsm\"",
|
| 18 |
-
"llm_rubric": "1. Overall Visualization Goal: Does the result present a clean, X-ray–style volume rendering where the chameleon's bony structures are clearly emphasized and soft tissue is faint but discernible?\n\n2. Data Loading Correctness: Is the RAW volume loaded with the specified metadata (float32, little-endian, 256×256×270, 1 component) so that the histogram looks reasonable and the anatomy is not flipped or distorted?\n\n3. Transfer Function Quality: Does the grayscale transfer function make low-intensity tissue mostly transparent while assigning higher opacity to bones/skin ridges, yielding good depth cues without over-saturation or banding?\n\n4. Camera & Framing: Is the camera positioned and zoomed to focus on the chameleon's head, keeping it sharply framed (no clipping), with a stable viewpoint that highlights key anatomical details?",
|
| 19 |
-
"evaluation_subtype": "vision",
|
| 20 |
-
"is_vision_evaluation": true,
|
| 21 |
-
"response": "",
|
| 22 |
-
"error": "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>",
|
| 23 |
-
"token_usage": {
|
| 24 |
-
"input_tokens": 261,
|
| 25 |
-
"output_tokens": 0,
|
| 26 |
-
"total_tokens": 261
|
| 27 |
-
},
|
| 28 |
-
"end_time": "2025-09-30T15:38:39.246222",
|
| 29 |
-
"duration_seconds": 0.144628
|
| 30 |
-
}
|
| 31 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/test_results/pvpython/test_result_1759261263.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"timestamp": "2025-09-30T15:41:03.951159",
|
| 3 |
-
"case_name": "chameleon",
|
| 4 |
-
"status": "failed",
|
| 5 |
-
"duration": 0.144785,
|
| 6 |
-
"token_usage": {
|
| 7 |
-
"input_tokens": 261,
|
| 8 |
-
"output_tokens": 0,
|
| 9 |
-
"total_tokens": 261
|
| 10 |
-
},
|
| 11 |
-
"response": "",
|
| 12 |
-
"task_description": "Your agent_mode is \"pvpython\", use it when saving results. Your working directory is \"/Users/kuangshiai/Documents/ND-VIS/Code/SciVisAgentBench/benchmark/../SciVisAgentBench-tasks/main\", and you should have access to it. In the following prompts, we will use relative path with respect to your working path. But remember, when you load or save any file, always stick to absolute path.\n\nTask:\n\nLoad the chameleon dataset from \"chameleon/data/chameleon_256x256x270_float32.raw\", the information about this dataset:\nchameleon (Scalar)\nData Scalar Type: float\nData Byte Order: little Endian\nData Extent: 256x256x270\nNumber of Scalar Components: 1\nData loading is very important, make sure you correctly load the dataset according to their features.\n\nApply the volume rendering to visualize the chameleon dataset\n\nAdjust the transfer function to highlight the bony structures and skin in an X-ray style.\n\nAdjust the camera position and focus on the head part of the chameleon\n\nPlease think step by step and make sure to fulfill all the visualization goals mentioned above.\n\nFinally, save the paraview state as \"chameleon/results/{agent_mode}/chameleon.pvsm\"",
|
| 13 |
-
"full_result": {
|
| 14 |
-
"case_name": "chameleon",
|
| 15 |
-
"status": "failed",
|
| 16 |
-
"start_time": "2025-09-30T15:41:03.806251",
|
| 17 |
-
"task_description": "Your agent_mode is \"pvpython\", use it when saving results. Your working directory is \"/Users/kuangshiai/Documents/ND-VIS/Code/SciVisAgentBench/benchmark/../SciVisAgentBench-tasks/main\", and you should have access to it. In the following prompts, we will use relative path with respect to your working path. But remember, when you load or save any file, always stick to absolute path.\n\nTask:\n\nLoad the chameleon dataset from \"chameleon/data/chameleon_256x256x270_float32.raw\", the information about this dataset:\nchameleon (Scalar)\nData Scalar Type: float\nData Byte Order: little Endian\nData Extent: 256x256x270\nNumber of Scalar Components: 1\nData loading is very important, make sure you correctly load the dataset according to their features.\n\nApply the volume rendering to visualize the chameleon dataset\n\nAdjust the transfer function to highlight the bony structures and skin in an X-ray style.\n\nAdjust the camera position and focus on the head part of the chameleon\n\nPlease think step by step and make sure to fulfill all the visualization goals mentioned above.\n\nFinally, save the paraview state as \"chameleon/results/{agent_mode}/chameleon.pvsm\"",
|
| 18 |
-
"llm_rubric": "1. Overall Visualization Goal: Does the result present a clean, X-ray–style volume rendering where the chameleon's bony structures are clearly emphasized and soft tissue is faint but discernible?\n\n2. Data Loading Correctness: Is the RAW volume loaded with the specified metadata (float32, little-endian, 256×256×270, 1 component) so that the histogram looks reasonable and the anatomy is not flipped or distorted?\n\n3. Transfer Function Quality: Does the grayscale transfer function make low-intensity tissue mostly transparent while assigning higher opacity to bones/skin ridges, yielding good depth cues without over-saturation or banding?\n\n4. Camera & Framing: Is the camera positioned and zoomed to focus on the chameleon's head, keeping it sharply framed (no clipping), with a stable viewpoint that highlights key anatomical details?",
|
| 19 |
-
"evaluation_subtype": "vision",
|
| 20 |
-
"is_vision_evaluation": true,
|
| 21 |
-
"response": "",
|
| 22 |
-
"error": "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>",
|
| 23 |
-
"token_usage": {
|
| 24 |
-
"input_tokens": 261,
|
| 25 |
-
"output_tokens": 0,
|
| 26 |
-
"total_tokens": 261
|
| 27 |
-
},
|
| 28 |
-
"end_time": "2025-09-30T15:41:03.951036",
|
| 29 |
-
"duration_seconds": 0.144785
|
| 30 |
-
}
|
| 31 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/chameleon_volvis/visualization_goals.txt
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
1. Overall Visualization Goal: Does the result match the ground truth X-ray-style volume rendering of the chameleon?
|
| 2 |
-
|
| 3 |
-
2. Bone Structure Visibility: Are the chameleon's bony structures clearly visible and similar to the ground truth, with the skull, jaw, and spine clearly distinguishable?
|
| 4 |
-
|
| 5 |
-
3. Soft Tissue Rendering: Is the soft tissue faintly visible and transparent, similar to the ground truth appearance?
|
| 6 |
-
|
| 7 |
-
4. Depth and Contrast: Does the visualization show similar depth cues and contrast between bones and soft tissue as the ground truth?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main/{crayfish/GS/crayfish_streamline.png → crayfish_streamline/GS/crayfish_streamline_gs.png}
RENAMED
|
File without changes
|
main/{crayfish/GS/crayfish_streamline.pvsm → crayfish_streamline/GS/crayfish_streamline_gs.pvsm}
RENAMED
|
File without changes
|
main/{crayfish/GS/crayfish_streamline.py → crayfish_streamline/GS/crayfish_streamline_gs.py}
RENAMED
|
File without changes
|
main/{crayfish/data/crayfish.txt → crayfish_streamline/data/crayfish_streamline.txt}
RENAMED
|
File without changes
|
main/{crayfish/data/crayfish.raw → crayfish_streamline/data/crayfish_streamline_322x162x119_float32_scalar3.raw}
RENAMED
|
File without changes
|
main/{crayfish → crayfish_streamline}/task_description.txt
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Load the Crayfish flow vector field from "
|
| 2 |
Crayfish Flow (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
@@ -17,9 +17,9 @@ Show the dataset bounding box as an outline (black).
|
|
| 17 |
|
| 18 |
In the pipeline browser panel, hide all stream tracers and only show the tube filters and the outline.
|
| 19 |
|
| 20 |
-
Use a
|
| 21 |
|
| 22 |
-
Save the paraview state as "
|
| 23 |
-
Save the visualization image as "
|
| 24 |
-
(Optional, if use python script) Save the python script as "
|
| 25 |
Do not save any other files, and always save the visualization image.
|
|
|
|
| 1 |
+
Load the Crayfish flow vector field from "crayfish_streamline/data/crayfish_streamline_322x162x119_float32_scalar3.raw", the information about this dataset:
|
| 2 |
Crayfish Flow (Vector)
|
| 3 |
Data Scalar Type: float
|
| 4 |
Data Byte Order: Little Endian
|
|
|
|
| 17 |
|
| 18 |
In the pipeline browser panel, hide all stream tracers and only show the tube filters and the outline.
|
| 19 |
|
| 20 |
+
Use a white background. Render at 1280x1280.
|
| 21 |
|
| 22 |
+
Save the paraview state as "crayfish_streamline/results/{agent_mode}/crayfish_streamline.pvsm".
|
| 23 |
+
Save the visualization image as "crayfish_streamline/results/{agent_mode}/crayfish_streamline.png".
|
| 24 |
+
(Optional, if use python script) Save the python script as "crayfish_streamline/results/{agent_mode}/crayfish_streamline.py".
|
| 25 |
Do not save any other files, and always save the visualization image.
|
main/{crayfish → crayfish_streamline}/visualization_goals.txt
RENAMED
|
File without changes
|
main/engine/GS/engine.pvsm
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:57d77bac59a328eb14ed6e2eed84a20ad93582462278d4e30301b8a342dc7045
|
| 3 |
-
size 259002
|
|
|
|
|
|
|
|
|
|
|
|
main/{chameleon_volvis/GS/gs_front_view.png → engine/GS/engine_gs.png}
RENAMED
|
File without changes
|
main/{chameleon_volvis/GS/gs_side_view.png → engine/GS/engine_gs.pvsm}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:664b38f1f680e03c0e66dd2471ad42227bb7f704b274cce38d1236e7bdedf2c9
|
| 3 |
+
size 257739
|
main/engine/task_description.txt
CHANGED
|
@@ -15,5 +15,11 @@ Instructions:
|
|
| 15 |
|
| 16 |
3. Adjust the transfer function, let the outer part more transparent and the inner part more solid. Use light blue for the outer part and orange for the inner part.
|
| 17 |
|
| 18 |
-
4.
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
3. Adjust the transfer function, let the outer part more transparent and the inner part more solid. Use light blue for the outer part and orange for the inner part.
|
| 17 |
|
| 18 |
+
4. Use a white background. Find an optimal view. Render at 1280x1280. Do not show a color bar or coordinate axes.
|
| 19 |
+
|
| 20 |
+
5. Save your work:
|
| 21 |
+
Save the visualization image as "engine/results/{agent_mode}/engine.png".
|
| 22 |
+
(Optional, but must save if use paraview) Save the paraview state as "engine/results/{agent_mode}/engine.pvsm".
|
| 23 |
+
(Optional, but must save if use pvpython script) Save the python script as "engine/results/{agent_mode}/engine.py".
|
| 24 |
+
(Optional, but must save if use VTK) Save the cxx code script as "engine/results/{agent_mode}/engine.cxx"
|
| 25 |
+
Do not save any other files, and always save the visualization image.
|
main/foot/GS/foot_gs.png
ADDED
|
Git LFS Details
|
main/foot/task_description.txt
CHANGED
|
@@ -20,6 +20,12 @@ B. The phalanges are fully visible, but the metatarsals are only partially visib
|
|
| 20 |
C. The metatarsals are fully visible, but the phalanges are only partially visible
|
| 21 |
D. Neither the phalanges nor the metatarsals are clearly visible
|
| 22 |
|
| 23 |
-
3.
|
| 24 |
-
|
| 25 |
-
Save
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
C. The metatarsals are fully visible, but the phalanges are only partially visible
|
| 21 |
D. Neither the phalanges nor the metatarsals are clearly visible
|
| 22 |
|
| 23 |
+
3. Use a white background. Find an optimal view. Render at 1280x1280. Do not show a color bar or coordinate axes.
|
| 24 |
+
|
| 25 |
+
4. Save your work:
|
| 26 |
+
Save the visualization image as "foot/results/{agent_mode}/foot.png".
|
| 27 |
+
Save the answers to the analysis questions in plain text as "foot/results/{agent_mode}/answers.txt".
|
| 28 |
+
(Optional, but must save if use paraview) Save the paraview state as "foot/results/{agent_mode}/foot.pvsm".
|
| 29 |
+
(Optional, but must save if use pvpython script) Save the python script as "foot/results/{agent_mode}/foot.py".
|
| 30 |
+
(Optional, but must save if use VTK) Save the cxx code script as "foot/results/{agent_mode}/foot.cxx"
|
| 31 |
+
Do not save any other files, and always save the visualization image and the text file.
|
main/lobster/GS/lobster_gs.png
ADDED
|
Git LFS Details
|
main/lobster/task_description.txt
CHANGED
|
@@ -22,6 +22,12 @@ B. 7 walking legs
|
|
| 22 |
C. 8 walking legs
|
| 23 |
D. 10 walking legs
|
| 24 |
|
| 25 |
-
4.
|
| 26 |
-
|
| 27 |
-
Save
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
C. 8 walking legs
|
| 23 |
D. 10 walking legs
|
| 24 |
|
| 25 |
+
4. Use a white background. Find an optimal view. Render at 1280x1280. Do not show a color bar or coordinate axes.
|
| 26 |
+
|
| 27 |
+
5. Save your work:
|
| 28 |
+
Save the visualization image as "lobster/results/{agent_mode}/lobster.png".
|
| 29 |
+
Save the answers to the analysis questions in plain text as "lobster/results/{agent_mode}/answers.txt".
|
| 30 |
+
(Optional, but must save if use paraview) Save the paraview state as "lobster/results/{agent_mode}/lobster.pvsm".
|
| 31 |
+
(Optional, but must save if use pvpython script) Save the python script as "lobster/results/{agent_mode}/lobster.py".
|
| 32 |
+
(Optional, but must save if use VTK) Save the cxx code script as "lobster/results/{agent_mode}/lobster.cxx"
|
| 33 |
+
Do not save any other files, and always save the visualization image and the text file.
|
main/mhd-magfield_streamribbon/task_description.txt
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
Load the MHD magnetic field dataset from "mhd-magfield_streamribbon/data/mhd-magfield_streamribbon.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
|
| 2 |
Generate a stream ribbon seeded from a line source along the y-axis at x=64, z=64 (from y=20 to y=108), with 30 seed points.
|
| 3 |
-
The stream ribbon should be traced
|
| 4 |
Color the stream ribbon by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception.
|
| 5 |
Add a color bar labeled 'Magnetic Field Magnitude'.
|
| 6 |
-
Use a
|
| 7 |
-
Save the paraview state as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.pvsm".
|
| 8 |
Save the visualization image as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.png".
|
| 9 |
-
(Optional, if use
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
Load the MHD magnetic field dataset from "mhd-magfield_streamribbon/data/mhd-magfield_streamribbon.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
|
| 2 |
Generate a stream ribbon seeded from a line source along the y-axis at x=64, z=64 (from y=20 to y=108), with 30 seed points.
|
| 3 |
+
The stream ribbon should be traced along the magnetic field lines.
|
| 4 |
Color the stream ribbon by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception.
|
| 5 |
Add a color bar labeled 'Magnetic Field Magnitude'.
|
| 6 |
+
Use a white background. Set an isometric camera view. Render at 1024x1024 resolution.
|
|
|
|
| 7 |
Save the visualization image as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.png".
|
| 8 |
+
(Optional, but must save if use paraview) Save the paraview state as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.pvsm".
|
| 9 |
+
(Optional, but must save if use pvpython script) Save the python script as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.py".
|
| 10 |
+
(Optional, but must save if use VTK) Save the cxx code script as "mhd-magfield_streamribbon/results/{agent_mode}/mhd-magfield_streamribbon.cxx"
|
| 11 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.png
ADDED
|
Git LFS Details
|
main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e3498a503dc92f814697be8899a30f5b533b7ddf588b704f3541395c8f3900b
|
| 3 |
+
size 285084
|
main/mhd-turbulence_pathline/GS/mhd-turbulence_pathline_gs.py
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import glob
|
| 3 |
+
from paraview.simple import *
|
| 4 |
+
|
| 5 |
+
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 6 |
+
VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, '..', 'data', 'mhd-turbulence_pathline_*.vti')))
|
| 7 |
+
OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'mhd-turbulence_pathline_gs.png')
|
| 8 |
+
OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'mhd-turbulence_pathline_gs.pvsm')
|
| 9 |
+
|
| 10 |
+
# Load all timesteps as temporal data
|
| 11 |
+
reader = XMLImageDataReader(FileName=VTI_FILES)
|
| 12 |
+
reader.UpdatePipeline()
|
| 13 |
+
|
| 14 |
+
# Scale time for longer particle travel
|
| 15 |
+
temporalScale = TemporalShiftScale(Input=reader)
|
| 16 |
+
temporalScale.Scale = 20.0
|
| 17 |
+
temporalScale.UpdatePipeline()
|
| 18 |
+
|
| 19 |
+
# Interpolate for smoother pathlines
|
| 20 |
+
temporalInterp = TemporalInterpolator(Input=temporalScale)
|
| 21 |
+
temporalInterp.DiscreteTimeStepInterval = 0.5
|
| 22 |
+
temporalInterp.UpdatePipeline()
|
| 23 |
+
|
| 24 |
+
# Seed line along z-axis
|
| 25 |
+
seedLine = Line()
|
| 26 |
+
seedLine.Point1 = [64.0, 64.0, 20.0]
|
| 27 |
+
seedLine.Point2 = [64.0, 64.0, 108.0]
|
| 28 |
+
seedLine.Resolution = 25
|
| 29 |
+
seedLine.UpdatePipeline()
|
| 30 |
+
|
| 31 |
+
# ParticlePath filter - true pathlines
|
| 32 |
+
particlePath = ParticlePath(Input=temporalInterp, SeedSource=seedLine)
|
| 33 |
+
particlePath.SelectInputVectors = ['POINTS', 'vector']
|
| 34 |
+
particlePath.StaticSeeds = True
|
| 35 |
+
particlePath.TerminationTime = 80.0
|
| 36 |
+
particlePath.ForceReinjectionEveryNSteps = 0
|
| 37 |
+
particlePath.ComputeVorticity = False
|
| 38 |
+
|
| 39 |
+
# Advance animation through all timesteps
|
| 40 |
+
animationScene = GetAnimationScene()
|
| 41 |
+
animationScene.UpdateAnimationUsingDataTimeSteps()
|
| 42 |
+
animationScene.PlayMode = 'Snap To TimeSteps'
|
| 43 |
+
for t in list(temporalInterp.TimestepValues):
|
| 44 |
+
animationScene.AnimationTime = t
|
| 45 |
+
particlePath.UpdatePipeline(t)
|
| 46 |
+
|
| 47 |
+
# Add tubes for visibility
|
| 48 |
+
tube = Tube(Input=particlePath)
|
| 49 |
+
tube.Radius = 0.3
|
| 50 |
+
tube.UpdatePipeline()
|
| 51 |
+
|
| 52 |
+
# Render setup
|
| 53 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 54 |
+
renderView.ViewSize = [1024, 1024]
|
| 55 |
+
renderView.Background = [0.05, 0.05, 0.1]
|
| 56 |
+
|
| 57 |
+
tubeDisplay = Show(tube, renderView)
|
| 58 |
+
tubeDisplay.Representation = 'Surface'
|
| 59 |
+
ColorBy(tubeDisplay, ('POINTS', 'magnitude'))
|
| 60 |
+
|
| 61 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 62 |
+
magLUT.ApplyPreset('Viridis (matplotlib)', True)
|
| 63 |
+
|
| 64 |
+
tubeDisplay.SetScalarBarVisibility(renderView, True)
|
| 65 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 66 |
+
colorBar.Title = ''
|
| 67 |
+
colorBar.ComponentTitle = ''
|
| 68 |
+
colorBar.TitleColor = [0.0, 0.0, 0.0]
|
| 69 |
+
colorBar.LabelColor = [0.0, 0.0, 0.0]
|
| 70 |
+
|
| 71 |
+
renderView.CameraPosition = [200.0, 200.0, 200.0]
|
| 72 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
|
| 73 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 74 |
+
renderView.ResetCamera()
|
| 75 |
+
Render()
|
| 76 |
+
|
| 77 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 78 |
+
SaveState(OUTPUT_STATE)
|
| 79 |
+
print(f"Done: {OUTPUT_IMG}")
|
main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0000.vti}
RENAMED
|
File without changes
|
main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0010.vti}
RENAMED
|
File without changes
|
main/{mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vti → mhd-turbulence_pathline/data/mhd-turbulence_pathline_0020.vti}
RENAMED
|
File without changes
|