First Steps: 3D / VFX / Game
3D / VFX / Game
Section titled “3D / VFX / Game”After selecting a 3D / VFX / Game product, the editor creates a standalone graph with a Start node. This node is the entry point that runs when you execute the graph locally with actrun.
Add more nodes
Section titled “Add more nodes”You can add more nodes from the toolbar on the left side of the canvas. In the example below, we have created a Run Script node that will print "Hello World!" to the console once we run the action graph.
Connect the two nodes by dragging a connection from the output port of the start node to the input port of the Run Script Node.
Save Graph
Section titled “Save Graph”You can now save the graph locally by clicking the save button **** button in the left panel. You can also press
Modern browsers such as Google Chrome
, Microsoft Edge
, and Opera
support a cool feature called File System Access API, which allows web applications to read from and write to a specific local file. Using this API, the graph editor can open a file, let you edit it, and save changes directly back to the same file. Access is of course strictly limited to files you explicitly open or save during the current browser session, and all permissions are revoked when the browser is closed.
Run the Graph
Section titled “Run the Graph”To run the graph yourself, you need to install the actrun CLI on the machine where the graph should run. See the Installation guide for download and setup instructions.
Once installed, run the graph with:
actrun ./my-action-graph.actThe output will be:
Hello World!Congratulations! You have successfully built and run your first action graph. 🎉