From 3b2cbe44e4df5367291ac4413a66e0d6b855359b Mon Sep 17 00:00:00 2001
From: jehret <ehret@vr.rwth-aachen.de>
Date: Thu, 4 Mar 2021 07:05:52 +0100
Subject: [PATCH] And that too.
---
offline_ray_tracer/include/transfer_function.hpp | 6 +++---
settings.json | 8 ++++----
transfer_function.json | 10 +++++-----
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/offline_ray_tracer/include/transfer_function.hpp b/offline_ray_tracer/include/transfer_function.hpp
index 230f2f9..b736bec 100644
--- a/offline_ray_tracer/include/transfer_function.hpp
+++ b/offline_ray_tracer/include/transfer_function.hpp
@@ -22,9 +22,9 @@ public:
vtkJson::Value root;
reader.parse(file_stream, root);
- auto& opacity = root[0]["Points" ];
- auto& color = root[0]["RGBPoints"];
- auto space = root[0]["ColorSpace"].asString();
+ auto opacity = root[0]["Points" ];
+ auto color = root[0]["RGBPoints"];
+ auto space = root[0]["ColorSpace"].asString();
for (auto i = 0; i < opacity.size(); i += 4)
opacity_function->AddPoint(
diff --git a/settings.json b/settings.json
index 9b1ee4a..091d6c2 100644
--- a/settings.json
+++ b/settings.json
@@ -1,11 +1,11 @@
{
"data_filepaths":
[
- { "geometry": "/hpcwork/rwth0432/data/oxyflame/GEOM_0013200.vtp", "volume": "/hpcwork/rwth0432/data/oxyflame/QOUT_0013200_test.vtu" },
- { "geometry": "/hpcwork/rwth0432/data/oxyflame/GEOM_0013200.vtp", "volume": "/hpcwork/rwth0432/data/oxyflame/QOUT_0013200_test.vtu" },
- { "geometry": "/hpcwork/rwth0432/data/oxyflame/GEOM_0013200.vtp", "volume": "/hpcwork/rwth0432/data/oxyflame/QOUT_0013200_test.vtu" }
+ { "geometry": "D:/General/AIA/Oxyflame/GEOM_0013200.vtp", "volume": "D:/General/AIA/Oxyflame/QOUT_0013200.vtu" },
+ { "geometry": "D:/General/AIA/Oxyflame/GEOM_0013200.vtp", "volume": "D:/General/AIA/Oxyflame/QOUT_0013200.vtu" },
+ { "geometry": "D:/General/AIA/Oxyflame/GEOM_0013200.vtp", "volume": "D:/General/AIA/Oxyflame/QOUT_0013200.vtu" }
],
- "transfer_function": "/home/rwth0432/source/oxyflame_rendering_tools/transfer_function.json",
+ "transfer_function": "D:/source/internal/oxyflame_rendering_tools/transfer_function.json",
"time_scale" : 1000.0,
"loop" : true,
diff --git a/transfer_function.json b/transfer_function.json
index 9351f77..2155919 100644
--- a/transfer_function.json
+++ b/transfer_function.json
@@ -4,18 +4,18 @@
"Name" : "Q",
"Points" :
[
- -1.0,
- 0.0,
+ -1000000000000000000000000000000.0,
+ 1.0,
0.5,
0.0,
- 1.0,
+ 1000000000000000000000000000000.0,
1.0,
0.5,
0.0
],
"RGBPoints" :
[
- -1.0,
+ -1000000000000000000000000000000.0,
0.231373,
0.298039,
0.75294099999999997,
@@ -23,7 +23,7 @@
0.86500299999999997,
0.86500299999999997,
0.86500299999999997,
- 1.0,
+ 1000000000000000000000000000000.0,
0.70588200000000001,
0.0156863,
0.14902000000000001
--
GitLab