| Task: | |
| Load the Richtmyer dataset from "richtmyer/data/richtmyer_256x256x240_float32.vtk". | |
| Generate a visualization image of the Richtmyer dataset, Entropy field (timestep 160) of Richtmyer-Meshkov instability simulation, with the following visualization settings: | |
| 1) Create volume rendering | |
| 2) Set the opacity transfer function as a ramp function from value 0.05 to 1 of the volumetric data, assigning opacity 0 to value less than 0.05 and assigning opacity 1 to value 1. | |
| 3) Set the color transfer function following the 7 rainbow colors and assign a red color [1.0, 0.0, 0.0] to the highest value, a purple color [0.5, 0.0, 1.0] to the lowest value. | |
| 4) Visualization image resolution is 1024x1024 | |
| 5) Set the viewpoint parameters as: [420, 420, -550] to position; [128, 128, 150] to focal point; [-1, -1, 1] to camera up direction | |
| 6) Turn on the shade and set the ambient, diffuse and specular as 1.0 | |
| 7) White background. Volume rendering ray casting sample distance is 0.1 | |
| 8) Save the visualization image as a png file "richtmyer/results/{agent_mode}/richtmyer.png" | |
| 9) (Option 1) Save the paraview state as "richtmyer/results/{agent_mode}/richtmyer.pvsm" if you are using ParaView as the visualization tool | |
| 10) (Option 2) Save the cxx code script as "richtmyer/results/{agent_mode}/richtmyer.cxx" if you are using VTK as the visualization tool |