Rename and place mas mhd related assets more consistently

This commit is contained in:
Jonathan Grangien
2018-05-16 15:01:56 -04:00
committed by Matthias Berg
parent 2ff4eac122
commit 1df58e3588
4 changed files with 2 additions and 3 deletions

View File

@@ -17,8 +17,7 @@ asset.require('util/default_keybindings')
local sunAsset = asset.require('scene/solarsystem/sun/sun')
-- local earthAsset = asset.require('scene/solarsystem/planets/earth/earth')
local masMhdAsset = asset.require('scene/solarsystem/model/mas/mas')
-- local testSphere = asset.require('scene/solarsystem/model/mas/testsphere')
local masMhdAsset = asset.require('scene/solarsystem/model/mas/mas_mhd')
-- This causes crash because the renderable is not removed properly before the next frame
local toggleMas = function ()

View File

@@ -12,7 +12,7 @@ local Mas_MHD = {
Renderable = {
Type = "RenderableTimeVaryingVolume",
StepSize = 0.001,
TransferFunction = "${DATA}/mas/mas_transfer_function.txt",
TransferFunction = asset.localResource("transferfunctions/mas_mhd.txt"),
SourceDirectory = "${DATA}/mas/raw",
LowerValueBound = 0,
UpperValueBound = 1,