bring in support for multiresolution volume rendering

This commit is contained in:
Emil Axelsson
2016-04-11 16:56:44 +02:00
parent 90f3193236
commit 4ff0205eae
52 changed files with 7057 additions and 49 deletions

View File

@@ -0,0 +1,22 @@
return {
-- Volume module
{
Name = "Enlil New Horizons",
Parent = "Root",
Ephemeris = {
Type = "Static",
Position = { 0.0, 0.0, 0.0, 0}
},
Renderable = {
Type = "RenderableMultiresVolume",
Translation = {0, 0, 0},
Rotation = {2.1, 0, 0},
Scaling = {1.1, 1.1, 1.1},
ScalingExponent = 12,
Source = "tsp/enlil_nh_128_128_16.tsp",
TransferFunction = "transferfunctions/fire.txt",
BrickSelector = "tf",
},
GuiName = "/Volumes/ENLIL New Horizons"
}
}

View File

@@ -0,0 +1,10 @@
width 1024
lower 0.0
upper 1.0
mappingkey 0.05 254 0 0 0
mappingkey 0.10 254 0 0 110
mappingkey 0.12 254 220 0 254
mappingkey 0.15 254 100 0 254
mappingkey 0.20 180 0 0 254
mappingkey 0.25 180 0 80 254