mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-08 04:31:08 -06:00
24 lines
586 B
Lua
24 lines
586 B
Lua
--[[ OpenSpace startup script ]]--
|
|
-- This Lua script get executed once at the start of the application
|
|
|
|
openspace.iswa.addCygnet("-1,Data,1");
|
|
openspace.iswa.addCygnet("-2,Data,1");
|
|
openspace.iswa.addCygnet("-3,Data,1");
|
|
|
|
openspace.registerScreenSpaceRenderable(
|
|
{
|
|
Type = "ScreenSpaceCygnet",
|
|
CygnetId = 7,
|
|
Position = {-0.8, 0.3},
|
|
FlatScreen = true,
|
|
Scale = 0.25,
|
|
});
|
|
|
|
openspace.registerScreenSpaceRenderable(
|
|
{
|
|
Type = "ScreenSpaceImage",
|
|
TexturePath = "${OPENSPACE_DATA}/test2.jpg",
|
|
Position = {0.8, -0.3},
|
|
FlatScreen = true,
|
|
Scale = 0.25,
|
|
}); |