Skip to content
Snippets Groups Projects
Commit fc0722af authored by Ali Can Demiralp's avatar Ali Can Demiralp
Browse files

Added another transfer function. Made the camera rotate around the volume in one axis.

parent 4d2a63dd
No related branches found
No related tags found
No related merge requests found
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
"time_scale" : 1000.0, "time_scale" : 1000.0,
"loop" : true, "loop" : true,
"image_size" : [1920, 1080], "image_size" : [4096, 4096],
"step_size" : 0.05, "step_size" : 0.1,
"samples" : 32, "samples" : 128,
"ambient_samples" : 4, "ambient_samples" : 0,
"shadows" : true, "shadows" : true,
"update_rate" : 16.0, "update_rate" : 16.0,
"key_frames" : "key_frames" :
[ [
{ "time": 0.0 , "position": [ 0.0, 0.0, -250.0], "forward": [0.0, 0.0, 1.0], "up": [0.0, 1.0, 0.0] }, { "time": 0.0, "position": [ 0.0, 0.0, 250.0], "forward": [ 0.0, 0.0, -1.0], "up": [0.0, 1.0, 0.0] },
{ "time": 1000.0, "position": [ 0.0, -250.0, 0.0], "forward": [0.0, 1.0, 0.0], "up": [0.0, 0.0, -1.0] }, { "time": 2500.0, "position": [ 250.0, 0.0, 0.0], "forward": [-1.0, 0.0, 0.0], "up": [0.0, 1.0, 0.0] },
{ "time": 2000.0, "position": [-250.0, 0.0, 0.0], "forward": [1.0, 0.0, 0.0], "up": [0.0, 1.0, 0.0] }, { "time": 5000.0, "position": [ 0.0, 0.0, -250.0], "forward": [ 0.0, 0.0, 1.0], "up": [0.0, 1.0, 0.0] },
{ "time": 3000.0, "position": [ 0.0, 0.0, -250.0], "forward": [0.0, 0.0, 1.0], "up": [0.0, 1.0, 0.0] } { "time": 10000.0, "position": [-250.0, 0.0, 0.0], "forward": [ 1.0, 0.0, 0.0], "up": [0.0, 1.0, 0.0] }
] ]
} }
[ [
{ {
"ColorSpace" : "RGB", "ColorSpace" : "Diverging",
"Name" : "Oxy BWR", "Name" : "Oxyflame",
"Points" : "Points" :
[ [
0.0, 0.0,
0.0, 0.0,
0.5, 0.5,
0.0, 0.0,
0.0014124293811619282,
0.0,
0.5,
0.0,
0.008192090317606926,
0.012500000186264515,
0.5,
0.0,
0.016384180635213852,
0.037500001490116119,
0.5,
0.0,
0.023163842037320137,
0.10000000149011612,
0.5,
0.0,
0.028248587623238564,
0.22500000894069672,
0.5,
0.0,
0.030225988477468491,
0.40000000596046448,
0.5,
0.0,
0.073728814721107483,
0.5,
0.5,
0.0,
0.074576273560523987,
0.0,
0.60714274644851685,
0.0,
0.97937858104705811,
0.5,
0.5,
0.0,
0.98022603988647461,
1.0,
0.5,
0.0,
1.0, 1.0,
1.0, 1.0,
0.5, 0.5,
...@@ -16,17 +56,25 @@ ...@@ -16,17 +56,25 @@
"RGBPoints" : "RGBPoints" :
[ [
0.0, 0.0,
0.231373, 0.70588200000000001,
0.298039, 0.0156863,
0.75294099999999997, 0.14902000000000001,
0.049717515707015991,
0.88658768796718135,
0.85508219740016522,
0.83676003820803169,
0.5, 0.5,
0.86500299999999997, 0.86500299999999997,
0.86500299999999997, 0.86500299999999997,
0.86500299999999997, 0.86500299999999997,
0.97966104745864868,
0.86045159700921547,
0.86480990998778984,
0.86996130992170306,
1.0, 1.0,
0.70588200000000001, 0.231373,
0.0156863, 0.298039,
0.14902000000000001 0.75294099999999997
] ]
} }
] ]
......
[
{
"ColorSpace" : "Diverging",
"Name" : "Oxyflame",
"Points" :
[
0.0,
0.0,
0.5,
0.0,
0.0014124293811619282,
0.0,
0.5,
0.0,
0.008192090317606926,
0.012500000186264515,
0.5,
0.0,
0.016384180635213852,
0.037500001490116119,
0.5,
0.0,
0.023163842037320137,
0.10000000149011612,
0.5,
0.0,
0.028248587623238564,
0.22500000894069672,
0.5,
0.0,
0.030225988477468491,
0.40000000596046448,
0.5,
0.0,
0.073728814721107483,
0.5,
0.5,
0.0,
0.074576273560523987,
0.0,
0.60714274644851685,
0.0,
0.97937858104705811,
0.5,
0.5,
0.0,
0.98022603988647461,
1.0,
0.5,
0.0,
1.0,
1.0,
0.5,
0.0
],
"RGBPoints" :
[
0.0,
0.70588200000000001,
0.0156863,
0.14902000000000001,
0.049717515707015991,
0.88658768796718135,
0.85508219740016522,
0.83676003820803169,
0.5,
0.86500299999999997,
0.86500299999999997,
0.86500299999999997,
0.97966104745864868,
0.86045159700921547,
0.86480990998778984,
0.86996130992170306,
1.0,
0.231373,
0.298039,
0.75294099999999997
]
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment