File size: 1,604 Bytes
80e203f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dc736c1
 
80e203f
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Task:

Load the supernova dataset from "supernova_isosurface/data/supernova_isosurface_256x256x256_float32.raw", the information about this dataset:
supernova (Scalar)
Data Scalar Type: float
Data Byte Order: little Endian
Data Spacing: 1x1x1
Data Extent: 256x256x256
Data loading is very important, make sure you correctly load the dataset according to their features.

Then visualize it and extract two isosurfaces. One of them use color red, showing areas with low density (isovalue 40 and opacity 0.2), while the other use color light blue, showing areas with high density (isovalue 150 and opacity 0.4).

Please think step by step and make sure to fulfill all the visualization goals mentioned above. Only make the two isosurfaces visible.

Use a white background. Find an optimal view. Render at 1280x1280. Do not show a color bar or coordinate axes.

Set the viewpoint parameters as: [567.97, 80.17, 167.28] to position; [125.09, 108.83, 121.01] to focal point; [-0.11, -0.86, 0.50] to camera up direction.

Save the visualization image as "supernova_isosurface/results/{agent_mode}/supernova_isosurface.png".
(Optional, but must save if use paraview) Save the paraview state as "supernova_isosurface/results/{agent_mode}/supernova_isosurface.pvsm".
(Optional, but must save if use pvpython script) Save the python script as "supernova_isosurface/results/{agent_mode}/supernova_isosurface.py".
(Optional, but must save if use VTK) Save the cxx code script as "supernova_isosurface/results/{agent_mode}/supernova_isosurface.cxx"
Do not save any other files, and always save the visualization image.