mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 00:44:43 -05:00
24 lines
677 B
Plaintext
24 lines
677 B
Plaintext
-- This asset requires OpenSpace to be built with the OPENSPACE_MODULE_SPOUT enabled
|
|
|
|
local assetHelper = asset.require("util/asset_helper")
|
|
|
|
local RenderablePointsCloud = {
|
|
Identifier = "RenderablePointsCloud",
|
|
Renderable = {
|
|
Type = "RenderablePointsCloud",
|
|
Color = {0.0, 0.0, 0.0},
|
|
Data = {{0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}},
|
|
Luminosity = {0.0, 0.0, 0.0}
|
|
Opacity = 0.0,
|
|
Size = 0
|
|
Velocity = {0.0, 0.0, 0.0}
|
|
},
|
|
GUI = {
|
|
Name = "Points Cloud",
|
|
Path = "/Examples"
|
|
}
|
|
}
|
|
|
|
local objects = { RenderablePointsCloud }
|
|
assetHelper.registerSceneGraphNodesAndExport(asset, objects)
|