We can add a number of visual objects to the 3D scene:
Asteroid provides a number of I/O objects for accessing sensor data or information from external programs. The data from these objects can be used to control the behavior of Scene Objects, or to use as input to a machine learning script.
To learn about using machine learning with Asteroid, check out our document on some of the available Python-based machine learning libraries
Click the "Scene/Graph Mode" toggle button in the toolbar at the top to switch to graph mode. This manages relationships between objects in the Asteroid scene. A relationship between two nodes means that the second node is synced to the value of the first node, every frame.
For example, if the Mac's camera output is connected to the input of an ML model, every frame the model will be fed a new still image.
Once we load the working folder, icons representing the files in the folder appear. Asteroid will try to create an object of the correct type (e.g. a mesh file will be added to the scene as a RenderObject).
Asteroid scenes can be exported into Xcode projects, which can be run as ARKit-ready apps on your iOS devices. In the top toolbar, select "Asteroid-> ARKitProjectGeneration" to copy all the assets and Swift scripts from your Asteroid scene into a generated Xcode project.
The other important part of Asteroid simulations are scripts. There are two major types of scripts; PreProcess, PostProcess or a Controller.
These scripts are written in Python. For more detailed information, check out the scripting guide
© 2018 by Asteroid. All rights reserved.