KuangshiAi
update with camera info
dc736c1
raw
history blame
1.88 kB
Load the Supernova velocity vector field from "supernova_streamline/data/supernova_streamline_100x100x100_float32_scalar3.raw", the information about this dataset:
Supernova Velocity (Vector)
Data Scalar Type: float
Data Byte Order: Little Endian
Data Extent: 100x100x100
Number of Scalar Components: 3
Data loading is very important, make sure you correctly load the dataset according to their features.
Create streamlines using a "Stream Tracer" filter with "Point Cloud" seed type. Set the seed center to [50, 50, 50], with 200 seed points and a radius of 45.0. Set maximum streamline length to 100.0.
Add a "Tube" filter on the stream tracer. Set tube radius to 0.3 with 12 sides.
Color the tubes by Vorticity magnitude using a diverging colormap with the following RGB control points:
- Value 0.0 -> RGB(0.231, 0.298, 0.753) (blue)
- Value 0.05 -> RGB(0.865, 0.865, 0.865) (white)
- Value 0.5 -> RGB(0.706, 0.016, 0.149) (red)
Show the dataset bounding box as an outline (black).
In the pipeline browser panel, hide the stream tracer and only show the tube filter and the outline.
Use a white background. Render at 1280x1280.
Set the viewpoint parameters as: [41.38, 73.91, -282.0] to position; [49.45, 49.50, 49.49] to focal point; [0.01, 1.0, 0.07] to camera up direction.
Save the visualization image as "supernova_streamline/results/{agent_mode}/supernova_streamline.png".
(Optional, but must save if use paraview) Save the paraview state as "supernova_streamline/results/{agent_mode}/supernova_streamline.pvsm".
(Optional, but must save if use pvpython script) Save the python script as "supernova_streamline/results/{agent_mode}/supernova_streamline.py".
(Optional, but must save if use VTK) Save the cxx code script as "supernova_streamline/results/{agent_mode}/supernova_streamline.cxx"
Do not save any other files, and always save the visualization image.