Changed the appearance of the flow

Added another color table for the flow (brighter than the usual color table)
This commit is contained in:
Emilie
2020-07-08 16:50:59 +02:00
parent c54ed88901
commit 4344b9435a
5 changed files with 62 additions and 9 deletions
@@ -19,6 +19,7 @@ openspace.setPropertyValueSingle("Modules.Space.ShowExceptions", false)
local transferFunctions = asset.localResource("transferfunctions")
local streamnodeColorTable = transferFunctions .. "/stream_nodes.txt"
local streamnodeColorTableEarth = transferFunctions .. "/stream_nodes10.txt"
local streamnodeColorTableFlow = transferFunctions .. "/stream_nodesFlow.txt"
local streamnodesDirectory = asset.syncedResource({
Name = "Bastille Day Stream nodes",
@@ -47,6 +48,7 @@ local Streamnodes = {
ColorTablePaths = {
streamnodeColorTable,
streamnodeColorTableEarth,
streamnodeColorTableFlow,
},
--ColorTableMinMax = {
-- { 0, 1000000 },
@@ -0,0 +1,12 @@
width 7
lower 0.0
upper 1.0
mappingkey 0.0 178 102 255 255
mappingkey 0.166 102 102 255 255
mappingkey 0.332 102 255 255 255
mappingkey 0.498 102 255 102 255
mappingkey 0.664 255 255 102 255
mappingkey 0.830 255 178 102 255
mappingkey 1.0 255 102 102 255