You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1.2.0] Trace player, weak links, and running Python script in GUI application
File version number has changed. Files saved with RaCo 1.1.2 cannot be opened by previous versions.
Added
Added ability to run Python scripts in the UI version.
Use the new command line argument "-r" to run Python scripts before the UI appears.
During UI usage, you can run Python scripts using the new dialog "File" -> "Run Script..."
Note that Python functions "load()" and "reset()" have been temporarily disabled for this particular use case as they are currently incompatible with scene switches in the UI.
Added TracePlayer
TracePlayer is used for simulation and debugging purposes, where a recorded, or manually defined, animation scenario in a RaCo trace file (.rctrace) can be loaded and played in the scene.
rctrace files are JSON based files that should contain so called frames of scene properties data in consecutive timestamps snapshots.
TracePlayer parses frames periodically based on RaCo application update time and updates the corresponding LuaScript or LuaInterface object(s) in the scene.
For more details with an example, see the TracePlayer section in the Ramses Composer documentation.
Added support for weak links. Weak links are ignored in the LogicEngine Lua dependency graph which determines the Lua execution order.
Weak links can be created in the UI when a loop would be created with a strong link.
Strong/weak links are indicated in the property browser by double/single left arrows next to the link menu button.
The Python API addLink received an additional argument to allow creating weak links.
Added "all file" filter for file dialogs that load files (e.g. URIs).
Changes
Changed "ramses-framework-arguments" ("-r") command line argument to "framework-arguments" ("-a").
Icons in read-only state (e.g. link icons of properties in the Property Browser) will retain their color now.
Removed lua script time_ms hack.
Fixes
Fixed incorrect update of PrefabInstance contents when loading a scene with a camera inside a PrefabInstance referenced by a RenderPass.