diff --git a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.png b/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.png deleted file mode 100644 index d641c3a7bd8808704cb60d72a383d7708db986ef..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:154a5f801d0ab8446072f0a73ee6ff425d30f684c504159fc9581ae12b7fcd0d -size 298935 diff --git a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.pvsm b/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.pvsm deleted file mode 100644 index f1e6b9040889c36835791f1ca88c4735b564a362..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4b40024a75558c00b6613fd74d9ef154246381d65c943230499de5adf15f970 -size 288472 diff --git a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.py b/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.py deleted file mode 100644 index 0304bd8a78a467761fbf63dae67aff3a904cf348..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.py +++ /dev/null @@ -1,51 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'MHD_magfield_0010.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -sliceFilter = Slice(Input=reader) -sliceFilter.SliceType = 'Plane' -sliceFilter.SliceType.Origin = [64.0, 63.5, 63.5] -sliceFilter.SliceType.Normal = [1.0, 0.0, 0.0] -sliceFilter.UpdatePipeline() - -glyph = Glyph(Input=sliceFilter, GlyphType='Arrow') -glyph.OrientationArray = ['POINTS', 'vector'] -glyph.ScaleArray = ['POINTS', 'magnitude'] -glyph.ScaleFactor = 5.0 -glyph.MaximumNumberOfSamplePoints = 5000 -glyph.GlyphMode = 'Every Nth Point' -glyph.Stride = 4 -glyph.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.15] - -glyphDisplay = Show(glyph, renderView) -glyphDisplay.Representation = 'Surface' -ColorBy(glyphDisplay, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Plasma (matplotlib)', True) - -glyphDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Magnetic Field Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [250.0, 63.5, 63.5] -renderView.CameraFocalPoint = [64.0, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 04 done: {OUTPUT_IMG}") diff --git a/main/mhd-magfield_glyph/data/mhd-magfield_glyph.vti b/main/mhd-magfield_glyph/data/mhd-magfield_glyph.vti deleted file mode 100644 index ef5585ddb3dce6118edec51b09da11995f966965..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/data/mhd-magfield_glyph.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b891955b70e72bcc6e0e8976a7f587ff08206a1b153e613617251170886d581 -size 78294594 diff --git a/main/mhd-magfield_glyph/task_description.txt b/main/mhd-magfield_glyph/task_description.txt deleted file mode 100644 index de9b72294d3b050fbdbc7d0586bec3e177b40d7e..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/task_description.txt +++ /dev/null @@ -1,10 +0,0 @@ -Load the MHD magnetic field dataset from "mhd-magfield_glyph/data/mhd-magfield_glyph.vti" (VTI format, 128x128x128 grid with components bx, by, bz). -Create a slice at x=64 through the volume. -Place arrow glyphs oriented by the magnetic field vector and scaled by field magnitude (scale factor 5.0). -Color the arrows using the 'Plasma (matplotlib)' colormap mapped to magnitude. Use stride of 4. -Add a color bar labeled 'Magnetic Field Magnitude'. -Use a dark navy background (RGB: 0.0, 0.0, 0.15). Set camera to view along the negative x-axis. Render at 1024x1024. -Save the paraview state as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.pvsm". -Save the visualization image as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.png". -(Optional, if use python script) Save the python script as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/mhd-magfield_glyph/visualization_goals.txt b/main/mhd-magfield_glyph/visualization_goals.txt deleted file mode 100644 index adb7259feca8c2d5f281d995f507a21bce405a23..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_glyph/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth glyph visualization of the MHD magnetic field? - -2. Glyph Patterns: Do the arrow glyphs show similar orientation and spatial patterns as the ground truth? - -3. Glyph Scaling: Do the glyphs show similar size variations as the ground truth, reflecting the field magnitude patterns? - -4. Color Mapping: Is the color distribution across glyphs visually similar to the ground truth? \ No newline at end of file diff --git a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.png b/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.png deleted file mode 100644 index c1bb3512ce32c23bdd0b97cd0cb13615b58f4b78..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:206c8c7fcad3d73b6950e2603539d94f85687f093e50b2acd28e33cef969edd9 -size 405417 diff --git a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.pvsm b/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.pvsm deleted file mode 100644 index 972f169105c9369b338c1f065512cb87f0eddeb1..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3cd46ff898531f2bb3b703a9b81b10b056852632d05531efc5934e907f71c1bf -size 277547 diff --git a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.py b/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.py deleted file mode 100644 index d5f5a0d0813f2078f0a191ef976bc9ef5b0866a0..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.py +++ /dev/null @@ -1,41 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'MHD_magfield_0060.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -contour = Contour(Input=reader) -contour.ContourBy = ['POINTS', 'magnitude'] -contour.Isosurfaces = [0.8] -contour.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.1] - -contourDisplay = Show(contour, renderView) -contourDisplay.Representation = 'Surface' -ColorBy(contourDisplay, ('POINTS', 'bx')) - -bxLUT = GetColorTransferFunction('bx') -bxLUT.ApplyPreset('Turbo', True) - -contourDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(bxLUT, renderView) -colorBar.Title = 'Bx Component' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 16 done: {OUTPUT_IMG}") diff --git a/main/mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti b/main/mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti deleted file mode 100644 index cc228096604193cfcc96e6992dbf1131ec32ecf5..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d155a87cde138ba20a80ac91673e11e90f874504665085b9d34e9ea66c4c489 -size 78294594 diff --git a/main/mhd-magfield_isosurface/task_description.txt b/main/mhd-magfield_isosurface/task_description.txt deleted file mode 100644 index be6b9bbabbacabdd6c8cf48b148aa33914d3ab16..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/task_description.txt +++ /dev/null @@ -1,8 +0,0 @@ -Load the MHD magnetic field dataset from "mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti" (VTI format, 128x128x128). -Extract an isosurface of magnetic field magnitude at threshold 0.8. Color the isosurface by the bx component using 'Turbo' colormap. -Add a color bar labeled 'Bx Component'. -Dark navy background (RGB: 0.0, 0.0, 0.1). Isometric camera view. Render at 1024x1024. -Save the paraview state as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.pvsm". -Save the visualization image as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.png". -(Optional, if use python script) Save the python script as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/mhd-magfield_isosurface/visualization_goals.txt b/main/mhd-magfield_isosurface/visualization_goals.txt deleted file mode 100644 index a0a0825c6b6c3a0f5a1486f0c422384fc3291386..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_isosurface/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth isosurface visualization of the MHD magnetic field? - -2. Isosurface Structure: Does the isosurface show similar topology and shape as the ground truth? - -3. Surface Features: Are key features and structures on the isosurface similar to the ground truth? - -4. Color Mapping: Is the color distribution across the isosurface visually similar to the ground truth? \ No newline at end of file diff --git a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.png b/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.png deleted file mode 100644 index 11fd3d020b89a807888777e2e76ef2e334446b9d..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c06688eb79b888cf24ab17c4587ea76951190a853c33bc1fa1152e487ec23f0c -size 491414 diff --git a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.pvsm b/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.pvsm deleted file mode 100644 index 201cd288aea3dfeeaf2d52fb47fdfcf24b432283..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fa7365acd796e0c92735e2fd76092b6d798342ed140f59c926285e22072c114 -size 218985 diff --git a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.py b/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.py deleted file mode 100644 index f061271f97479be760b3bf59e23e25a9301931dd..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.py +++ /dev/null @@ -1,42 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'MHD_magfield_0040.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.05] - -display = Show(reader, renderView) -display.Representation = 'Volume' -ColorBy(display, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Cool to Warm', True) - -magPWF = GetOpacityTransferFunction('magnitude') -magPWF.Points = [0.0, 0.0, 0.5, 0.0, - 0.5, 0.05, 0.5, 0.0, - 1.0, 0.4, 0.5, 0.0, - 1.5, 1.0, 0.5, 0.0] - -display.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'B Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 09 done: {OUTPUT_IMG}") diff --git a/main/mhd-magfield_volvis/data/mhd-magfield_volvis.vti b/main/mhd-magfield_volvis/data/mhd-magfield_volvis.vti deleted file mode 100644 index 804b9c96aa1fbbb3ca779c37cb3c367309fdaf18..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/data/mhd-magfield_volvis.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5784edd7ad06e6defa543330de8fcc36fa1ac1d2258085322a024f79c9409bb -size 78294594 diff --git a/main/mhd-magfield_volvis/task_description.txt b/main/mhd-magfield_volvis/task_description.txt deleted file mode 100644 index 98d8059b24c4be3c4e67e74018b3c436f3bca50a..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/task_description.txt +++ /dev/null @@ -1,9 +0,0 @@ -Load the MHD magnetic field dataset from "mhd-magfield_volvis/data/mhd-magfield_volvis.vti" (VTI format, 128x128x128 grid). -Compute the magnetic field magnitude from components (bx, by, bz). Perform volume rendering of the magnitude field. -Use the 'Cool to Warm' colormap with an opacity transfer function that makes low-magnitude regions transparent and high-magnitude regions opaque. -Add a color bar labeled 'B Magnitude'. -Use a dark background (RGB: 0.0, 0.0, 0.05). Set an isometric camera view. Render at 1024x1024. -Save the paraview state as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.pvsm". -Save the visualization image as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.png". -(Optional, if use python script) Save the python script as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/mhd-magfield_volvis/visualization_goals.txt b/main/mhd-magfield_volvis/visualization_goals.txt deleted file mode 100644 index 79bcebcb5ef480c87e6a6361b5160c86b72f4f79..0000000000000000000000000000000000000000 --- a/main/mhd-magfield_volvis/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth volume rendering of the MHD magnetic field magnitude? - -2. Volume Structure: Are the internal structures and features visible in the volume rendering similar to the ground truth? - -3. Opacity Distribution: Does the transparency/opacity distribution appear similar to the ground truth, showing the same depth and internal features? - -4. Color Mapping: Is the color distribution throughout the volume visually similar to the ground truth? \ No newline at end of file diff --git a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.png b/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.png deleted file mode 100644 index 0cc78e54503951c406e2ed522d17c6bdec646e42..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f1572af40f34c36196c5cb55ed6b9a919d920112f7e879acd0100fe16846953 -size 229090 diff --git a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.pvsm b/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.pvsm deleted file mode 100644 index dc48601b4b14eff8fd7821a38af2bf68ca1c70fa..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98d7b71a0df23246ea06c9bfec9a520c4838404726b7ac71acc50a84cba88947 -size 237519 diff --git a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.py b/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.py deleted file mode 100644 index c59374a2c0133b8cb845d9a47c42fe371483cab3..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.py +++ /dev/null @@ -1,51 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'MHD_velocity_0010.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -sliceFilter = Slice(Input=reader) -sliceFilter.SliceType = 'Plane' -sliceFilter.SliceType.Origin = [63.5, 63.5, 64.0] -sliceFilter.SliceType.Normal = [0.0, 0.0, 1.0] -sliceFilter.UpdatePipeline() - -glyph = Glyph(Input=sliceFilter, GlyphType='Arrow') -glyph.OrientationArray = ['POINTS', 'vector'] -glyph.ScaleArray = ['POINTS', 'magnitude'] -glyph.ScaleFactor = 5.0 -glyph.MaximumNumberOfSamplePoints = 5000 -glyph.GlyphMode = 'Every Nth Point' -glyph.Stride = 4 -glyph.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.1, 0.1, 0.15] - -glyphDisplay = Show(glyph, renderView) -glyphDisplay.Representation = 'Surface' -ColorBy(glyphDisplay, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Cool to Warm', True) - -glyphDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [63.5, 63.5, 250.0] -renderView.CameraFocalPoint = [63.5, 63.5, 64.0] -renderView.CameraViewUp = [0.0, 1.0, 0.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 01 done: {OUTPUT_IMG}") diff --git a/main/mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti b/main/mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti deleted file mode 100644 index b6c44642c2bfaff7f62045f25c9d6d916b44818a..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:823282fcbb627582c8d6bac7edc7cb8f87801ba65ff92d65a1d06df7444fd54e -size 78294594 diff --git a/main/mhd-turbulence_glyph/task_description.txt b/main/mhd-turbulence_glyph/task_description.txt deleted file mode 100644 index ced7e02e9655b995a4ffaf9b9e00539c9d838462..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/task_description.txt +++ /dev/null @@ -1,11 +0,0 @@ -Load the MHD turbulence velocity field dataset from "mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti" (VTI format, 128x128x128 grid). -Create a slice at z=64 through the volume. On this slice, place arrow glyphs oriented by the velocity vector field and scaled by velocity magnitude. -Color the arrows using the 'Cool to Warm' colormap mapped to velocity magnitude. -Use a sampling stride of 4 to avoid overcrowding. Set the glyph scale factor to 5.0. -Add a color bar labeled 'Velocity Magnitude'. -Use a dark background (RGB: 0.1, 0.1, 0.15). -Set the camera to a top-down view looking along the negative z-axis. Render at 1024x1024 resolution. -Save the paraview state as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.pvsm". -Save the visualization image as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.png". -(Optional, if use python script) Save the python script as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/mhd-turbulence_glyph/visualization_goals.txt b/main/mhd-turbulence_glyph/visualization_goals.txt deleted file mode 100644 index e5f2fb65ec38f9bdf1a9be92c206a0074ca96703..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_glyph/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth glyph visualization of the MHD turbulence velocity field? - -2. Glyph Patterns: Do the arrow glyphs show similar orientation and spatial patterns as the ground truth? - -3. Glyph Scaling: Do the glyphs show similar size variations as the ground truth, reflecting the velocity magnitude patterns? - -4. Color Mapping: Is the color distribution across glyphs visually similar to the ground truth? \ No newline at end of file diff --git a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.png b/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.png deleted file mode 100644 index a38893a4d445a15ff0dad9c2ec2bc60a83d1fc52..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dbb532d506a31fe634eb88c8c252b585ed479e94de0fe17baa6cb7a05a986c06 -size 498325 diff --git a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.pvsm b/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.pvsm deleted file mode 100644 index 159f1a27a0facf4780bd31e0d2474ab4c7d9850b..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cccdf68dc512311a488ad73f41c63b2ce921728d0de8e54b357da33a739d5c82 -size 278782 diff --git a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.py b/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.py deleted file mode 100644 index 6e5fb81a4180c4cf6baeb9e014aebbdb01f56660..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.py +++ /dev/null @@ -1,55 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'MHD_velocity_0050.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -gradient = GradientOfUnstructuredDataSet(Input=reader) -gradient.ScalarArray = ['POINTS', 'vector'] -gradient.ComputeVorticity = 1 -gradient.ComputeGradient = 0 -gradient.VorticityArrayName = 'Vorticity' -gradient.UpdatePipeline() - -calc = Calculator(Input=gradient) -calc.Function = 'mag(Vorticity)' -calc.ResultArrayName = 'VorticityMagnitude' -calc.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.0] - -display = Show(calc, renderView) -display.Representation = 'Volume' -ColorBy(display, ('POINTS', 'VorticityMagnitude')) - -vorLUT = GetColorTransferFunction('VorticityMagnitude') -vorLUT.ApplyPreset('Plasma (matplotlib)', True) - -vorPWF = GetOpacityTransferFunction('VorticityMagnitude') -vorPWF.Points = [0.0, 0.0, 0.5, 0.0, - 0.1, 0.0, 0.5, 0.0, - 0.3, 0.1, 0.5, 0.0, - 0.6, 0.5, 0.5, 0.0, - 1.0, 1.0, 0.5, 0.0] - -display.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(vorLUT, renderView) -colorBar.Title = 'Vorticity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 12 done: {OUTPUT_IMG}") diff --git a/main/mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti b/main/mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti deleted file mode 100644 index cb09aa27a784101edb4bc60e6812c13c04dae893..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4052ecaeecb8d89bfd3559d89873b93847f899018e754083871bbb7d4f82d56 -size 78294594 diff --git a/main/mhd-turbulence_vorticity/task_description.txt b/main/mhd-turbulence_vorticity/task_description.txt deleted file mode 100644 index 25d114dc1d97a2939d4ff330c18e1630f72d2e67..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/task_description.txt +++ /dev/null @@ -1,10 +0,0 @@ -Load the MHD turbulence velocity field dataset "mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti" (VTI format, 128x128x128 grid). -Compute the vorticity field (curl of velocity) using the Gradient filter with 'Compute Vorticity' enabled. -Then compute vorticity magnitude. Perform volume rendering of vorticity magnitude using the 'Plasma (matplotlib)' colormap. -Set opacity to highlight high-vorticity regions. -Add a color bar labeled 'Vorticity Magnitude'. -Black background. Isometric camera. Render at 1024x1024. -Save the paraview state as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.pvsm". -Save the visualization image as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.png". -(Optional, if use python script) Save the python script as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/mhd-turbulence_vorticity/visualization_goals.txt b/main/mhd-turbulence_vorticity/visualization_goals.txt deleted file mode 100644 index fb8220a1f70f0d405cbc077c550f3ddcf51cd1c8..0000000000000000000000000000000000000000 --- a/main/mhd-turbulence_vorticity/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth volume rendering of the MHD turbulence vorticity field? - -2. Vorticity Patterns: Are the vorticity structures and patterns visible in the result similar to the ground truth? - -3. Volume Features: Are high-vorticity regions highlighted with similar opacity and visibility as the ground truth? - -4. Color Mapping: Is the color distribution throughout the volume visually similar to the ground truth? \ No newline at end of file diff --git a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.png b/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.png deleted file mode 100644 index ffe41929a6681ec63f788f0104c6445b6dc43752..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1063aacee544e885d31b7acb383aaca85ee5f39deeb442dbc67ef901494460d9 -size 541926 diff --git a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.pvsm b/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.pvsm deleted file mode 100644 index 882d876ceff08741318c4919a311108d73d15530..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c44c7ae1f4c43061ef3f1a96da69d20d30f22eaa8d36e438297f323c1fb6175 -size 225407 diff --git a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.py b/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.py deleted file mode 100644 index 0c2dea5bf50e88b5309f202ee21658c3167461d3..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.py +++ /dev/null @@ -1,49 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'RTI_velocity_0040.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -gradient = GradientOfUnstructuredDataSet(Input=reader) -gradient.ScalarArray = ['POINTS', 'vector'] -gradient.ComputeDivergence = 1 -gradient.ComputeGradient = 0 -gradient.DivergenceArrayName = 'Divergence' -gradient.UpdatePipeline() - -sliceFilter = Slice(Input=gradient) -sliceFilter.SliceType = 'Plane' -sliceFilter.SliceType.Origin = [63.5, 63.5, 64.0] -sliceFilter.SliceType.Normal = [0.0, 0.0, 1.0] -sliceFilter.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [1.0, 1.0, 1.0] - -sliceDisplay = Show(sliceFilter, renderView) -sliceDisplay.Representation = 'Surface' -ColorBy(sliceDisplay, ('POINTS', 'Divergence')) - -divLUT = GetColorTransferFunction('Divergence') -divLUT.ApplyPreset('Cool to Warm', True) - -sliceDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(divLUT, renderView) -colorBar.Title = 'Velocity Divergence' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [63.5, 63.5, 250.0] -renderView.CameraFocalPoint = [63.5, 63.5, 64.0] -renderView.CameraViewUp = [0.0, 1.0, 0.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 13 done: {OUTPUT_IMG}") diff --git a/main/rti-velocity_divergence/data/rti-velocity_divergence.vti b/main/rti-velocity_divergence/data/rti-velocity_divergence.vti deleted file mode 100644 index f53a18bb388149a79b4edada9df7f99c07c79f57..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/data/rti-velocity_divergence.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9e278b27f5ee9af8dfa9cc5073d865633ccf7dc9cc6c52d1ebbbf4c751ebec1 -size 78294594 diff --git a/main/rti-velocity_divergence/task_description.txt b/main/rti-velocity_divergence/task_description.txt deleted file mode 100644 index cdbe165c47eead375cd80361526845e2909a0620..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/task_description.txt +++ /dev/null @@ -1,9 +0,0 @@ -Load the Rayleigh-Taylor instability velocity field from "rti-velocity_divergence/data/rti-velocity_divergence.vti" (VTI format, 128x128x128). -Compute the divergence of the velocity field using the Gradient filter with 'Compute Divergence' enabled. -Extract a slice at z=64 and color it by divergence using the 'Cool to Warm' diverging colormap (centered at 0). -Add a color bar labeled 'Velocity Divergence'. -White background. Top-down camera view along negative z-axis. Render at 1024x1024. -Save the paraview state as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.pvsm". -Save the visualization image as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.png". -(Optional, if use python script) Save the python script as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.py". -Do not save any other files, and always save the visualization image \ No newline at end of file diff --git a/main/rti-velocity_divergence/visualization_goals.txt b/main/rti-velocity_divergence/visualization_goals.txt deleted file mode 100644 index e5a9d0f8a61ec7ca1b61dfce1628b654e668de51..0000000000000000000000000000000000000000 --- a/main/rti-velocity_divergence/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth visualization of the RTI velocity divergence field? - -2. Divergence Patterns: Are the divergence patterns and structures visible in the result similar to the ground truth? - -3. Spatial Distribution: Does the spatial distribution of positive and negative divergence regions match the ground truth? - -4. Color Mapping: Is the color distribution visually similar to the ground truth, showing similar divergence values? \ No newline at end of file diff --git a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png index 56275a64f30f95adb6c7d24a995f78dfe3c49c56..3d9313c19403d26278336c7e8f47b1bf800e0bc1 100644 --- a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png +++ b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:665deaadfb475d448b318013bd0bf5bb807c74641ed86bfe67c9d25cb0306b41 -size 516286 +oid sha256:dcb5cdeb2d67e91d8172a7ac9d75d575384eec2b1d018999f2c3fcacc9ada358 +size 540660 diff --git a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm index b6f2c8448e8fe901e7d79c9ad03d06b87f64da18..71b7d6113406e502f41892a15ac29c1f93ec4289 100644 --- a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm +++ b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:96b220a805d0dec6cf8b6a8f9d54e2dc1d484a505e3982cba8202d257d5c68b7 -size 288526 +oid sha256:5d1e8b0d845ee37765be8fc08796cbe220dff6a4e9d8a5ed8aa7ca7aacc7d58a +size 288017 diff --git a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py index f1a0060285209723a536ea37a57de0142478dd69..7831358d6c3312eddb6898f4e4cf07466124db7e 100644 --- a/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py +++ b/main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py @@ -2,9 +2,9 @@ import os from paraview.simple import * SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'RTI_velocity_0050.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') +VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'data', 'rti-velocity_glyph.vti') +OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'rti-velocity_glyph_gs.png') +OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'rti-velocity_glyph_gs.pvsm') reader = XMLImageDataReader(FileName=[VTI_PATH]) reader.UpdatePipeline() @@ -37,8 +37,10 @@ magLUT.ApplyPreset('Viridis (matplotlib)', True) glyphDisplay.SetScalarBarVisibility(renderView, True) colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' +colorBar.Title = '' colorBar.ComponentTitle = '' +colorBar.TitleColor = [0.0, 0.0, 0.0] +colorBar.LabelColor = [0.0, 0.0, 0.0] renderView.CameraPosition = [63.5, 250.0, 63.5] renderView.CameraFocalPoint = [63.5, 64.0, 63.5] diff --git a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png index d4e620b025c8837ba6a553beff583bfa76f7c4e9..98186228b1ab30fadc95687fcc3e5977a2534885 100644 --- a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png +++ b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:238a59e0e5b9698f9ebe6c759b1863643ea7a0bf28622ec591653c310167ae92 -size 119670 +oid sha256:ad4a1089c3e2916e8bb2d7af59ed560f2a6042bef64e13dfad2b286fbd5bd506 +size 133537 diff --git a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm index d235f1f2e46afa700048bbb25e7c5739f61e324c..9c1f547d7d07faa3907fac3a577f576cb6f5d9aa 100644 --- a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm +++ b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1707fc866f4a54463f8bb8d96ba83f650bf4107e8db4fbc148c4836cd6c760db -size 850318 +oid sha256:a91b48041e5913c3e608996dcc5fca9822a03c519c2ad511ff2045f70a6daab1 +size 849385 diff --git a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py index 2c7ce20b9f4f56fa7803eb62d934c97d726bf8c9..809f5b1a032a4d9ca939c88bd0c635b3d239e828 100644 --- a/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py +++ b/main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py @@ -3,9 +3,9 @@ import glob from paraview.simple import * SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'RTI_velocity_*.vti'))) -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') +VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, '..', 'data', 'rti-velocity_streakline_*.vti'))) +OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'rti-velocity_streakline_gs.png') +OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'rti-velocity_streakline_gs.pvsm') # Streaklines: show streamlines from injection points at multiple timesteps @@ -76,8 +76,10 @@ vyLUT.ApplyPreset('Cool to Warm', True) vyDisplay.SetScalarBarVisibility(renderView, True) colorBar = GetScalarBar(vyLUT, renderView) -colorBar.Title = 'Vertical Velocity (vy)' +colorBar.Title = '' colorBar.ComponentTitle = '' +colorBar.TitleColor = [0.0, 0.0, 0.0] +colorBar.LabelColor = [0.0, 0.0, 0.0] # Elevated camera import math diff --git a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.png b/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.png deleted file mode 100644 index a424d3b7fd04c6e36eb3cba556fd4770a63ad88e..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5fcc5a759031344f45fa56da6f6255fbb93bc8af4bccf0a719fb243c9bc7841 -size 382187 diff --git a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.pvsm b/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.pvsm deleted file mode 100644 index 2e0a93606438ff73aa1bcc302cd00b7c6718a417..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32e8c07f9298d42f9e18c5a3cb490a5dd71ad2990575a9601cf7d390842ad6af -size 230654 diff --git a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.py b/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.py deleted file mode 100644 index ab34ad6292c5bd5b225d8c9b0d6434c69c21ddf5..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/GS/rti-velocity_streamline_gs.py +++ /dev/null @@ -1,48 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'RTI_velocity_0070.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -stream = StreamTracer(Input=reader, SeedType='Line') -stream.SeedType.Point1 = [0.0, 64.0, 0.0] -stream.SeedType.Point2 = [127.0, 64.0, 127.0] -stream.SeedType.Resolution = 200 -stream.Vectors = ['POINTS', 'vector'] -stream.MaximumStreamlineLength = 200.0 -stream.UpdatePipeline() - -tube = Tube(Input=stream) -tube.Radius = 0.4 -tube.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.02, 0.02, 0.05] - -tubeDisplay = Show(tube, renderView) -tubeDisplay.Representation = 'Surface' -ColorBy(tubeDisplay, ('POINTS', 'vz')) - -vzLUT = GetColorTransferFunction('vz') -vzLUT.ApplyPreset('Cool to Warm (Extended)', True) - -tubeDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(vzLUT, renderView) -colorBar.Title = 'Vz Component' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 06 done: {OUTPUT_IMG}") diff --git a/main/rti-velocity_streamline/data/rti-velocity_streamline.vti b/main/rti-velocity_streamline/data/rti-velocity_streamline.vti deleted file mode 100644 index ed2f2edf98f4917a4f16965611fdee852e5e82f8..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/data/rti-velocity_streamline.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d4e97f14322a56df10aa5bb46156b2f68af485df51513c07264bd0dc48f3d40 -size 78294594 diff --git a/main/rti-velocity_streamline/task_description.txt b/main/rti-velocity_streamline/task_description.txt deleted file mode 100644 index 4020c58a4ebd5a4058b2573046b53f68f4db6645..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/task_description.txt +++ /dev/null @@ -1,9 +0,0 @@ -Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_streamline/data/rti-velocity_streamline.vti" (VTI format, 128x128x128 grid). -Generate streamlines seeded from a plane at y=64 (using a Point Cloud seed with 200 points distributed on the xz-plane at y=64). -Color the streamlines by the vz component using a 'Cool to Warm (Extended)' diverging colormap. Render streamlines as tubes with radius 0.4. -Add a color bar labeled 'Vz Component'. -Dark background (RGB: 0.02, 0.02, 0.05). Use an isometric camera view. Render at 1024x1024. -Save the paraview state as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.pvsm". -Save the visualization image as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.png". -(Optional, if use python script) Save the python script as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/rti-velocity_streamline/visualization_goals.txt b/main/rti-velocity_streamline/visualization_goals.txt deleted file mode 100644 index 87bcb65ce3454d3310d53f2fbabf910f632a50d1..0000000000000000000000000000000000000000 --- a/main/rti-velocity_streamline/visualization_goals.txt +++ /dev/null @@ -1,5 +0,0 @@ -1) Streamlines seeded from y=64 plane region, with similar pattern compared to groundtruth -2) Streamlines rendered as tubes -3) Color by vz with Cool to Warm diverging colormap -4) Color bar labeled 'Vz Component' -5) Dark background, Isometric camera view, Output resolution 1024x1024 \ No newline at end of file diff --git a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.png b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.png index af2f4abf591b4ae5bf58e356a308422eaa029c6f..16ceb91e7b8bfe8a285464a99fd41e014f60a460 100644 --- a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.png +++ b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:90d858725123747439565641642a04db06e85e5b012c985be77ac8c17afdce66 -size 237007 +oid sha256:6afe059c6d86b45540447882fdd9b73b0085f35c0035ff68a470b6867f49a938 +size 245551 diff --git a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.pvsm b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.pvsm index 06295369d59e2be78f8c80526abec200ad42d891..fd2e7150ee103437719da90c5c65726df92df169 100644 --- a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.pvsm +++ b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.pvsm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a71e9fc46dfb14c4422e16f852496a57b59537457071eb93edb9bc55030ddb6 -size 229928 +oid sha256:27ffa5bd05e97f0376bf53e108958b5b1484fc683edc9ac60c84b4d131d998a2 +size 229459 diff --git a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.py b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.py index 27a7a70e7d0531c502eab37fc05fea935d9d5c79..9d58dd2afabda56e6456ff484b4e8bd08fea34e4 100644 --- a/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.py +++ b/main/rti-velocity_streamribbon/GS/rti-velocity_streamribbon_gs.py @@ -3,9 +3,9 @@ import math from paraview.simple import * SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, 'RTI_velocity_0060.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') +VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'data', 'rti-velocity_streamribbon.vti') +OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'rti-velocity_streamribbon_gs.png') +OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'rti-velocity_streamribbon_gs.pvsm') reader = XMLImageDataReader(FileName=[VTI_PATH]) reader.UpdatePipeline() @@ -56,8 +56,10 @@ vyLUT.ApplyPreset('Cool to Warm (Extended)', True) ribbonDisplay.SetScalarBarVisibility(renderView, True) colorBar = GetScalarBar(vyLUT, renderView) -colorBar.Title = 'Vertical Velocity (vy)' +colorBar.Title = '' colorBar.ComponentTitle = '' +colorBar.TitleColor = [0.0, 0.0, 0.0] +colorBar.LabelColor = [0.0, 0.0, 0.0] # Elevated camera view renderView.CameraPosition = [64.0, 200.0, 150.0] diff --git a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.png b/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.png deleted file mode 100644 index cffd6c9a50522163cfaf70dd5eca7e0c63225ed9..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6abe46aa5a1e83af78ff3deca6dd592c2279d6c217f4e751ccfa10835e14388 -size 198786 diff --git a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.pvsm b/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.pvsm deleted file mode 100644 index fcb26a76674e57a4cb8508d1ede90794c05c18a0..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e616e2161ed884adb649134e1aa663b88be00f6f7290ce4f7e7ebfeb3fa72f3 -size 227043 diff --git a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.py b/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.py deleted file mode 100644 index 4cf9aa198c26df33113502e72697015dc2397307..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/GS/supernova-velocity_isosurface_gs.py +++ /dev/null @@ -1,41 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'supernova_velocity_0040.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -contour = Contour(Input=reader) -contour.ContourBy = ['POINTS', 'magnitude'] -contour.Isosurfaces = [0.7] -contour.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.0] - -contourDisplay = Show(contour, renderView) -contourDisplay.Representation = 'Surface' -ColorBy(contourDisplay, ('POINTS', 'vz')) - -vzLUT = GetColorTransferFunction('vz') -vzLUT.ApplyPreset('Blue to Red Rainbow', True) - -contourDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(vzLUT, renderView) -colorBar.Title = 'Vz Component' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 15 done: {OUTPUT_IMG}") diff --git a/main/supernova-velocity_isosurface/data/supernova-velocity_isosurface.vti b/main/supernova-velocity_isosurface/data/supernova-velocity_isosurface.vti deleted file mode 100644 index 2f79de44137b18c64ef13376e38a9a49aad3dd53..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/data/supernova-velocity_isosurface.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c952376969b9dba3515e72c454bec7f81f45b4ec5d542ef30fffe800b860de2 -size 78294594 diff --git a/main/supernova-velocity_isosurface/task_description.txt b/main/supernova-velocity_isosurface/task_description.txt deleted file mode 100644 index 4cd677e18abdba784b75bcd5c1eb54be2e8bc6d2..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/task_description.txt +++ /dev/null @@ -1,8 +0,0 @@ -Load the supernova explosion velocity field from "supernova-velocity_isosurface/data/supernova-velocity_isosurface.vti" (VTI format, 128x128x128). -Extract an isosurface of velocity magnitude at threshold 0.7. Color the isosurface by the vz component using 'Blue to Red Rainbow' colormap. -Add a color bar labeled 'Vz Component'. -Dark background (RGB: 0.0, 0.0, 0.0). Isometric camera view. Render at 1024x1024. -Save the paraview state as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.pvsm". -Save the visualization image as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.png". -(Optional, if use python script) Save the python script as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/supernova-velocity_isosurface/visualization_goals.txt b/main/supernova-velocity_isosurface/visualization_goals.txt deleted file mode 100644 index 650be32f609590f1c9d60f500ccae494028588d2..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_isosurface/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth isosurface visualization of the supernova velocity field? - -2. Isosurface Structure: Does the isosurface show similar topology and shape as the ground truth? - -3. Surface Features: Are key features and structures on the isosurface similar to the ground truth? - -4. Color Mapping: Is the color distribution across the isosurface visually similar to the ground truth? \ No newline at end of file diff --git a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.png b/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.png deleted file mode 100644 index 947bc46376a1496febb32c0fe6b6d953e83b5c18..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97b5cdb65be7aa7ad0478c6118e61ac78e35ce25242cfbb009d45f6de4669228 -size 455621 diff --git a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsm b/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsm deleted file mode 100644 index 39ce13d6ed1ea89c45dd4f3cedeafa13e9dd9f70..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e0af21c21c923152634439896637c5969d2e756325b0a58472125b420e03dc1 -size 900937 diff --git a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.py b/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.py deleted file mode 100644 index bc4987a2e34d8da0e4275ce148bd8f7be1d18074..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.py +++ /dev/null @@ -1,99 +0,0 @@ -import os -import glob -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'supernova_velocity_*.vti'))) -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -# For pathlines visualization, we show streamlines from multiple timesteps -# overlaid to approximate pathline behavior - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.02, 0.0, 0.04] - -# Colors for different timesteps (blue to red progression) -colors = [ - [0.2, 0.2, 0.8], # t=0 blue - [0.3, 0.5, 0.7], # t=5 - [0.5, 0.7, 0.3], # t=10 - [0.8, 0.5, 0.2], # t=15 - [0.9, 0.2, 0.2], # t=20 red -] - -# Create spherical seed points -sphereSource = ProgrammableSource() -sphereSource.OutputDataSetType = 'vtkPolyData' -sphereSource.Script = """ -import vtk -import math -points = vtk.vtkPoints() -num_points = 50 -radius = 20.0 -cx, cy, cz = 64.0, 64.0, 64.0 -golden_ratio = (1 + math.sqrt(5)) / 2 -for i in range(num_points): - theta = 2 * math.pi * i / golden_ratio - phi = math.acos(1 - 2 * (i + 0.5) / num_points) - x = cx + radius * math.sin(phi) * math.cos(theta) - y = cy + radius * math.sin(phi) * math.sin(theta) - z = cz + radius * math.cos(phi) - points.InsertNextPoint(x, y, z) -output.SetPoints(points) -""" -sphereSource.UpdatePipeline() - -tubes_list = [] -for idx, vti_file in enumerate(VTI_FILES): - reader = XMLImageDataReader(FileName=[vti_file]) - reader.UpdatePipeline() - - stream = StreamTracerWithCustomSource(Input=reader, SeedSource=sphereSource) - stream.Vectors = ['POINTS', 'vector'] - stream.IntegrationDirection = 'FORWARD' - stream.MaximumStreamlineLength = 80.0 - stream.UpdatePipeline() - - tube = Tube(Input=stream) - tube.Radius = 0.25 - tube.UpdatePipeline() - tubes_list.append(tube) - - tubeDisplay = Show(tube, renderView) - tubeDisplay.Representation = 'Surface' - tubeDisplay.DiffuseColor = colors[idx] - tubeDisplay.Opacity = 0.7 - -# Add color bar manually as legend -# Use the last reader for magnitude reference -lastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]]) -lastReader.UpdatePipeline() -lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=sphereSource) -lastStream.Vectors = ['POINTS', 'vector'] -lastStream.MaximumStreamlineLength = 80.0 -lastStream.UpdatePipeline() -lastTube = Tube(Input=lastStream) -lastTube.Radius = 0.25 -lastTube.UpdatePipeline() - -magDisplay = Show(lastTube, renderView) -magDisplay.Representation = 'Surface' -ColorBy(magDisplay, ('POINTS', 'magnitude')) -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Turbo', True) -magDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [180.0, 180.0, 180.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 21 done: {OUTPUT_IMG}") diff --git a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vti b/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vti deleted file mode 100644 index 88c74c195c366ceb6fbcab0c2e45acfde084c234..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c2f984e08b39a997a48048b5bca172f618a82f3f9f74f78d73a8589e5bcf7c9 -size 78294594 diff --git a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vti b/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vti deleted file mode 100644 index 784e861b74e654af26127082fd41a64144ac2090..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c528d623ef7252e80c7bc6e535d6f1aa8db2729755ac7110c9398a3a33ea642 -size 78294594 diff --git a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vti b/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vti deleted file mode 100644 index 9c8f3161a9e074ee33a426e24970fe34495e2762..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:372e5e2a3746e47a77b510067ffbe2654d17af46608cb83d71ec1c994da0d0bf -size 78294594 diff --git a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vti b/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vti deleted file mode 100644 index 2237a7f1a9e96c0f6d46884de84d62dbbddc9c47..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78cdc5c8c7eb74b94a82d2d97517163be177947a6a02cf081881709bd9096945 -size 78294594 diff --git a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vti b/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vti deleted file mode 100644 index 624e87ae07be713208987c222c6e8cf3f1b5451f..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f360d609215cbbc2059f610cdab2102a7a03a11870ec3a17da65c2bfaab31d00 -size 78294594 diff --git a/main/supernova-velocity_pathline/task_description.txt b/main/supernova-velocity_pathline/task_description.txt deleted file mode 100644 index a7fecba934f7e6cca82628453f36d90b0f25758c..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/task_description.txt +++ /dev/null @@ -1,11 +0,0 @@ -Load the supernova explosion velocity field time series from "supernova-velocity_pathline/data/supernova-velocity_pathline_{timestep}.vti", where "timestep" in {0000, 0005, 0010, 0015, 0020} (5 timesteps, VTI format, 128x128x128 grid each). -Visualize the temporal evolution of flow patterns by generating streamlines from each timestep and overlaying them. -Seed 50 particles from a spherical shell centered at (64, 64, 64) with radius 20 (near the explosion center). -For each timestep, trace streamlines in the forward direction with maximum length 80. -Render streamlines as tubes with radius 0.25. Color each timestep differently to show temporal progression (blue for t=0 through red for t=20). -Also include a magnitude-colored version using the 'Turbo' colormap for the final timestep. -Add a color bar labeled 'Velocity Magnitude'. Use a dark background (RGB: 0.02, 0.0, 0.04). Set an isometric camera view. Render at 1024x1024 resolution. -Save the paraview state as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.pvsm". -Save the visualization image as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.png". -(Optional, if use python script) Save the python script as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/supernova-velocity_pathline/visualization_goals.txt b/main/supernova-velocity_pathline/visualization_goals.txt deleted file mode 100644 index f1be2d596b7bd67170ac215fd29627e1a84ee372..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_pathline/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth pathline visualization of the supernova velocity field? - -2. Pathline Patterns: Do the pathlines show similar trajectories and flow structures as the ground truth? - -3. Pathline Coverage: Is the spatial distribution and density of pathlines similar to the ground truth? - -4. Color Mapping: Is the color distribution along pathlines visually similar to the ground truth? \ No newline at end of file diff --git a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.png b/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.png deleted file mode 100644 index 08fe1312032f805f0b17c3bde90732b51754148d..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42c7ec200fd6f2e7b2e989b0fc3b9c125e38a3aef13a7f6c6f48050f9e8b6ae9 -size 74205 diff --git a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.pvsm b/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.pvsm deleted file mode 100644 index 75047c8647602b29dd7027274feba40d2a7871d5..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a6f11867a665a6e873a97203620a4eaf8a4067b7c060ea323e2530630cbd44b -size 275372 diff --git a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.py b/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.py deleted file mode 100644 index 90f399db80a185437ff44c4abca7fffb1e09438a..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/GS/supernova-velocity_streamline_gs.py +++ /dev/null @@ -1,48 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'supernova_velocity_0030.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -stream = StreamTracer(Input=reader, SeedType='Line') -stream.SeedType.Point1 = [20.0, 20.0, 20.0] -stream.SeedType.Point2 = [108.0, 108.0, 108.0] -stream.SeedType.Resolution = 80 -stream.Vectors = ['POINTS', 'vector'] -stream.MaximumStreamlineLength = 200.0 -stream.UpdatePipeline() - -tube = Tube(Input=stream) -tube.Radius = 0.4 -tube.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.02, 0.0, 0.05] - -tubeDisplay = Show(tube, renderView) -tubeDisplay.Representation = 'Surface' -ColorBy(tubeDisplay, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Magma (matplotlib)', True) - -tubeDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [200.0, 200.0, 200.0] -renderView.CameraFocalPoint = [63.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 08 done: {OUTPUT_IMG}") diff --git a/main/supernova-velocity_streamline/data/supernova-velocity_streamline.vti b/main/supernova-velocity_streamline/data/supernova-velocity_streamline.vti deleted file mode 100644 index d1665b7076531ac0fdc7df76770ac02ee66df9b7..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/data/supernova-velocity_streamline.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0115c9f15fe8cf008cf35f2bff1393e155c239e48df7548880b830586b09dea1 -size 78294594 diff --git a/main/supernova-velocity_streamline/task_description.txt b/main/supernova-velocity_streamline/task_description.txt deleted file mode 100644 index 21c0f9b72b64db0b331d1d941e8b7ed033fce5d4..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/task_description.txt +++ /dev/null @@ -1,10 +0,0 @@ -Load the supernova explosion velocity field dataset from "supernova-velocity_streamline/data/supernova-velocity_streamline.vti" (VTI format, 128x128x128 grid). -Generate streamlines seeded from a line source along the diagonal from (20,20,20) to (108,108,108) with 80 seed points. -Color streamlines by velocity magnitude using the 'Magma (matplotlib)' colormap. -Render as tubes with radius 0.4. -Add a color bar labeled 'Velocity Magnitude'. -Dark background (RGB: 0.02, 0.0, 0.05). Isometric camera view. Render at 1024x1024. -Save the paraview state as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.pvsm". -Save the visualization image as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.png". -(Optional, if use python script) Save the python script as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/supernova-velocity_streamline/visualization_goals.txt b/main/supernova-velocity_streamline/visualization_goals.txt deleted file mode 100644 index 40e946ac10adcddf7575aa02fb84d44c696456fb..0000000000000000000000000000000000000000 --- a/main/supernova-velocity_streamline/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth streamline visualization of the supernova velocity field? - -2. Streamline Patterns: Do the streamlines show similar flow patterns and structures as the ground truth? - -3. Streamline Coverage: Is the spatial distribution and density of streamlines similar to the ground truth? - -4. Color Mapping: Is the color distribution along streamlines visually similar to the ground truth? \ No newline at end of file diff --git a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.png b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.png index 2db105dacac186c865accbad307378176ae65541..7078678844499deec2b47f0ef8a7df11bf8e149b 100644 --- a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.png +++ b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fce23c0691a08349f6f430ec3bb8009966d79f4fbc70a70bc79dd22e20ae29d3 -size 311023 +oid sha256:d64322ad6a5fa1d2846e23f3f711a691415a038a2be0187d0fe11b597209c15c +size 381614 diff --git a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.pvsm b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.pvsm index fef1bcdbc9a0dc1519ccb661cc72467a275a6beb..0e446aaa9f75ee509f26f6f0c6eac45e121a2d61 100644 --- a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.pvsm +++ b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.pvsm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cbff2ef428fae4b6a7e51424eeb6a66d68133c1f1536e31b69c5c43e1980e696 -size 387786 +oid sha256:2162ee4736a3933035e63dbd610986cd5b15efe1afdde0f3b8b3c6e0b28d68aa +size 386982 diff --git a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.py b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.py index 2df934ab2733a87f2570dc2ccd4eb055a3888a75..8edb7529cd405d5daeff30095c2c68bfc41bc820 100644 --- a/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.py +++ b/main/tgc-velocity_contour/GS/tgc-velocity_contour_gs.py @@ -2,9 +2,9 @@ import os from paraview.simple import * SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'TGC_temp100K_dens0.445_metalZ_velocity_0010.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') +VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'data', 'tgc-velocity_contour.vti') +OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'tgc-velocity_contour_gs.png') +OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'tgc-velocity_contour_gs.pvsm') reader = XMLImageDataReader(FileName=[VTI_PATH]) reader.UpdatePipeline() @@ -33,8 +33,10 @@ magLUT.ApplyPreset('Viridis (matplotlib)', True) sliceDisplay.SetScalarBarVisibility(renderView, True) colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' +colorBar.Title = '' colorBar.ComponentTitle = '' +colorBar.TitleColor = [0.0, 0.0, 0.0] +colorBar.LabelColor = [0.0, 0.0, 0.0] contourDisplay = Show(contour, renderView) contourDisplay.Representation = 'Surface' diff --git a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.png b/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.png deleted file mode 100644 index cf8e88c7ab6bc979585519205667c35103bdabb2..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84cabb902be7f566efe271730caf8b4f917d8c917ff7ceb75e5646d301ac0e25 -size 588426 diff --git a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.pvsm b/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.pvsm deleted file mode 100644 index 597dee2db9931e0ce5f9a71040e8d0494cde1431..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94c26510d85c756110be88e9c9d8882040ad837fc0e9a3ad21a38994e0430bb7 -size 270130 diff --git a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.py b/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.py deleted file mode 100644 index 0feb05b84e257864d4b912ade70cf6ea324e5fdd..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/GS/tgc-velocity_volvis_gs.py +++ /dev/null @@ -1,42 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'TGC_temp1000K_dens4.45_metal0.1Z_velocity_0020.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.1, 0.1, 0.1] - -display = Show(reader, renderView) -display.Representation = 'Volume' -ColorBy(display, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Viridis (matplotlib)', True) - -magPWF = GetOpacityTransferFunction('magnitude') -magPWF.Points = [0.0, 0.0, 0.5, 0.0, - 0.5, 0.1, 0.5, 0.0, - 1.0, 0.4, 0.5, 0.0, - 1.7, 0.8, 0.5, 0.0] - -display.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [100.0, 100.0, 100.0] -renderView.CameraFocalPoint = [31.5, 31.5, 31.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 11 done: {OUTPUT_IMG}") diff --git a/main/tgc-velocity_volvis/data/tgc-velocity_volvis.vti b/main/tgc-velocity_volvis/data/tgc-velocity_volvis.vti deleted file mode 100644 index a4e6cb86a284fad4c0b714d4cee40b13b44f5f9d..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/data/tgc-velocity_volvis.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1003f854e6c40db5420cfef748b77def58d4b19addb44fa06b570bdf89e17851 -size 9787628 diff --git a/main/tgc-velocity_volvis/task_description.txt b/main/tgc-velocity_volvis/task_description.txt deleted file mode 100644 index 776941b85e1594548311c6477a55b7314bc5632d..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/task_description.txt +++ /dev/null @@ -1,9 +0,0 @@ -Load the turbulence-gravity-cooling velocity field dataset from "tgc-velocity_volvis/data/tgc-velocity_volvis.vti" (VTI format, 64x64x64 grid). -Perform volume rendering of velocity magnitude. Use the 'Viridis (matplotlib)' colormap. -Set opacity transfer function to gradually increase from 0 at minimum to 0.8 at maximum. -Add a color bar labeled 'Velocity Magnitude'. -Dark gray background (RGB: 0.1, 0.1, 0.1). Isometric camera view. Render at 1024x1024. -Save the paraview state as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.pvsm". -Save the visualization image as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.png". -(Optional, if use python script) Save the python script as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/tgc-velocity_volvis/visualization_goals.txt b/main/tgc-velocity_volvis/visualization_goals.txt deleted file mode 100644 index 37dfb8e624e1edc1c68f92a28345bc8ad10ebfcf..0000000000000000000000000000000000000000 --- a/main/tgc-velocity_volvis/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth volume rendering of the TGC velocity field magnitude? - -2. Volume Structure: Are the internal structures and features visible in the volume rendering similar to the ground truth? - -3. Opacity Distribution: Does the transparency/opacity distribution appear similar to the ground truth, showing the same depth and internal features? - -4. Color Mapping: Is the color distribution throughout the volume visually similar to the ground truth? \ No newline at end of file diff --git a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.png b/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.png deleted file mode 100644 index bfa1dc7edb9aaed322bfe59f69d3f2d3b547ba70..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2bc854e9ad667e8ad4a76aef2ff9228c27b8111413372e53ca253421621a4b69 -size 97745 diff --git a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.pvsm b/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.pvsm deleted file mode 100644 index 5003fbf28d6c3f851ce901d5db1f5a60c4e53dd2..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65d67c4ecd43849be431c6455bb622149090301505e07fd2fdce4374fc42778a -size 227273 diff --git a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.py b/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.py deleted file mode 100644 index 606485d452ccc6bcd742020c0ec70f8e4f41cdd4..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/GS/trl-velocity_isosurface_gs.py +++ /dev/null @@ -1,41 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'TRL_tcool_1.00_velocity_0030.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -contour = Contour(Input=reader) -contour.ContourBy = ['POINTS', 'magnitude'] -contour.Isosurfaces = [0.8] -contour.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.05, 0.05, 0.1] - -contourDisplay = Show(contour, renderView) -contourDisplay.Representation = 'Surface' -ColorBy(contourDisplay, ('POINTS', 'vx')) - -vxLUT = GetColorTransferFunction('vx') -vxLUT.ApplyPreset('Cool to Warm', True) - -contourDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(vxLUT, renderView) -colorBar.Title = 'Vx Component' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [350.0, 250.0, 250.0] -renderView.CameraFocalPoint = [127.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 14 done: {OUTPUT_IMG}") diff --git a/main/trl-velocity_isosurface/data/trl-velocity_isosurface.vti b/main/trl-velocity_isosurface/data/trl-velocity_isosurface.vti deleted file mode 100644 index e32f0d63749eabc6bcba316a85f3994b5816188b..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/data/trl-velocity_isosurface.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba8a7cfebd01ae24ee9dea666dca014d4ac3bd9574cf7f1b8c9080ac7eac3d6e -size 156588274 diff --git a/main/trl-velocity_isosurface/task_description.txt b/main/trl-velocity_isosurface/task_description.txt deleted file mode 100644 index e3ffcb92c77152a4398bd49c536a33b5cb9b923d..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/task_description.txt +++ /dev/null @@ -1,8 +0,0 @@ -Load the turbulent radiative layer velocity field dataset from "trl-velocity_isosurface/data/trl-velocity_isosurface.vti" (VTI format, 256x128x128). -Extract an isosurface of velocity magnitude at the value 0.8. Color the isosurface by the vx component using the 'Cool to Warm' colormap. -Add a color bar labeled 'Vx Component'. -Dark background (RGB: 0.05, 0.05, 0.1). Isometric camera view. Render at 1024x1024. -Save the paraview state as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.pvsm". -Save the visualization image as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.png". -(Optional, if use python script) Save the python script as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/trl-velocity_isosurface/visualization_goals.txt b/main/trl-velocity_isosurface/visualization_goals.txt deleted file mode 100644 index 5f9a170913e896ba76d78293a8da5b126c242240..0000000000000000000000000000000000000000 --- a/main/trl-velocity_isosurface/visualization_goals.txt +++ /dev/null @@ -1,7 +0,0 @@ -1. Overall Visualization Goal: Does the result match the ground truth isosurface visualization of the TRL velocity field? - -2. Isosurface Structure: Does the isosurface show similar topology and shape as the ground truth? - -3. Surface Features: Are key features and structures on the isosurface similar to the ground truth? - -4. Color Mapping: Is the color distribution across the isosurface visually similar to the ground truth? \ No newline at end of file diff --git a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.png b/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.png deleted file mode 100644 index 7ff3562d6538a207463820ec3c599134f2e58ecd..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7663059942700f1efa3736892d6e8c3342b3008e2bab8c9be921e1c916b3b271 -size 430552 diff --git a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.pvsm b/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.pvsm deleted file mode 100644 index 7206c252e33ee0d16668d457865d22f5841e8fba..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.pvsm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64b27fa35ae5e99817bba7e9150807555120ee4c6ababd4bb43c96c45c0c3053 -size 275402 diff --git a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.py b/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.py deleted file mode 100644 index a72935347ca1e95e62dc562554e93a1790d8115c..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/GS/trl-velocity_streamline_gs.py +++ /dev/null @@ -1,48 +0,0 @@ -import os -from paraview.simple import * - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -VTI_PATH = os.path.join(SCRIPT_DIR, '..', 'vti_data', 'TRL_tcool_0.10_velocity_0050.vti') -OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png') -OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm') - -reader = XMLImageDataReader(FileName=[VTI_PATH]) -reader.UpdatePipeline() - -stream = StreamTracer(Input=reader, SeedType='Line') -stream.SeedType.Point1 = [0.0, 64.0, 64.0] -stream.SeedType.Point2 = [255.0, 64.0, 64.0] -stream.SeedType.Resolution = 100 -stream.Vectors = ['POINTS', 'vector'] -stream.MaximumStreamlineLength = 400.0 -stream.UpdatePipeline() - -tube = Tube(Input=stream) -tube.Radius = 0.5 -tube.UpdatePipeline() - -renderView = GetActiveViewOrCreate('RenderView') -renderView.ViewSize = [1024, 1024] -renderView.Background = [0.0, 0.0, 0.0] - -tubeDisplay = Show(tube, renderView) -tubeDisplay.Representation = 'Surface' -ColorBy(tubeDisplay, ('POINTS', 'magnitude')) - -magLUT = GetColorTransferFunction('magnitude') -magLUT.ApplyPreset('Inferno (matplotlib)', True) - -tubeDisplay.SetScalarBarVisibility(renderView, True) -colorBar = GetScalarBar(magLUT, renderView) -colorBar.Title = 'Velocity Magnitude' -colorBar.ComponentTitle = '' - -renderView.CameraPosition = [300.0, 250.0, 250.0] -renderView.CameraFocalPoint = [127.5, 63.5, 63.5] -renderView.CameraViewUp = [0.0, 0.0, 1.0] -renderView.ResetCamera() -Render() - -SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024]) -SaveState(OUTPUT_STATE) -print(f"Task 07 done: {OUTPUT_IMG}") diff --git a/main/trl-velocity_streamline/data/trl-velocity_streamline.vti b/main/trl-velocity_streamline/data/trl-velocity_streamline.vti deleted file mode 100644 index abbef6162d479e70f8b7d15fd2d381ae62f62fd2..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/data/trl-velocity_streamline.vti +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9376c5aa5393888e4b1239c2b8ba0acb7bc7e39ddb2610bea448edbb07ab0e8f -size 156588274 diff --git a/main/trl-velocity_streamline/task_description.txt b/main/trl-velocity_streamline/task_description.txt deleted file mode 100644 index 158e6c621f4adc95f53a3df885c247df17fdf943..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/task_description.txt +++ /dev/null @@ -1,9 +0,0 @@ -Load the turbulent radiative layer velocity field dataset from "trl-velocity_streamline/data/trl-velocity_streamline.vti" (VTI format, 256x128x128 grid). -Generate streamlines seeded from a line along the x-axis at y=64, z=64 (from x=0 to x=255), with 100 seed points. -Color streamlines by velocity magnitude using the 'Inferno (matplotlib)' colormap. Render as tubes with radius 0.5. -Add a color bar labeled 'Velocity Magnitude'. -Dark background (RGB: 0.0, 0.0, 0.0). Set an isometric camera view. Render at 1024x1024." -Save the paraview state as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.pvsm". -Save the visualization image as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.png". -(Optional, if use python script) Save the python script as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.py". -Do not save any other files, and always save the visualization image. \ No newline at end of file diff --git a/main/trl-velocity_streamline/visualization_goals.txt b/main/trl-velocity_streamline/visualization_goals.txt deleted file mode 100644 index c7b17627390e3c7e13b472c5e5d5b810200823df..0000000000000000000000000000000000000000 --- a/main/trl-velocity_streamline/visualization_goals.txt +++ /dev/null @@ -1,5 +0,0 @@ -1) Streamlines seeded along x-axis line, with similar pattern compared to groundtruth -2) Streamlines rendered as tubes -3) Color by magnitude with Inferno colormap -4) Color bar labeled 'Velocity Magnitude' -5) Black background, Isometric camera view, Output resolution 1024x1024 \ No newline at end of file