mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 08:19:51 -05:00
Point cloud rewrite (RIP RenderableBillboardsCloud) (#2932)
* Start refactoring billboardscloud renderable * Remove extra unit computation in geometry shader * More refactor and fix size parameter not working without colormap (it never did) * Remove redundant bool in shader * Divide settings into property owners * Refactor colormap * More refactoring (utilize properties for visiblity) * Remove redundant extra data structures for options * Move data logic to the colormap settings structure * Remove confusing correction size properties * Separate polygon cloud into its own renderable * Clean up some unused code * Update some property descriptions * Split some more code out into functions * Remove odd and unused "linear filtering" Should be reimplemented ina better way in a general color map overhaul * Start refactoring some more properties * Make color optional and remove redundant color assignments in assets * Refactor color-parameter input and make range mapping work correctly * Code cleanup (unused code and fix data types) * Rename ScaleFactor to ScaleExponent * Add a scale factor as well, as they're easier to use, and clarify documentation * Fix faultily renamed scale factors * Remove confusing multiplication for scale exponent * Fix problem with points not appearing when _drawElements was set to true * Move all colormapsettings into its own table in the asset files * Move scaling/sizing into its own table as well * Group sizing properties and remove min pixel size limit (was always zero) * Add some docs and rename a parameter to avoid repetition * Remove IsExact colormap and add an option to hide outliers OBS! Still need to update the actual cmap files * Add property to disable size mapping * Increase pixel size of polyon texture - reduces jagged edges * Remove unused points class * Rename files and billboard class, to make it clearer that it is a point cloud * Move size mapping into size settings * Move color map properties out into its own component * Move color map related computations into the new component * Add outlier colors, to cover some specific color mapping issues * Automatically fill parameter options if no colormap parameters were defined * Move all color-related parameters to under one property owner * Inlcude changes from matrix maintenance * Add a checkbox to disable additive blending * Remove a unused variable in shader * DO color maping on the graphics card instead of CPU, using a texture * WIP remove old "Outliers" and start introducing concept of no data colors instead * Move speck loader to core and divide into a general data loader and a speck specific loader (In preparation for adding CSV support) * More labelscomponent to core * Fix a faulty header * Handle NaN values * Rename color map component property owner It's not just the color map, but the settings for the entire mapping * Hide point with nan value is show missing data is not selected * Fix labels component documentation after move * Add option to not provide any texture, and use a sphere generated form the shader * Don't crash when loading unsupported data formats :) * Add some TODO comments that should be addressed before merge * Move renderables from DU module to base, and do some header cleanup * Move colormapping component to core ad rename it to make it clear that it is not the color map itself * Add above, below and nan color values to cmap loading * Remove missing Data value specs in asset (and use belowRange in cmap instead) * Make warning about wrong color number more verbose * Add TODO comment about colormap, and actually used color in prev version, to localdwarfs * WIP: Load CSV files * Update some property visbility * Check if chosen parameter options actually exist * Fix fault column check * Update example asset to cover more different cases * Use new asset.resource loading * Update asset versions (major update) * Add parent documentation for RenderablePolygonCloud * Add point cloud example with size scaling and add TODO comment * Add example with textured points * Don't blend textured points * Fix problem with shaders being confused about texture units * Bring back deepsky points color * Start implementing more sophisticated datamapping for point data files * Allow reading datamapping from input dictionary * Load dataset in constructor instead Solves problem with color map columns not loading for big datasets when loaded the first time * Fix crash from reading column value that is interpreted as inf * Inlcude information about data mapping when caching dataset Updating the parameters now leads to an updated caching of the data file * Adapt to tolower update * Add option to specify columns to exclude in load (for CSV files) * Start updating some docs * Add a readonly property that shows the number of data points * Rename example asset to shorter name * Add option for not using cache when loading dataset * Fix some errors in example asset * Set scaleExponent from max position if not specified That way the points are always visible, even when no exponent is given * Restructure and add explanations in example asset * Add option to not cache labels component data file * Add example file with labels and units * Compute fade distances in model coordinates instead of world space (issue #1746) * Add possiblity to invert fading and add exmaple asset * Make a separate propertyowner for fading settings * Update docs * Add example asset with custom data mapping * Address some of my own review comments * Read provided Parameter from asset * Read ValueRange from asset * Add example asset for more advanced color mapping settings * Allow using the same column for two position coordinate axes * Update src/rendering/colormappingcomponent.cpp Co-authored-by: Alexander Bock <alexander.bock@liu.se> * Update src/data/datamapping.cpp * Use helper function for tolowercase * Simplify some std::optional handling, and fix broken assignment from code review fix * Update data file versions to get updated cmap files * Include a progress bar to show progress of CSV data loading * Update csv data-to-float parsing for clang * Add a description about why `openspace.absPath` is used in the file instead of `asset.resource` * Apply suggestions from code review * Apply suggestions from code review * Add some missing info in documentation * Place size-related property descriptions next to each other * Remove the explicitly set renderbin * Fix overly complicated description * Fix polygon texture not being used * Add polygon cloud example * only bind texture and activate texture unit when required * Rename alpha to opacity in shader * Fix value range not loading, and make first parameter in list the default * Rename Pixel Size property * Use base 10 for scale exponent instead of base e * Update src/data/datamapping.cpp * Update modules/base/shaders/billboardpoint_gs.glsl * Remove some redundant asset settings (Home label) * Review comments * Add TODO comment for localdwarfs asset (Speck file reading problems) * Oops, forgot part of the comment * Apply suggestions from code review Co-authored-by: Alexander Bock <alexander.bock@liu.se> * More code review fixes * Fix faulty isReady check when labels are included * Apply suggestions from code review Co-authored-by: Alexander Bock <alexander.bock@liu.se> * Apply suggestions from code review Co-authored-by: Alexander Bock <alexander.bock@liu.se> * More code review updates --------- Co-authored-by: Alexander Bock <alexander.bock@liu.se>
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
x,y,z,a,b,normaldist_withMissing,number_withNan
|
||||
13428000,26239000,45870000,-3.226548224,33.95773276,-0.357778948,29
|
||||
14727000,45282000,10832000,45.05941924,-106.0395917,,29
|
||||
24999000,28370000,19911000,-70.58906931,154.1851656,-0.167961782,Nan
|
||||
26539000,36165000,39582000,-13.3663358,71.79484733,0.113536778,9
|
||||
49056000,24775000,14626000,21.42870979,-115.6088304,0.125551095,37
|
||||
43965000,21472000,18760000,65.07055022,-56.36880466,0.172981386,18
|
||||
15661000,28429000,16965000,76.15826514,125.3163407,,40
|
||||
25046000,36006000,49453000,-22.31710915,137.4486786,0.447921314,28
|
||||
13797000,34811000,18825000,-79.40300933,74.05580595,-0.02379786,12
|
||||
13879000,14824000,41472000,-30.93548431,-8.755047834,-0.041777813,50
|
||||
11481000,20480000,25925000,75.51244012,178.1377926,-0.044396255,0
|
||||
45032000,16606000,23537000,37.38766828,175.5064508,-0.449674816,13
|
||||
14395000,34940000,21968000,-31.6863061,-116.6587323,-0.09741961,30
|
||||
15945000,21478000,29536000,-53.01226701,59.18196347,0.304142338,30
|
||||
13458000,19017000,18542000,8.72692265,80.65872957,,45
|
||||
45302000,15732000,34369000,-85.57061714,124.6890481,-0.364449145,20
|
||||
15559000,36269000,18160000,-4.975784243,-156.8789425,-0.012893853,22
|
||||
16552000,14570000,39763000,-39.2579671,75.22960824,-0.281792015,Nan
|
||||
11353000,13410000,38311000,8.610608538,-36.43103437,-0.196021206,9
|
||||
12383000,49302000,33539000,69.26506588,-109.0830926,-0.147483079,34
|
||||
44302000,21387000,23434000,16.14574541,78.81171702,0.115624185,5
|
||||
43107000,14206000,24728000,37.57233254,142.6103028,,Nan
|
||||
49320000,43878000,24240000,-39.10527498,149.2751575,-0.086246397,29
|
||||
37519000,40514000,16409000,-24.14434437,157.2871976,-0.071946303,12
|
||||
37202000,40122000,42551000,-79.88824934,-124.089513,0.375414362,31
|
||||
12783000,11757000,25348000,-11.83866388,118.2423568,-0.243289139,Nan
|
||||
39621000,30560000,15929000,75.8365484,-95.18288548,-0.399996182,37
|
||||
10937000,15183000,21413000,-32.40573,-157.8337361,-0.202310776,39
|
||||
39411000,12532000,44006000,34.67409469,-83.29512212,,Nan
|
||||
47905000,25552000,28902000,36.19437814,52.25734185,,32
|
||||
28426000,45268000,27886000,-70.843469,-63.7321218,0.112287307,45
|
||||
15026000,45897000,23911000,-89.01161062,10.16376248,-0.00400866,Nan
|
||||
24625000,14844000,12837000,88.91663258,169.8003753,-0.151728888,5
|
||||
46304000,21144000,24421000,-41.58069299,59.63971512,-0.371030712,48
|
||||
29558000,10724000,27312000,9.663492403,-71.18121738,0.344402457,Nan
|
||||
49636000,27202000,24626000,59.46440387,-92.91431055,0.26256468,31
|
||||
38603000,23794000,41040000,70.45128929,-67.84861911,-0.184920666,48
|
||||
37336000,21742000,40982000,-15.69131418,134.6754731,0.078786176,15
|
||||
35128000,38725000,25244000,2.279345664,34.91612867,0.091098807,44
|
||||
30419000,33591000,39512000,-56.16030331,133.9105282,-0.590693487,8
|
||||
18665000,11189000,45438000,-45.68302316,-85.35524485,0.046936859,26
|
||||
15442000,36392000,16074000,81.4389588,-56.70945587,0.038804669,5
|
||||
43378000,27900000,38748000,-74.35249265,-133.1884413,0.429053963,17
|
||||
44424000,19982000,13528000,-81.19709235,49.49364675,0.115926289,47
|
||||
42733000,15383000,28933000,75.17020088,-11.11330632,0.127627239,32
|
||||
40144000,46822000,29588000,-81.25577073,-135.8002245,0.346061193,33
|
||||
16927000,38232000,43931000,-80.97022269,157.7565432,-0.096039391,39
|
||||
38910000,36030000,38003000,-37.79005665,-1.5474944,0.107402594,11
|
||||
48340000,38510000,39290000,21.94846638,-112.6129615,0.230803493,3
|
||||
17258000,45665000,27152000,80.73726495,-31.33714033,-0.079079307,10
|
||||
48363000,39701000,11905000,11.83766221,-69.99777106,-0.002514692,3
|
||||
27660000,29370000,26029000,8.179457229,147.7719143,-0.006520509,31
|
||||
47106000,30527000,17038000,73.00898959,9.988869939,0.797492967,5
|
||||
10471000,37521000,35398000,57.46145065,-29.5045034,-0.261313809,39
|
||||
27774000,44082000,40036000,78.47974779,-4.998179635,0.437739286,24
|
||||
46887000,20413000,36649000,51.11098102,-136.3276432,0.237434245,41
|
||||
10093000,46706000,19187000,-58.41750426,-157.9933447,0.275586609,45
|
||||
49093000,36514000,38499000,-55.41355694,150.177605,0.576467955,21
|
||||
48945000,49826000,23225000,-63.91174083,-177.7191007,0.475443991,Nan
|
||||
26852000,28926000,32243000,-77.854481,116.9006581,,1
|
||||
34219000,34787000,30801000,-62.32990484,23.24232366,0.089523916,40
|
||||
31075000,30369000,36898000,-77.78314619,38.69526825,-0.046423443,7
|
||||
28135000,21412000,25552000,-7.411565773,-88.65122734,0.258690016,Nan
|
||||
13347000,15980000,43094000,74.71054756,-37.32614369,,7
|
||||
26928000,31159000,16653000,-32.74503199,146.7695347,0.576290488,34
|
||||
12364000,14374000,43646000,28.70641859,-92.35199713,-0.059531367,16
|
||||
38991000,49388000,48534000,56.70658222,8.014973542,-0.173400177,30
|
||||
17180000,14935000,11680000,-45.39957586,102.5726701,0.16285705,1
|
||||
27666000,29337000,44778000,89.4063742,-79.68068618,0.044140443,41
|
||||
13660000,11108000,37986000,57.03349279,7.98684928,0.066242706,24
|
||||
36910000,10252000,41657000,-9.906961203,21.79114496,-0.378241692,6
|
||||
21785000,20095000,14903000,77.49612237,-84.68789002,-0.071118836,16
|
||||
33363000,42124000,39814000,-64.47776113,-30.79591997,0.371115832,35
|
||||
42758000,48892000,44762000,42.39782697,-32.55868099,-0.146011285,1
|
||||
16590000,22098000,28515000,-36.90992927,-55.27481385,-0.203981239,27
|
||||
26448000,45475000,33361000,64.22197115,146.6687002,-0.026210913,1
|
||||
41182000,23927000,25075000,-81.55929754,137.9213773,0.042229126,10
|
||||
49801000,15636000,39883000,-89.22857667,159.9681504,0.035529624,15
|
||||
32725000,13037000,49874000,-55.17873101,61.01413612,0.519438664,43
|
||||
31130000,16471000,41939000,-45.36963748,-156.5100924,0.245045969,22
|
||||
19599000,37119000,26468000,-26.58523044,174.7731562,-0.210527713,22
|
||||
30024000,23097000,14711000,44.31464407,150.7894846,-0.041347399,45
|
||||
39567000,48586000,49391000,1.721781555,156.1687027,,31
|
||||
46249000,28249000,32393000,-13.3221674,-176.0644697,-0.108879159,30
|
||||
12180000,20488000,46288000,36.02858732,30.43526779,-0.099205446,47
|
||||
29659000,40098000,45152000,72.15373455,62.01511311,,46
|
||||
41026000,19309000,15845000,-38.63636224,145.9569745,-0.083266866,32
|
||||
47146000,39852000,26666000,35.2426196,-33.97130609,-0.650089141,7
|
||||
39958000,46945000,11789000,-68.31344333,172.4154216,0.001713968,37
|
||||
25921000,13147000,22257000,-15.89505915,-150.39693,0.165178387,37
|
||||
28892000,28329000,49094000,-58.72206735,-157.3776844,-0.228068143,48
|
||||
29563000,48312000,45703000,86.78718085,179.1386066,-0.146072441,49
|
||||
46127000,46582000,13462000,39.98033674,-164.152123,-0.081830298,17
|
||||
23268000,24051000,48652000,-43.61767649,83.51428751,-0.106824408,45
|
||||
22163000,26901000,28702000,51.04347167,169.7632117,0.052782471,31
|
||||
46968000,17027000,25787000,-73.8664022,2.915300454,-0.028069047,22
|
||||
24148000,44640000,15422000,8.379412685,101.9542853,-0.049339904,14
|
||||
11566000,26486000,11735000,-36.78748293,-129.8960512,,Nan
|
||||
11063000,38883000,16772000,-65.43894139,105.6607872,,7
|
||||
43081000,16718000,45813000,-2.464830259,87.07999887,-0.24057898,40
|
||||
|
@@ -0,0 +1,100 @@
|
||||
13428000 26239000 45870000 id P0 text Point 0
|
||||
14727000 45282000 10832000 id P1 text Point 1
|
||||
24999000 28370000 19911000 id P2 text Point 2
|
||||
26539000 36165000 39582000 id P3 text Point 3
|
||||
49056000 24775000 14626000 id P4 text Point 4
|
||||
43965000 21472000 18760000 id P5 text Point 5
|
||||
15661000 28429000 16965000 id P6 text Point 6
|
||||
25046000 36006000 49453000 id P7 text Point 7
|
||||
13797000 34811000 18825000 id P8 text Point 8
|
||||
13879000 14824000 41472000 id P9 text Point 9
|
||||
11481000 20480000 25925000 id P10 text Point 10
|
||||
45032000 16606000 23537000 id P11 text Point 11
|
||||
14395000 34940000 21968000 id P12 text Point 12
|
||||
15945000 21478000 29536000 id P13 text Point 13
|
||||
13458000 19017000 18542000 id P14 text Point 14
|
||||
45302000 15732000 34369000 id P15 text Point 15
|
||||
15559000 36269000 18160000 id P16 text Point 16
|
||||
16552000 14570000 39763000 id P17 text Point 17
|
||||
11353000 13410000 38311000 id P18 text Point 18
|
||||
12383000 49302000 33539000 id P19 text Point 19
|
||||
44302000 21387000 23434000 id P20 text Point 20
|
||||
43107000 14206000 24728000 id P21 text Point 21
|
||||
49320000 43878000 24240000 id P22 text Point 22
|
||||
37519000 40514000 16409000 id P23 text Point 23
|
||||
37202000 40122000 42551000 id P24 text Point 24
|
||||
12783000 11757000 25348000 id P25 text Point 25
|
||||
39621000 30560000 15929000 id P26 text Point 26
|
||||
10937000 15183000 21413000 id P27 text Point 27
|
||||
39411000 12532000 44006000 id P28 text Point 28
|
||||
47905000 25552000 28902000 id P29 text Point 29
|
||||
28426000 45268000 27886000 id P30 text Point 30
|
||||
15026000 45897000 23911000 id P31 text Point 31
|
||||
24625000 14844000 12837000 id P32 text Point 32
|
||||
46304000 21144000 24421000 id P33 text Point 33
|
||||
29558000 10724000 27312000 id P34 text Point 34
|
||||
49636000 27202000 24626000 id P35 text Point 35
|
||||
38603000 23794000 41040000 id P36 text Point 36
|
||||
37336000 21742000 40982000 id P37 text Point 37
|
||||
35128000 38725000 25244000 id P38 text Point 38
|
||||
30419000 33591000 39512000 id P39 text Point 39
|
||||
18665000 11189000 45438000 id P40 text Point 40
|
||||
15442000 36392000 16074000 id P41 text Point 41
|
||||
43378000 27900000 38748000 id P42 text Point 42
|
||||
44424000 19982000 13528000 id P43 text Point 43
|
||||
42733000 15383000 28933000 id P44 text Point 44
|
||||
40144000 46822000 29588000 id P45 text Point 45
|
||||
16927000 38232000 43931000 id P46 text Point 46
|
||||
38910000 36030000 38003000 id P47 text Point 47
|
||||
48340000 38510000 39290000 id P48 text Point 48
|
||||
17258000 45665000 27152000 id P49 text Point 49
|
||||
48363000 39701000 11905000 id P50 text Point 50
|
||||
27660000 29370000 26029000 id P51 text Point 51
|
||||
47106000 30527000 17038000 id P52 text Point 52
|
||||
10471000 37521000 35398000 id P53 text Point 53
|
||||
27774000 44082000 40036000 id P54 text Point 54
|
||||
46887000 20413000 36649000 id P55 text Point 55
|
||||
10093000 46706000 19187000 id P56 text Point 56
|
||||
49093000 36514000 38499000 id P57 text Point 57
|
||||
48945000 49826000 23225000 id P58 text Point 58
|
||||
26852000 28926000 32243000 id P59 text Point 59
|
||||
34219000 34787000 30801000 id P60 text Point 60
|
||||
31075000 30369000 36898000 id P61 text Point 61
|
||||
28135000 21412000 25552000 id P62 text Point 62
|
||||
13347000 15980000 43094000 id P63 text Point 63
|
||||
26928000 31159000 16653000 id P64 text Point 64
|
||||
12364000 14374000 43646000 id P65 text Point 65
|
||||
38991000 49388000 48534000 id P66 text Point 66
|
||||
17180000 14935000 11680000 id P67 text Point 67
|
||||
27666000 29337000 44778000 id P68 text Point 68
|
||||
13660000 11108000 37986000 id P69 text Point 69
|
||||
36910000 10252000 41657000 id P70 text Point 70
|
||||
21785000 20095000 14903000 id P71 text Point 71
|
||||
33363000 42124000 39814000 id P72 text Point 72
|
||||
42758000 48892000 44762000 id P73 text Point 73
|
||||
16590000 22098000 28515000 id P74 text Point 74
|
||||
26448000 45475000 33361000 id P75 text Point 75
|
||||
41182000 23927000 25075000 id P76 text Point 76
|
||||
49801000 15636000 39883000 id P77 text Point 77
|
||||
32725000 13037000 49874000 id P78 text Point 78
|
||||
31130000 16471000 41939000 id P79 text Point 79
|
||||
19599000 37119000 26468000 id P80 text Point 80
|
||||
30024000 23097000 14711000 id P81 text Point 81
|
||||
39567000 48586000 49391000 id P82 text Point 82
|
||||
46249000 28249000 32393000 id P83 text Point 83
|
||||
12180000 20488000 46288000 id P84 text Point 84
|
||||
29659000 40098000 45152000 id P85 text Point 85
|
||||
41026000 19309000 15845000 id P86 text Point 86
|
||||
47146000 39852000 26666000 id P87 text Point 87
|
||||
39958000 46945000 11789000 id P88 text Point 88
|
||||
25921000 13147000 22257000 id P89 text Point 89
|
||||
28892000 28329000 49094000 id P90 text Point 90
|
||||
29563000 48312000 45703000 id P91 text Point 91
|
||||
46127000 46582000 13462000 id P92 text Point 92
|
||||
23268000 24051000 48652000 id P93 text Point 93
|
||||
22163000 26901000 28702000 id P94 text Point 94
|
||||
46968000 17027000 25787000 id P95 text Point 95
|
||||
24148000 44640000 15422000 id P96 text Point 96
|
||||
11566000 26486000 11735000 id P97 text Point 97
|
||||
11063000 38883000 16772000 id P98 text Point 98
|
||||
43081000 16718000 45813000 id P99 text Point 99
|
||||
@@ -0,0 +1,237 @@
|
||||
local earthAsset = asset.require("scene/solarsystem/planets/earth/earth")
|
||||
|
||||
|
||||
|
||||
-- Color mapped points close to Earth, with some different settings for color and
|
||||
-- sizing, and a StaticRotation that makes them not overlap
|
||||
|
||||
-- Point cloud with fixed color and default size (fixed)
|
||||
local FixedColor_FixedSize = {
|
||||
Identifier = "ExamplePoints_FixedSize",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 0.5, 0.0 }
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Fixed Color / Fixed Size",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = "Point cloud with a fixed color and fixed sizing"
|
||||
}
|
||||
}
|
||||
|
||||
-- Point cloud with fixed color and size scaling that is limited by a certain size,
|
||||
-- in pixels
|
||||
local FixedColor_MaxPixelSize = {
|
||||
Identifier = "ExamplePoints_MaxPixelSize",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, 0, 0.5 * math.pi }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 1.0, 1.0 }
|
||||
},
|
||||
SizeSettings = {
|
||||
MaxPixelSize = 4.7,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Fixed Color / Max Pixel Size",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = "Point cloud with a fixed color and sizing with a given max pixel size"
|
||||
}
|
||||
}
|
||||
|
||||
-- Point cloud with color mapping and fixed point sizing
|
||||
local ColorMapped_FixedSize = {
|
||||
Identifier = "ExamplePoints_ColorMapped",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, 0, -0.5 * math.pi }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = asset.resource("viridis.cmap")
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
-- Here we set the exponent for the scale explicitly, to a value that
|
||||
-- gives the points a suitable size based on their world-space coordinates
|
||||
ScaleExponent = 6.5
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Color Mapped",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = "Color mapped point cloud with fixed sizing"
|
||||
}
|
||||
}
|
||||
|
||||
-- Point cloud with fixed color and size scaling from a selected data column
|
||||
local FixedColor_ScaleBasedOnData = {
|
||||
Identifier = "ExamplePoints_ScaleFromData",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, 0.5 * math.pi, 0 }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.5, 0.5, 0.0 }
|
||||
},
|
||||
SizeSettings = {
|
||||
-- The options for the columns that the points can be scaled by. The first
|
||||
-- alternative is chosen per default
|
||||
SizeMapping = { "number_withNan", "a" },
|
||||
-- Use a slightly smaller scale than above for the base size of the points
|
||||
-- (will decide the size of the smallest point). That way, the points don't
|
||||
-- become too big when scaled by the data parameter
|
||||
ScaleExponent = 5
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Fixed Color / Size From Data",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Point cloud with a fixed color and sizing that can be set based on a
|
||||
column in the dataset]]
|
||||
}
|
||||
}
|
||||
|
||||
-- Point cloud with textures. Textured points can also be color mapped, but here it
|
||||
-- is disabled per default
|
||||
local Textured = {
|
||||
Identifier = "ExamplePoints_Textured",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, math.pi, 0 }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
-- The path to the texture file. Here we use openspace.absPath so that we can use
|
||||
-- the ${DATA} token to get the path to a texture in the "OpenSpace/data" folder,
|
||||
-- but for a file at a relative location it would also work to use asset.resource,
|
||||
-- like for the data file above
|
||||
Texture = openspace.absPath("${DATA}/test3.jpg"),
|
||||
-- Disable additive blending, so that points will be rendered with their actual color
|
||||
-- and overlapping points will be sorted by depth. This works best when the points
|
||||
-- have an opacity of 1
|
||||
UseAdditiveBlending = false,
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
-- Disable color map per default. When enabled, the texture color will be
|
||||
-- multiplied with the color from the color map
|
||||
Enabled = false,
|
||||
File = asset.resource("viridis.cmap")
|
||||
}
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Textured",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = "Point cloud with a texture per point"
|
||||
}
|
||||
}
|
||||
|
||||
-- Point cloud with more advanced color mapping and fixed point sizing.
|
||||
-- Here we have predefined a couple of parameters to use for the color mapping.
|
||||
-- Also, missing/NaN values are mapped to a specific color.
|
||||
-- Finally, no additive blending is used for the color, meaning that the color of
|
||||
-- overlapping points will not be mixed/added
|
||||
local ColorMappedAdvanced_NoBlend = {
|
||||
Identifier = "ExamplePoints_ColorMappedNoBlend",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, 0, math.pi }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
UseAdditiveBlending = false, -- Disable additive blending
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = asset.resource("viridis.cmap"),
|
||||
ParameterOptions = {
|
||||
{ Key = "number_withNan" }, -- no range => compute min and max
|
||||
{ Key = "normaldist_withMissing", Range = { -0.5, 0.5 } }
|
||||
},
|
||||
ShowMissingData = true,
|
||||
NoDataColor = { 0.5, 0.5, 0.5, 1.0 }
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 6.5
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Color Mapped (Advanced) - No blending",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Color mapped point cloud without additive blending, with missing
|
||||
values shown in grey, and a limited choice of parameter options to use for
|
||||
the color mapping.]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(FixedColor_FixedSize)
|
||||
openspace.addSceneGraphNode(FixedColor_MaxPixelSize)
|
||||
openspace.addSceneGraphNode(FixedColor_ScaleBasedOnData)
|
||||
openspace.addSceneGraphNode(Textured)
|
||||
openspace.addSceneGraphNode(ColorMapped_FixedSize)
|
||||
openspace.addSceneGraphNode(ColorMappedAdvanced_NoBlend)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(ColorMappedAdvanced_NoBlend)
|
||||
openspace.removeSceneGraphNode(ColorMapped_FixedSize)
|
||||
openspace.removeSceneGraphNode(Textured)
|
||||
openspace.removeSceneGraphNode(FixedColor_ScaleBasedOnData)
|
||||
openspace.removeSceneGraphNode(FixedColor_MaxPixelSize)
|
||||
openspace.removeSceneGraphNode(FixedColor_FixedSize)
|
||||
end)
|
||||
|
||||
asset.export(FixedColor_FixedSize)
|
||||
asset.export(FixedColor_MaxPixelSize)
|
||||
asset.export(FixedColor_ScaleBasedOnData)
|
||||
asset.export(Textured)
|
||||
asset.export(ColorMapped_FixedSize)
|
||||
asset.export(ColorMappedAdvanced_NoBlend)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Point Clouds",
|
||||
Version = "1.0",
|
||||
Description = [[Examples of point clouds with a few different settings for sizing and
|
||||
coloring]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
local earthAsset = asset.require("scene/solarsystem/planets/earth/earth")
|
||||
|
||||
|
||||
|
||||
local Example = {
|
||||
Identifier = "ExamplePoints_ColorMapping",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = asset.resource("viridis.cmap"),
|
||||
-- Set the default choice of parameter and value range explicitly. Values
|
||||
-- outside this range will be given special colors
|
||||
Parameter = "normaldist_withMissing",
|
||||
ValueRange = { -0.25, 0.25 },
|
||||
-- Show missing data values, so we can show these in a specific color
|
||||
ShowMissingData = true,
|
||||
-- Color for missing data points
|
||||
NoDataColor = { 1.0, 0.0, 0.0, 1.0 },
|
||||
-- Color for point with values above the given range. If not set, or if
|
||||
-- UseAboveRangeColor is false, the color will be set to the last value
|
||||
-- in the color map (as per default)
|
||||
AboveRangeColor = { 0.0, 1.0, 0.0, 1.0 },
|
||||
-- Color for point with values below the given range. If not set, or if
|
||||
-- UseAboveRangeColor is false, the color will be set to the first value
|
||||
-- in the color map (as per default)
|
||||
BelowRangeColor = { 0.0, 0.0, 1.0, 1.0 },
|
||||
|
||||
-- Some other parameters that can be set are the following (these are all the
|
||||
-- default values):
|
||||
|
||||
-- If true, completely hide all values outside the range
|
||||
HideValuesOutsideRange = false,
|
||||
-- Toggle whether the above range color should be used
|
||||
UseAboveRangeColor = true,
|
||||
-- Toggle whether the below range color should be used
|
||||
UseBelowRangeColor = true
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
-- Reduce the size of the point a little bit so that they don't overlap so much
|
||||
ScaleFactor = 0.5
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Advanced Color Mapping Settings",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a point cloud where the range is set explicitly and
|
||||
specific colors are used for values outside the range, as well as for missing
|
||||
data values.]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.export(Example)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Advanced Color Mapping Settings",
|
||||
Version = "1.0",
|
||||
Description = [[Example of a point cloud where the range is set explicitly and
|
||||
specific colors are used for values outside the range, as well as for missing
|
||||
data values]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
local earthAsset = asset.require("scene/solarsystem/planets/earth/earth")
|
||||
|
||||
|
||||
|
||||
local Example = {
|
||||
Identifier = "ExamplePoints_DataMapping",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
DataMapping = {
|
||||
-- Using the DataMapping, we can specify the X, Y and Z values of the point
|
||||
-- positions to be set by any value in the dataset, without changing the dataset
|
||||
-- used for the rendering
|
||||
X = "a",
|
||||
Y = "b",
|
||||
Z = "a",
|
||||
-- It is also possible to specify a numeric value that corresponds to missing
|
||||
-- values in the dataset. These will be interpreted as NaN values
|
||||
MissingDataValue = 29,
|
||||
-- And some column that we do not want to include in the loading. Here we can for
|
||||
-- example skip the regular position columns
|
||||
ExcludeColumns = { "x", "y", "z" }
|
||||
},
|
||||
-- Interpret values as Parsec rather than meter. The values in the a and b columns
|
||||
-- are much smaller than the x, y and z
|
||||
Unit = "pc",
|
||||
-- To show the values corresponding to missing values, use a color map and show
|
||||
-- missing data values in a specific color
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = asset.resource("viridis.cmap"),
|
||||
ShowMissingData = true,
|
||||
NoDataColor = { 1.0, 0.0, 0.0, 1.0 }
|
||||
}
|
||||
},
|
||||
},
|
||||
GUI = {
|
||||
Name = "Data Mapping",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a point cloud where the X, Y and Z position are mapped to
|
||||
other columns in the dataset.]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.export(Example)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Point Cloud with Custom Data Mapping",
|
||||
Version = "1.0",
|
||||
Description = [[Example of a point cloud where the X, Y and Z position are mapped to
|
||||
other columns in the dataset. The data mapping also includes some settings for
|
||||
missing data values and columns to exclude when loading the dataset]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
local earthAsset = asset.require("scene/solarsystem/planets/earth/earth")
|
||||
|
||||
|
||||
|
||||
local EarthRadius = 6371000
|
||||
|
||||
local Example = {
|
||||
Identifier = "ExamplePoints_Fading",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 0.3, 1.0 }
|
||||
},
|
||||
Fading = {
|
||||
-- Control at what distance the points fade in. The points will be invisible
|
||||
-- when the camera is closer than the first value, and fully visible when the
|
||||
-- camera is further away then the last value. In-between they will linearly
|
||||
-- fade in or out
|
||||
FadeInDistances = { 15.0 * EarthRadius, 35.0 * EarthRadius }
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "PointCloud - Fading",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a point cloud with distance-based fading (the points
|
||||
are visible when the camera reaches a certain distance away from the origin)]]
|
||||
}
|
||||
}
|
||||
|
||||
local Example_Invert = {
|
||||
Identifier = "ExamplePoints_FadingInverted",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
-- Rotate so that the points don't overlap with the previous ones
|
||||
Transform = {
|
||||
Rotation = {
|
||||
Type = "StaticRotation",
|
||||
Rotation = { 0, math.pi, 0 }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.3, 0.0 }
|
||||
},
|
||||
Fading = {
|
||||
-- Use the same fade distances, but invert the fading so that the points are
|
||||
-- visible when the camera is closer to the origin that the first value, and
|
||||
-- invisible when further away than the last value
|
||||
FadeInDistances = { 15.0 * EarthRadius, 35.0 * EarthRadius },
|
||||
Invert = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "PointCloud - Fading (Inverted)",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a point cloud with inverted distance-based fading
|
||||
(the points are visible when the camera is close to the origin, and invisible
|
||||
when further away)]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(Example)
|
||||
openspace.addSceneGraphNode(Example_Invert)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(Example_Invert)
|
||||
openspace.removeSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.export(Example)
|
||||
asset.export(Example_Invert)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Point Cloud with Fading",
|
||||
Version = "1.0",
|
||||
Description = [[Example of a point cloud with distance-based fading]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
local earthAsset = asset.require("scene/solarsystem/planets/earth/earth")
|
||||
|
||||
|
||||
|
||||
local Example = {
|
||||
Identifier = "ExamplePoints_UnitsAndLabels",
|
||||
Parent = earthAsset.Earth.Identifier,
|
||||
Renderable = {
|
||||
Type = "RenderablePointCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 0.3, 1.0 }
|
||||
},
|
||||
-- Add a unit to interpret the points to be in kilometers rather than meters
|
||||
Unit = "Km",
|
||||
-- Also load a label file with the same position information as the CSV file.
|
||||
-- The unit should be the same as the renderable
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
File = asset.resource("data/dummydata.label"),
|
||||
Size = 7.5,
|
||||
Unit = "Km"
|
||||
}
|
||||
-- @TODO The labels are not correctly oriented towards the camera!
|
||||
},
|
||||
GUI = {
|
||||
Name = "Units & Labels",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a point cloud where a spcific unit is used when
|
||||
interpreting the position values, and text labels are placed at the points]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.export(Example)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Point Cloud with Unit and Labels",
|
||||
Version = "1.0",
|
||||
Description = [[Example of a point cloud where a spcific unit is used when
|
||||
interpreting the position values, and text labels are placed at the points]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
local Example = {
|
||||
Identifier = "ExamplePoints_Polygon",
|
||||
Renderable = {
|
||||
Type = "RenderablePolygonCloud",
|
||||
File = asset.resource("data/dummydata.csv"),
|
||||
Coloring = {
|
||||
FixedColor = { 0.8, 0.0, 0.0 }
|
||||
},
|
||||
-- Specify the number of sides for the polygon. 3 = triangle, 4 = square,
|
||||
-- 5 = pentagon, 6 = hexagon, and so on
|
||||
PolygonSides = 6,
|
||||
-- Scale up the dataset, so that it is interpreted in Kilometers instead of meters,
|
||||
-- for increased visiblity
|
||||
Unit = "Km"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Polygon Cloud",
|
||||
Path = "/Example/Point Clouds",
|
||||
Description = [[Example of a polygon cloud, which is a point cloud where a uniform
|
||||
polygon is used for the shape of the points]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
asset.onInitialize(function()
|
||||
openspace.addSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.onDeinitialize(function()
|
||||
openspace.removeSceneGraphNode(Example)
|
||||
end)
|
||||
|
||||
asset.export(Example)
|
||||
|
||||
|
||||
|
||||
asset.meta = {
|
||||
Name = "Example - Polygon Cloud",
|
||||
Version = "1.0",
|
||||
Description = [[Example of a polygon cloud, which is a point cloud where a uniform
|
||||
polygon is used for the shape of the points]],
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
License = "MIT license"
|
||||
}
|
||||
@@ -0,0 +1,258 @@
|
||||
# Viridis Color map
|
||||
256
|
||||
0.267004 0.004874 0.329415 1.000000
|
||||
0.268510 0.009605 0.335427 1.000000
|
||||
0.269944 0.014625 0.341379 1.000000
|
||||
0.271305 0.019942 0.347269 1.000000
|
||||
0.272594 0.025563 0.353093 1.000000
|
||||
0.273809 0.031497 0.358853 1.000000
|
||||
0.274952 0.037752 0.364543 1.000000
|
||||
0.276022 0.044167 0.370164 1.000000
|
||||
0.277018 0.050344 0.375715 1.000000
|
||||
0.277941 0.056324 0.381191 1.000000
|
||||
0.278791 0.062145 0.386592 1.000000
|
||||
0.279566 0.067836 0.391917 1.000000
|
||||
0.280267 0.073417 0.397163 1.000000
|
||||
0.280894 0.078907 0.402329 1.000000
|
||||
0.281446 0.084320 0.407414 1.000000
|
||||
0.281924 0.089666 0.412415 1.000000
|
||||
0.282327 0.094955 0.417331 1.000000
|
||||
0.282656 0.100196 0.422160 1.000000
|
||||
0.282910 0.105393 0.426902 1.000000
|
||||
0.283091 0.110553 0.431554 1.000000
|
||||
0.283197 0.115680 0.436115 1.000000
|
||||
0.283229 0.120777 0.440584 1.000000
|
||||
0.283187 0.125848 0.444960 1.000000
|
||||
0.283072 0.130895 0.449241 1.000000
|
||||
0.282884 0.135920 0.453427 1.000000
|
||||
0.282623 0.140926 0.457517 1.000000
|
||||
0.282290 0.145912 0.461510 1.000000
|
||||
0.281887 0.150881 0.465405 1.000000
|
||||
0.281412 0.155834 0.469201 1.000000
|
||||
0.280868 0.160771 0.472899 1.000000
|
||||
0.280255 0.165693 0.476498 1.000000
|
||||
0.279574 0.170599 0.479997 1.000000
|
||||
0.278826 0.175490 0.483397 1.000000
|
||||
0.278012 0.180367 0.486697 1.000000
|
||||
0.277134 0.185228 0.489898 1.000000
|
||||
0.276194 0.190074 0.493001 1.000000
|
||||
0.275191 0.194905 0.496005 1.000000
|
||||
0.274128 0.199721 0.498911 1.000000
|
||||
0.273006 0.204520 0.501721 1.000000
|
||||
0.271828 0.209303 0.504434 1.000000
|
||||
0.270595 0.214069 0.507052 1.000000
|
||||
0.269308 0.218818 0.509577 1.000000
|
||||
0.267968 0.223549 0.512008 1.000000
|
||||
0.266580 0.228262 0.514349 1.000000
|
||||
0.265145 0.232956 0.516599 1.000000
|
||||
0.263663 0.237631 0.518762 1.000000
|
||||
0.262138 0.242286 0.520837 1.000000
|
||||
0.260571 0.246922 0.522828 1.000000
|
||||
0.258965 0.251537 0.524736 1.000000
|
||||
0.257322 0.256130 0.526563 1.000000
|
||||
0.255645 0.260703 0.528312 1.000000
|
||||
0.253935 0.265254 0.529983 1.000000
|
||||
0.252194 0.269783 0.531579 1.000000
|
||||
0.250425 0.274290 0.533103 1.000000
|
||||
0.248629 0.278775 0.534556 1.000000
|
||||
0.246811 0.283237 0.535941 1.000000
|
||||
0.244972 0.287675 0.537260 1.000000
|
||||
0.243113 0.292092 0.538516 1.000000
|
||||
0.241237 0.296485 0.539709 1.000000
|
||||
0.239346 0.300855 0.540844 1.000000
|
||||
0.237441 0.305202 0.541921 1.000000
|
||||
0.235526 0.309527 0.542944 1.000000
|
||||
0.233603 0.313828 0.543914 1.000000
|
||||
0.231674 0.318106 0.544834 1.000000
|
||||
0.229739 0.322361 0.545706 1.000000
|
||||
0.227802 0.326594 0.546532 1.000000
|
||||
0.225863 0.330805 0.547314 1.000000
|
||||
0.223925 0.334994 0.548053 1.000000
|
||||
0.221989 0.339161 0.548752 1.000000
|
||||
0.220057 0.343307 0.549413 1.000000
|
||||
0.218130 0.347432 0.550038 1.000000
|
||||
0.216210 0.351535 0.550627 1.000000
|
||||
0.214298 0.355619 0.551184 1.000000
|
||||
0.212395 0.359683 0.551710 1.000000
|
||||
0.210503 0.363727 0.552206 1.000000
|
||||
0.208623 0.367752 0.552675 1.000000
|
||||
0.206756 0.371758 0.553117 1.000000
|
||||
0.204903 0.375746 0.553533 1.000000
|
||||
0.203063 0.379716 0.553925 1.000000
|
||||
0.201239 0.383670 0.554294 1.000000
|
||||
0.199430 0.387607 0.554642 1.000000
|
||||
0.197636 0.391528 0.554969 1.000000
|
||||
0.195860 0.395433 0.555276 1.000000
|
||||
0.194100 0.399323 0.555565 1.000000
|
||||
0.192357 0.403199 0.555836 1.000000
|
||||
0.190631 0.407061 0.556089 1.000000
|
||||
0.188923 0.410910 0.556326 1.000000
|
||||
0.187231 0.414746 0.556547 1.000000
|
||||
0.185556 0.418570 0.556753 1.000000
|
||||
0.183898 0.422383 0.556944 1.000000
|
||||
0.182256 0.426184 0.557120 1.000000
|
||||
0.180629 0.429975 0.557282 1.000000
|
||||
0.179019 0.433756 0.557430 1.000000
|
||||
0.177423 0.437527 0.557565 1.000000
|
||||
0.175841 0.441290 0.557685 1.000000
|
||||
0.174274 0.445044 0.557792 1.000000
|
||||
0.172719 0.448791 0.557885 1.000000
|
||||
0.171176 0.452530 0.557965 1.000000
|
||||
0.169646 0.456262 0.558030 1.000000
|
||||
0.168126 0.459988 0.558082 1.000000
|
||||
0.166617 0.463708 0.558119 1.000000
|
||||
0.165117 0.467423 0.558141 1.000000
|
||||
0.163625 0.471133 0.558148 1.000000
|
||||
0.162142 0.474838 0.558140 1.000000
|
||||
0.160665 0.478540 0.558115 1.000000
|
||||
0.159194 0.482237 0.558073 1.000000
|
||||
0.157729 0.485932 0.558013 1.000000
|
||||
0.156270 0.489624 0.557936 1.000000
|
||||
0.154815 0.493313 0.557840 1.000000
|
||||
0.153364 0.497000 0.557724 1.000000
|
||||
0.151918 0.500685 0.557587 1.000000
|
||||
0.150476 0.504369 0.557430 1.000000
|
||||
0.149039 0.508051 0.557250 1.000000
|
||||
0.147607 0.511733 0.557049 1.000000
|
||||
0.146180 0.515413 0.556823 1.000000
|
||||
0.144759 0.519093 0.556572 1.000000
|
||||
0.143343 0.522773 0.556295 1.000000
|
||||
0.141935 0.526453 0.555991 1.000000
|
||||
0.140536 0.530132 0.555659 1.000000
|
||||
0.139147 0.533812 0.555298 1.000000
|
||||
0.137770 0.537492 0.554906 1.000000
|
||||
0.136408 0.541173 0.554483 1.000000
|
||||
0.135066 0.544853 0.554029 1.000000
|
||||
0.133743 0.548535 0.553541 1.000000
|
||||
0.132444 0.552216 0.553018 1.000000
|
||||
0.131172 0.555899 0.552459 1.000000
|
||||
0.129933 0.559582 0.551864 1.000000
|
||||
0.128729 0.563265 0.551229 1.000000
|
||||
0.127568 0.566949 0.550556 1.000000
|
||||
0.126453 0.570633 0.549841 1.000000
|
||||
0.125394 0.574318 0.549086 1.000000
|
||||
0.124395 0.578002 0.548287 1.000000
|
||||
0.123463 0.581687 0.547445 1.000000
|
||||
0.122606 0.585371 0.546557 1.000000
|
||||
0.121831 0.589055 0.545623 1.000000
|
||||
0.121148 0.592739 0.544641 1.000000
|
||||
0.120565 0.596422 0.543611 1.000000
|
||||
0.120092 0.600104 0.542530 1.000000
|
||||
0.119738 0.603785 0.541400 1.000000
|
||||
0.119512 0.607464 0.540218 1.000000
|
||||
0.119423 0.611141 0.538982 1.000000
|
||||
0.119483 0.614817 0.537692 1.000000
|
||||
0.119699 0.618490 0.536347 1.000000
|
||||
0.120081 0.622161 0.534946 1.000000
|
||||
0.120638 0.625828 0.533488 1.000000
|
||||
0.121380 0.629492 0.531973 1.000000
|
||||
0.122312 0.633153 0.530398 1.000000
|
||||
0.123444 0.636809 0.528763 1.000000
|
||||
0.124780 0.640461 0.527068 1.000000
|
||||
0.126326 0.644107 0.525311 1.000000
|
||||
0.128087 0.647749 0.523491 1.000000
|
||||
0.130067 0.651384 0.521608 1.000000
|
||||
0.132268 0.655014 0.519661 1.000000
|
||||
0.134692 0.658636 0.517649 1.000000
|
||||
0.137339 0.662252 0.515571 1.000000
|
||||
0.140210 0.665859 0.513427 1.000000
|
||||
0.143303 0.669459 0.511215 1.000000
|
||||
0.146616 0.673050 0.508936 1.000000
|
||||
0.150148 0.676631 0.506589 1.000000
|
||||
0.153894 0.680203 0.504172 1.000000
|
||||
0.157851 0.683765 0.501686 1.000000
|
||||
0.162016 0.687316 0.499129 1.000000
|
||||
0.166383 0.690856 0.496502 1.000000
|
||||
0.170948 0.694384 0.493803 1.000000
|
||||
0.175707 0.697900 0.491033 1.000000
|
||||
0.180653 0.701402 0.488189 1.000000
|
||||
0.185783 0.704891 0.485273 1.000000
|
||||
0.191090 0.708366 0.482284 1.000000
|
||||
0.196571 0.711827 0.479221 1.000000
|
||||
0.202219 0.715272 0.476084 1.000000
|
||||
0.208030 0.718701 0.472873 1.000000
|
||||
0.214000 0.722114 0.469588 1.000000
|
||||
0.220124 0.725509 0.466226 1.000000
|
||||
0.226397 0.728888 0.462789 1.000000
|
||||
0.232815 0.732247 0.459277 1.000000
|
||||
0.239374 0.735588 0.455688 1.000000
|
||||
0.246070 0.738910 0.452024 1.000000
|
||||
0.252899 0.742211 0.448284 1.000000
|
||||
0.259857 0.745492 0.444467 1.000000
|
||||
0.266941 0.748751 0.440573 1.000000
|
||||
0.274149 0.751988 0.436601 1.000000
|
||||
0.281477 0.755203 0.432552 1.000000
|
||||
0.288921 0.758394 0.428426 1.000000
|
||||
0.296479 0.761561 0.424223 1.000000
|
||||
0.304148 0.764704 0.419943 1.000000
|
||||
0.311925 0.767822 0.415586 1.000000
|
||||
0.319809 0.770914 0.411152 1.000000
|
||||
0.327796 0.773980 0.406640 1.000000
|
||||
0.335885 0.777018 0.402049 1.000000
|
||||
0.344074 0.780029 0.397381 1.000000
|
||||
0.352360 0.783011 0.392636 1.000000
|
||||
0.360741 0.785964 0.387814 1.000000
|
||||
0.369214 0.788888 0.382914 1.000000
|
||||
0.377779 0.791781 0.377939 1.000000
|
||||
0.386433 0.794644 0.372886 1.000000
|
||||
0.395174 0.797475 0.367757 1.000000
|
||||
0.404001 0.800275 0.362552 1.000000
|
||||
0.412913 0.803041 0.357269 1.000000
|
||||
0.421908 0.805774 0.351910 1.000000
|
||||
0.430983 0.808473 0.346476 1.000000
|
||||
0.440137 0.811138 0.340967 1.000000
|
||||
0.449368 0.813768 0.335384 1.000000
|
||||
0.458674 0.816363 0.329727 1.000000
|
||||
0.468053 0.818921 0.323998 1.000000
|
||||
0.477504 0.821444 0.318195 1.000000
|
||||
0.487026 0.823929 0.312321 1.000000
|
||||
0.496615 0.826376 0.306377 1.000000
|
||||
0.506271 0.828786 0.300362 1.000000
|
||||
0.515992 0.831158 0.294279 1.000000
|
||||
0.525776 0.833491 0.288127 1.000000
|
||||
0.535621 0.835785 0.281908 1.000000
|
||||
0.545524 0.838039 0.275626 1.000000
|
||||
0.555484 0.840254 0.269281 1.000000
|
||||
0.565498 0.842430 0.262877 1.000000
|
||||
0.575563 0.844566 0.256415 1.000000
|
||||
0.585678 0.846661 0.249897 1.000000
|
||||
0.595839 0.848717 0.243329 1.000000
|
||||
0.606045 0.850733 0.236712 1.000000
|
||||
0.616293 0.852709 0.230052 1.000000
|
||||
0.626579 0.854645 0.223353 1.000000
|
||||
0.636902 0.856542 0.216620 1.000000
|
||||
0.647257 0.858400 0.209861 1.000000
|
||||
0.657642 0.860219 0.203082 1.000000
|
||||
0.668054 0.861999 0.196293 1.000000
|
||||
0.678489 0.863742 0.189503 1.000000
|
||||
0.688944 0.865448 0.182725 1.000000
|
||||
0.699415 0.867117 0.175971 1.000000
|
||||
0.709898 0.868751 0.169257 1.000000
|
||||
0.720391 0.870350 0.162603 1.000000
|
||||
0.730889 0.871916 0.156029 1.000000
|
||||
0.741388 0.873449 0.149561 1.000000
|
||||
0.751884 0.874951 0.143228 1.000000
|
||||
0.762373 0.876424 0.137064 1.000000
|
||||
0.772852 0.877868 0.131109 1.000000
|
||||
0.783315 0.879285 0.125405 1.000000
|
||||
0.793760 0.880678 0.120005 1.000000
|
||||
0.804182 0.882046 0.114965 1.000000
|
||||
0.814576 0.883393 0.110347 1.000000
|
||||
0.824940 0.884720 0.106217 1.000000
|
||||
0.835270 0.886029 0.102646 1.000000
|
||||
0.845561 0.887322 0.099702 1.000000
|
||||
0.855810 0.888601 0.097452 1.000000
|
||||
0.866013 0.889868 0.095953 1.000000
|
||||
0.876168 0.891125 0.095250 1.000000
|
||||
0.886271 0.892374 0.095374 1.000000
|
||||
0.896320 0.893616 0.096335 1.000000
|
||||
0.906311 0.894855 0.098125 1.000000
|
||||
0.916242 0.896091 0.100717 1.000000
|
||||
0.926106 0.897330 0.104071 1.000000
|
||||
0.935904 0.898570 0.108131 1.000000
|
||||
0.945636 0.899815 0.112838 1.000000
|
||||
0.955300 0.901065 0.118128 1.000000
|
||||
0.964894 0.902323 0.123941 1.000000
|
||||
0.974417 0.903590 0.130215 1.000000
|
||||
0.983868 0.904867 0.136897 1.000000
|
||||
0.993248 0.906157 0.143936 1.000000
|
||||
@@ -9,26 +9,33 @@ local speck = asset.resource({
|
||||
Name = "2dF Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_2dF_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "2dF",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 1.0,
|
||||
File = speck .. "2dF.speck",
|
||||
Unit = "Mpc",
|
||||
Texture = textures .. "point3A.png",
|
||||
ColorMap = speck .. "2dF.cmap",
|
||||
ColorOption = { "redshift", "proximity" },
|
||||
ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
|
||||
ScaleFactor = 520.0,
|
||||
BillboardMinMaxSize = { 0.0, 4.7 },
|
||||
EnablePixelSizeControl = true
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = speck .. "2dF.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "proximity", Range = { 1.0, 25.0 } },
|
||||
{ Key = "redshift", Range = { 0.0, 0.075 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 22.6,
|
||||
MaxPixelSize = 4.7,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "2dF Galaxies",
|
||||
@@ -64,7 +71,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "2dF Galaxies",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for the The Two-degree Field (2dF) Survey",
|
||||
Author = "Brian Abbott (AMNH), Eric Gawiser (Rutgers U)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,28 +9,34 @@ local speck = asset.resource({
|
||||
Name = "2MASS Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_2mass_speck",
|
||||
Version = 1
|
||||
Version = 2
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "2MASS",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Color = { 1.0, 0.4, 0.2 },
|
||||
Opacity = 1.0,
|
||||
File = speck .. "2MASS.speck",
|
||||
Unit = "Mpc",
|
||||
Texture = textures .. "point3A.png",
|
||||
ColorMap = speck .. "lss.cmap",
|
||||
ColorOption = { "redshift", "prox5Mpc" },
|
||||
ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
|
||||
CorrectionSizeEndDistance = 20.6,
|
||||
CorrectionSizeFactor = 15.0,
|
||||
ScaleFactor = 510.78,
|
||||
BillboardMinMaxSize = { 0.0, 11.15 },
|
||||
EnablePixelSizeControl = true
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.4, 0.2 },
|
||||
ColorMapping = {
|
||||
File = speck .. "lss.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "prox5Mpc", Range = { 1.0, 50.0 } },
|
||||
{ Key = "redshift", Range = { 0.0, 0.075 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 22.5,
|
||||
MaxPixelSize = 11.15,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "2MASS Galaxies",
|
||||
@@ -60,7 +66,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "2MASS Galaxies",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for the Two Micron All-Sky Survey (2MASS) survey",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,26 +9,34 @@ local speck = asset.resource({
|
||||
Name = "6dF Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_6dF_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "6dF",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Color = { 1.0, 1.0, 0.0 },
|
||||
Opacity = 1.0,
|
||||
File = speck .. "6dF.speck",
|
||||
Unit = "Mpc",
|
||||
Texture = textures .. "point3A.png",
|
||||
ColorMap = speck .. "6dF.cmap",
|
||||
ColorOption = { "redshift", "proximity" },
|
||||
ColorRange = { { 0.0, 0.075 }, { 1.0, 10.0 } },
|
||||
ScaleFactor = 534.0,
|
||||
BillboardMinMaxSize = { 0.0, 9.0 },
|
||||
EnablePixelSizeControl = true
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 1.0, 0.0 },
|
||||
ColorMapping = {
|
||||
File = speck .. "6dF.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "proximity", Range = { 1.0, 10.0 } },
|
||||
{ Key = "redshift", Range = { 0.0, 0.075 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 23.2,
|
||||
MaxPixelSize = 9.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "6dF Galaxies",
|
||||
@@ -62,7 +70,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "6dF Galaxies",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for The Six-degree Field (6dF) Galaxy Survey",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,7 +9,7 @@ local speck = asset.resource({
|
||||
Name = "Abell Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_abell_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ local TransformMatrix = {
|
||||
local Object = {
|
||||
Identifier = "Abell",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "abell.label",
|
||||
@@ -34,16 +34,20 @@ local Object = {
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
Color = { 1.0, 0.4, 0.2 },
|
||||
Opacity = 1.0,
|
||||
--ColorMap = speck .. "abell.cmap",
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.4, 0.2 },
|
||||
--ColorMap = speck .. "abell.cmap", -- TODO: Decide whether to add
|
||||
},
|
||||
File = speck .. "abell.speck",
|
||||
Texture = textures .. "point3A.png",
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix,
|
||||
ScaleFactor = 520.0,
|
||||
BillboardMinMaxSize = { 0.0, 7.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 22.6,
|
||||
MaxPixelSize = 7.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Abell Galaxy Clusters",
|
||||
@@ -78,7 +82,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Abell Galaxy Clusters",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for The Abell catalog",
|
||||
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,7 +9,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "StarLabelsAlternate",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -19,7 +19,6 @@ local Object = {
|
||||
MinMaxSize = { 6, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "pc"
|
||||
},
|
||||
@@ -51,7 +50,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Stars Labels - Alternate",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for alternate start labels",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local TransformMatrix = {
|
||||
local Object = {
|
||||
Identifier = "GalaxyClusterLabels",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -27,7 +27,6 @@ local Object = {
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
@@ -58,7 +57,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Galaxy Clusters Labels",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for Galaxy Clusters",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local DeepSkyObjects = {
|
||||
Identifier = "DeepSkyObjects",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "dso.label",
|
||||
@@ -25,22 +25,19 @@ local DeepSkyObjects = {
|
||||
MinMaxSize = { 16, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 0.0 },
|
||||
Opacity = 0.99,
|
||||
ScaleFactor = 500.0,
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 1.0, 0.0 }
|
||||
},
|
||||
File = speck .. "dso.speck",
|
||||
Texture = textures .. "point3.png",
|
||||
--ColorMap = speck .. "tully.cmap",
|
||||
--ColorMap = speck .. "lss.cmap",
|
||||
--ColorOption = { "proximity" },
|
||||
--ColorOption = { "prox5Mpc" },
|
||||
--ColorRange = { { 1.0, 30.0 } },
|
||||
Unit = "pc",
|
||||
--FadeInDistances = { 0.05, 1.0 }, -- Fade in value in the same unit as "Unit"
|
||||
BillboardMinMaxSize = { 0.0, 8.22 }, -- in pixels
|
||||
--CorrectionSizeEndDistance = 22.0,
|
||||
--CorrectionSizeFactor = 10.45
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 21.7,
|
||||
MaxPixelSize = 8.22,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
Transform = {
|
||||
Rotation = {
|
||||
@@ -112,7 +109,7 @@ asset.export(DeepSkyObjectsImages)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Deep Sky Objects Images",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for Deep Sky Objects and their Images",
|
||||
Author = "Nate Greenstein, Matt Everhart, Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,14 +9,14 @@ local speck = asset.resource({
|
||||
Name = "Brown Dwarf Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_dwarfs_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "Dwarfs",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "dwarfs.label",
|
||||
@@ -25,19 +25,24 @@ local Object = {
|
||||
MinMaxSize = { 10, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.4, 0.0, 0.1 },
|
||||
Opacity = 1.0,
|
||||
File = speck .. "dwarfs.speck",
|
||||
Texture = textures .. "point3.png",
|
||||
Unit = "pc",
|
||||
ColorMap = speck .. "dwarfs.cmap",
|
||||
ColorOption = { "typeindex" },
|
||||
--ColorRange = { { 1.0, 4.0} },
|
||||
ScaleFactor = 372.1,
|
||||
--CorrectionSizeEndDistance = 16.1,
|
||||
--CorrectionSizeFactor = 7.75,
|
||||
BillboardMinMaxSize = { 0.0, 20.0 },
|
||||
EnablePixelSizeControl = true
|
||||
Coloring = {
|
||||
FixedColor = { 0.4, 0.0, 0.1 },
|
||||
ColorMapping = {
|
||||
File = speck .. "dwarfs.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "typeindex", Range = { 1.0, 4.0 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 16.2,
|
||||
MaxPixelSize = 20.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Brown Dwarfs",
|
||||
@@ -77,7 +82,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Brown Dwarfs",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Brown Dwarfs",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "Exoplanets",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "expl.label",
|
||||
@@ -25,16 +25,15 @@ local Object = {
|
||||
MinMaxSize = { 10, 100 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 1.0,
|
||||
Texture = textures .. "target-blue.png",
|
||||
File = speck .. "expl.speck",
|
||||
Unit = "pc",
|
||||
ScaleFactor = 388.67923,
|
||||
CorrectionSizeEndDistance = 15.23,
|
||||
CorrectionSizeFactor = 13.3,
|
||||
BillboardMinMaxSize = { 0.0, 75.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 16.9,
|
||||
MaxPixelSize = 75.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Exoplanets",
|
||||
@@ -64,7 +63,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Exoplanets",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for Exoplanets",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,18 +16,20 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "PlanetaryCandidates",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Color = { 1.0, 1.0, 0.0 },
|
||||
Opacity = 0.99,
|
||||
ScaleFactor = 410.0,
|
||||
File = speck .. "exoplanet_candidates.speck",
|
||||
Unit = "pc",
|
||||
Texture = textures .. "halo.png",
|
||||
CorrectionSizeEndDistance = 15.86,
|
||||
CorrectionSizeFactor = 8.59,
|
||||
BillboardMinMaxSize = { 0.0, 30.0 },
|
||||
EnablePixelSizeControl = true
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 1.0, 0.0 }
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 17.8,
|
||||
MaxPixelSize = 30.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Planetary Candidates",
|
||||
@@ -60,7 +62,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Planetary Candidates",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Planetary Candidates",
|
||||
Author = "Brian Abbott, Emily Rice, and Jason No (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "GlobularClusters",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "gc.label",
|
||||
@@ -25,15 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.8, 0.8, 0.0 },
|
||||
Coloring = {
|
||||
FixedColor = { 0.8, 0.8, 0.0 }
|
||||
},
|
||||
Opacity = 0.4,
|
||||
File = speck .. "gc.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 5,
|
||||
Unit = "pc",
|
||||
ScaleFactor = 431.0,
|
||||
BillboardMinMaxSize = { 0.0, 500.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 18.7,
|
||||
MaxPixelSize = 500.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Globular Clusters",
|
||||
@@ -69,7 +72,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Globular Clusters",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star clusters
|
||||
are gravitationally bound groups of 100,000 to 1 million stars. They are compact,
|
||||
spherical "balls" of stars with very high stellar densities in their centers (stars
|
||||
|
||||
@@ -126,7 +126,7 @@ local EclipticSphereLabels = {
|
||||
Identifier = "EclipticSphereLabels",
|
||||
Parent = transforms.SolarSystemBarycenter.Name,
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -137,7 +137,6 @@ local EclipticSphereLabels = {
|
||||
Unit = "pc",
|
||||
TransformationMatrix = EclipticTransformationMatrix
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "pc",
|
||||
TransformationMatrix = EclipticTransformationMatrix
|
||||
@@ -178,7 +177,7 @@ local EquatorialSphereLabels = {
|
||||
Identifier = "EquatorialSphereLabels",
|
||||
Parent = transforms.SolarSystemBarycenter.Name,
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -189,7 +188,6 @@ local EquatorialSphereLabels = {
|
||||
Unit = "pc",
|
||||
TransformationMatrix = EquatorialTransformationMatrix
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "pc",
|
||||
TransformationMatrix = EquatorialTransformationMatrix
|
||||
@@ -226,7 +224,7 @@ local GalacticSphereLabels = {
|
||||
Identifier = "GalacticSphereLabels",
|
||||
Parent = transforms.SolarSystemBarycenter.Name,
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -236,7 +234,6 @@ local GalacticSphereLabels = {
|
||||
MinMaxSize = { 1, 100 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "pc"
|
||||
},
|
||||
@@ -699,7 +696,7 @@ asset.export(Plane20Gly)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Grids",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = [[Various grids for showing size reference. Included: 10,000 light year
|
||||
grid, 10 light year grid, 20 billion light year grid, 10 million light year grid,
|
||||
100 light year grid, 100 million light year grid, Ecliptic Coordinate Sphere
|
||||
|
||||
@@ -16,7 +16,7 @@ local TransformMatrix = {
|
||||
local Object = {
|
||||
Identifier = "NearbyGalaxyGroups",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -27,9 +27,7 @@ local Object = {
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
--ScaleFactor = 10.0,
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
@@ -58,7 +56,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Galaxy Group Labels",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
Description = "Digital Universe asset for Galaxy Groups",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "HIIRegions",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "h2.label",
|
||||
@@ -25,15 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.0, 0.5, 1.0 },
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 0.5, 1.0 }
|
||||
},
|
||||
Opacity = 0.70,
|
||||
File = speck .. "h2.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 6,
|
||||
Unit = "pc",
|
||||
ScaleFactor = 420.0,
|
||||
BillboardMinMaxSize = { 0.0, 300.0 },
|
||||
EnablePixelSizeControl = false
|
||||
SizeSettings = {
|
||||
ScaleExponent = 18.24,
|
||||
MaxPixelSize = 300.0,
|
||||
EnablePixelSizeControl = false
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "HII Regions",
|
||||
@@ -67,7 +70,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "HII Regions",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Digital Universe asset for HII Regions",
|
||||
Author = "Carter Emmart, Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -23,19 +23,26 @@ local ColorMap = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "HubbleDeepField",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 1.0,
|
||||
File = HUDFSpeck .. "hudf.speck",
|
||||
Texture = circle .. "circle.png",
|
||||
ColorMap = ColorMap .. "hudf.cmap",
|
||||
ColorOption = { "redshift", "proximity" },
|
||||
ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = ColorMap .. "hudf.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "proximity", Range = { 1.0, 25.0 } },
|
||||
{ Key = "redshift", Range = { 0.0, 0.075 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
Unit = "Mpc",
|
||||
ScaleFactor = 505.0,
|
||||
BillboardMaxSize = 4.7,
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 21.9,
|
||||
MaxPixelSize = 4.7,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Hubble Deep Field",
|
||||
@@ -62,7 +69,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Hubble Ultra Deep Field",
|
||||
Version = "1.2",
|
||||
Version = "2.0",
|
||||
Description = "Hubble Ultra Deep Field galaxy survey",
|
||||
Author = "Frank Summers (STScI), Brian Abbott (AMNH)",
|
||||
URL = "http://www.haydenplanetarium.org/universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "LocalDwarfGalaxies",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "localgroup.label",
|
||||
@@ -25,17 +25,29 @@ local Object = {
|
||||
MinMaxSize = { 7, 20 },
|
||||
Unit = "Mpc"
|
||||
},
|
||||
Color = { 0.5, 1.0, 0.2 },
|
||||
ColorMap = speck .. "localgroup.cmap",
|
||||
ColorOption = { "association" },
|
||||
Coloring = {
|
||||
FixedColor = { 0.0, 1.0, 0.0 },
|
||||
-- @TODO: This one wasn't actually properly used before the point cloud update.
|
||||
-- All points were mapped to green. Decide if we want it around.
|
||||
-- @TODO: Also, the cmap is currently not applied correctly, due to speck file
|
||||
-- not being read properly (it inlcudes more information than just datavar-s).
|
||||
-- This should be adressed. (2023-12-13, emmbr)
|
||||
ColorMapping = {
|
||||
File = speck .. "localgroup.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "association" }
|
||||
}
|
||||
}
|
||||
},
|
||||
Opacity = 0.3,
|
||||
File = speck .. "localgroup.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 12,
|
||||
Unit = "Mpc",
|
||||
ScaleFactor = 465.0,
|
||||
BillboardMinMaxSize = { 0.0, 20.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 20.2,
|
||||
MaxPixelSize = 20.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Local Group",
|
||||
@@ -69,7 +81,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Local Group",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for the Local Goup",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local TransformMatrix = {
|
||||
local HomeLabel = {
|
||||
Identifier = "HomeLabel",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -26,15 +26,7 @@ local HomeLabel = {
|
||||
MinMaxSize = { 16, 20 },
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
Color = { 1.0, 0.4, 0.2 },
|
||||
Opacity = 0.99,
|
||||
ScaleFactor = 500.0,
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix,
|
||||
FadeInDistances = { 0.05, 1.0 },
|
||||
BillboardMinMaxSize = { 0.0, 8.22 },
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Home Label",
|
||||
@@ -58,7 +50,7 @@ asset.export(HomeLabel)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Home Label",
|
||||
Version = "1.1",
|
||||
Version = "2.0",
|
||||
Description = "Label for the Milky Way titled 'Home', sided for the galactic level",
|
||||
Author = "OpenSpace Team",
|
||||
URL = "http://openspaceproject.com",
|
||||
|
||||
@@ -9,14 +9,14 @@ local speck = asset.resource({
|
||||
Name = "OB Associations Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_obassociations_speck",
|
||||
Version = 3
|
||||
Version = 4
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "OBAssociations",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "ob.label",
|
||||
@@ -25,19 +25,25 @@ local Object = {
|
||||
MinMaxSize = { 4, 25 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
ColorMap = speck .. "ob.cmap",
|
||||
ColorOption = { "arm" },
|
||||
SizeOption = { "diameter" },
|
||||
ExactColorMap = true,
|
||||
Coloring = {
|
||||
ColorMapping = {
|
||||
File = speck .. "ob.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "arm" }
|
||||
}
|
||||
}
|
||||
},
|
||||
Opacity = 0.7,
|
||||
File = speck .. "ob.speck",
|
||||
Unit = "pc",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 7,
|
||||
ScaleFactor = 390.0,
|
||||
BillboardMinMaxSize = { 0.0, 450.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
SizeMapping = { "diameter" },
|
||||
ScaleExponent = 16.9,
|
||||
MaxPixelSize = 450.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "OB Associations",
|
||||
@@ -71,7 +77,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "OB Associations",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for OB Associations",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "OpenStarClusters",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "oc.label",
|
||||
@@ -25,15 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 30 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.1, 0.8, 0.4 },
|
||||
Coloring = {
|
||||
FixedColor = { 0.1, 0.8, 0.4 }
|
||||
},
|
||||
Opacity = 0.5,
|
||||
File = speck .. "oc.speck",
|
||||
Unit = "pc",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 12,
|
||||
ScaleFactor = 405.75,
|
||||
BillboardMinMaxSize = { 0.0, 604.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 17.6,
|
||||
MaxPixelSize = 604.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Open Star Clusters",
|
||||
@@ -68,7 +71,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Open Star Clusters",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Open Star Clusters",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "PlanetaryNebulae",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "pn.label",
|
||||
@@ -25,15 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 25 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.4, 0.4, 0.9 },
|
||||
Coloring = {
|
||||
FixedColor = { 0.4, 0.4, 0.9 }
|
||||
},
|
||||
Opacity = 0.65,
|
||||
File = speck .. "pn.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 3,
|
||||
Unit = "pc",
|
||||
ScaleFactor = 425.0,
|
||||
BillboardMinMaxSize = { 0.0, 500.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 18.46,
|
||||
MaxPixelSize = 500.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Planetary Nebulae",
|
||||
@@ -64,7 +67,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Planetary Nebulae",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Planetary Nebulae",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "Pulsars",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "pulsar.label",
|
||||
@@ -25,15 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 20 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 0.7, 0.0, 0.0 },
|
||||
Coloring = {
|
||||
FixedColor = { 0.7, 0.0, 0.0 }
|
||||
},
|
||||
Opacity = 1.0,
|
||||
File = speck .. "pulsar.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 4,
|
||||
Unit = "pc",
|
||||
ScaleFactor = 424.0,
|
||||
BillboardMinMaxSize = { 0.0, 500.0 },
|
||||
EnablePixelSizeControl = false
|
||||
SizeSettings = {
|
||||
ScaleExponent = 18.4,
|
||||
MaxPixelSize = 500.0,
|
||||
EnablePixelSizeControl = false
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Pulsars",
|
||||
@@ -68,7 +71,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Pulsars",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Pulsars",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -23,21 +23,32 @@ local colormaps = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "Quasars",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = true,
|
||||
Color = { 1.0, 0.4, 0.2 },
|
||||
Opacity = 0.95,
|
||||
File = speck .. "quasars.speck",
|
||||
Texture = textures .. "point3A.png",
|
||||
Unit = "Mpc",
|
||||
ScaleFactor = 540.9,
|
||||
FadeInDistances = { 1000.0, 10000.0 }, -- Fade in value in the same unit as "Unit"
|
||||
BillboardMinMaxSize = { 0.0, 11.1 },
|
||||
EnablePixelSizeControl = true,
|
||||
ColorMap = colormaps .. "viridis.cmap",
|
||||
ColorOption = { "redshift", "Tlookback", "distMpc" },
|
||||
ColorRange = { { 0.102, 7.085 }, { 1.4, 13.0 }, { 440.5, 8852.099609 } },
|
||||
UseColorMap = false
|
||||
Fading = {
|
||||
FadeInDistances = { 1000.0, 10000.0 } -- Fade in value in the same unit as "Unit"
|
||||
},
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.4, 0.2 },
|
||||
ColorMapping = {
|
||||
Enabled = false,
|
||||
File = colormaps .. "viridis.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "distMpc", Range = { 440.5, 8852.099609 } },
|
||||
{ Key = "redshift", Range = { 0.102, 7.085 } },
|
||||
{ Key = "Tlookback", Range = { 1.4, 13.0 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 23.5,
|
||||
MaxPixelSize = 11.1,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Quasars",
|
||||
@@ -68,7 +79,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Quasars",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Quasars",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,31 +9,37 @@ local speck = asset.resource({
|
||||
Name = "Sloan Digital Sky Survey Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_sloandss_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
local Object = {
|
||||
Identifier = "SloanDigitalSkySurvey",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = true,
|
||||
Color = { 0.8, 0.8, 1.0 },
|
||||
Opacity = 0.8,
|
||||
ScaleFactor = 520.0,
|
||||
File = speck .. "SDSSgals.speck",
|
||||
ColorMap = speck .. "SDSSgals.cmap",
|
||||
ColorOption = { "redshift", "proximity" },
|
||||
ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
|
||||
Coloring = {
|
||||
FixedColor = { 0.8, 0.8, 1.0 },
|
||||
ColorMapping = {
|
||||
File = speck .. "SDSSgals.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "proximity", Range = { 1.0, 50.0 } },
|
||||
{ Key = "redshift", Range = { 0.0, 0.075 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
Texture = textures .. "point3A.png",
|
||||
Unit = "Mpc",
|
||||
FadeInDistances = { 220.0, 650.0 }, -- Fade in value in the same unit as "Unit"
|
||||
BillboardMinMaxSize = { 0.0, 5.5 },
|
||||
CorrectionSizeEndDistance = 20.65,
|
||||
CorrectionSizeFactor = 10.41,
|
||||
TextSize = 14.8,
|
||||
TextMinMaxSize = { 10, 50 },
|
||||
EnablePixelSizeControl = true
|
||||
Fading = {
|
||||
FadeInDistances = { 220.0, 650.0 } -- Fade in value in the same unit as "Unit"
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 22.6,
|
||||
MaxPixelSize = 5.5,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Sloan Digital Sky Survey",
|
||||
@@ -71,7 +77,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Sloan Digital Sky Survey",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for The Sloan Digital Sky Survey (SDSS)",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,7 +9,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "StarsLabels",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -19,7 +19,6 @@ local Object = {
|
||||
MinMaxSize = { 6, 50 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "pc"
|
||||
},
|
||||
@@ -45,7 +44,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Star Labels",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for labels of the stars",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "GalaxySuperclusters",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -27,14 +27,15 @@ local Object = {
|
||||
Unit = "Mpc"
|
||||
},
|
||||
DrawElements = false,
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
File = speck .. "superclust.speck",
|
||||
Texture = textures .. "point3A.png",
|
||||
Unit = "Mpc",
|
||||
ScaleFactor = 531.0,
|
||||
-- BillboardMinMaxSize = { 0.0, 7.2 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 23.1,
|
||||
MaxPixelSize = 7.2,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Galaxy Superclusters",
|
||||
@@ -63,7 +64,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Galaxy Superclusters",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Galaxy Superclusters",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -16,7 +16,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "SupernovaRemnants",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePolygonCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
File = speck .. "snr.label",
|
||||
@@ -25,17 +25,18 @@ local Object = {
|
||||
MinMaxSize = { 4, 100 },
|
||||
Unit = "pc"
|
||||
},
|
||||
Color = { 1.0, 0.5, 0.0 },
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.5, 0.0 }
|
||||
},
|
||||
Opacity = 0.32,
|
||||
File = speck .. "snr.speck",
|
||||
Texture = textures .. "point4.png",
|
||||
PolygonSides = 7,
|
||||
Unit = "pc",
|
||||
ScaleFactor = 424.0,
|
||||
--CorrectionSizeEndDistance = 17.5,
|
||||
--CorrectionSizeFactor = 13.96,
|
||||
BillboardMinMaxSize = { 0.0, 500.0 },
|
||||
EnablePixelSizeControl = true
|
||||
SizeSettings = {
|
||||
ScaleExponent = 18.4,
|
||||
MaxPixelSize = 500.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Supernova Remnants",
|
||||
@@ -62,7 +63,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Supernova Remnants",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Description = "Digital Universe asset for Supernova Remnants",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
@@ -9,7 +9,7 @@ local speck = asset.resource({
|
||||
Name = "Tully Speck Files",
|
||||
Type = "HttpSynchronization",
|
||||
Identifier = "digitaluniverse_tully_speck",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ local TransformMatrix = {
|
||||
local TullyGalaxies = {
|
||||
Identifier = "TullyGalaxies",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = true,
|
||||
Labels = {
|
||||
File = speck .. "tully.label",
|
||||
@@ -33,23 +33,28 @@ local TullyGalaxies = {
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix
|
||||
},
|
||||
Color = { 1.0, 0.4, 0.2 },
|
||||
Opacity = 0.99,
|
||||
ScaleFactor = 504.0,
|
||||
File = speck .. "tully.speck",
|
||||
Texture = textures .. "point3A.png",
|
||||
--ColorMap = speck .. "tully.cmap",
|
||||
ColorMap = speck .. "lss.cmap",
|
||||
--ColorOption = { "proximity" },
|
||||
ColorOption = { "prox5Mpc" },
|
||||
ColorRange = { { 1.0, 30.0 } },
|
||||
Coloring = {
|
||||
FixedColor = { 1.0, 0.4, 0.2 },
|
||||
ColorMapping = {
|
||||
File = speck .. "lss.cmap",
|
||||
ParameterOptions = {
|
||||
{ Key = "prox5Mpc", Range = { 1.0, 30.0 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
Unit = "Mpc",
|
||||
TransformationMatrix = TransformMatrix,
|
||||
FadeInDistances = { 0.001, 1.0 }, -- Fade in value in the same unit as "Unit"
|
||||
BillboardMinMaxSize = { 0.0, 7.0 }, -- in pixels
|
||||
--CorrectionSizeEndDistance = 22.0,
|
||||
--CorrectionSizeFactor = 10.45
|
||||
EnablePixelSizeControl = true
|
||||
Fading = {
|
||||
FadeInDistances = { 0.001, 1.0 } -- Fade in value in the same unit as "Unit"
|
||||
},
|
||||
SizeSettings = {
|
||||
ScaleExponent = 21.9,
|
||||
MaxPixelSize = 7.0,
|
||||
EnablePixelSizeControl = true
|
||||
}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Tully Galaxies",
|
||||
@@ -125,7 +130,7 @@ asset.export(TullyGalaxiesImages)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Tully Galaxies",
|
||||
Version = "3.1",
|
||||
Version = "4.0",
|
||||
Description = [[Digital Universe asset for Tully Galaxies, including point cloud and
|
||||
images]],
|
||||
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
|
||||
|
||||
@@ -9,7 +9,7 @@ local speck = asset.resource({
|
||||
local Object = {
|
||||
Identifier = "Voids",
|
||||
Renderable = {
|
||||
Type = "RenderableBillboardsCloud",
|
||||
Type = "RenderablePointCloud",
|
||||
Enabled = false,
|
||||
Labels = {
|
||||
Enabled = true,
|
||||
@@ -20,7 +20,6 @@ local Object = {
|
||||
Unit = "Mpc"
|
||||
},
|
||||
DrawElements = false,
|
||||
Color = { 1.0, 1.0, 1.0 },
|
||||
Opacity = 0.65,
|
||||
Unit = "Mpc"
|
||||
},
|
||||
@@ -55,7 +54,7 @@ asset.export(Object)
|
||||
|
||||
asset.meta = {
|
||||
Name = "Voids",
|
||||
Version = "2.1",
|
||||
Version = "3.0",
|
||||
Author = "Brian Abbott (AMNH)",
|
||||
Description = "Digital Universe asset for Cosmic voids",
|
||||
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
||||
|
||||
Reference in New Issue
Block a user