-- Basic -- This example loads a model. -- Load the example model from OpenSpace servers -- If you want to use your own model, this block of code can be safely deleted local model = asset.resource({ Name = "Animated Box", Type = "HttpSynchronization", Identifier = "animated_box", Version = 1 }) local Node = { Identifier = "RenderableModel_Example", Renderable = { Type = "RenderableModel", GeometryFile = model .. "BoxAnimated.glb", -- Use the line below insted of the one above if you want to use your own model --GeometryFile = "C:/path/to/model.fbx", }, GUI = { Name = "RenderableModel - Basic", Path = "/Examples" } } asset.onInitialize(function() openspace.addSceneGraphNode(Node) end) asset.onDeinitialize(function() openspace.removeSceneGraphNode(Node) end) -- Model credit --[[ Author = Cesium, https://cesium.com/ URL = https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/BoxAnimated License = Creative Commons Attribution 4.0 International License, https://creativecommons.org/licenses/by/4.0/ ]]