XSG AI workflow example

Version 1.07


The following examples use a Perl control script.


Method

Extract the following files to a directory of your choice & invoke ./run.pl from a command prompt in that directory.

Use an AI of your choice to evolve demonstration .py examples.


Invoke run.pl with your evolved replacement.



Example 1 - Basic

.\run.pl -scene .\scene.py


Generates a cube object with a procedurally generated texture, two cube object instances, a light & a camera.




Example 2 - Scripting

.\run.pl -scene .\scene_program.py

Adds root scene script control to the scene generated previously. Requires XSG WASM SDK - details below.



Prerequisites

Blender 5.2 LTS, with XSG Exporter addon installed.

Anything generating XSG web assembly programs requires XSG WASM SDK available locally with its location registered.
Set environment variable XSG_WASM_SDK=path/to/wasm_sdk

Perl for scripting control - on Windows we recommend Strawberry Perl

Infinity 3D web browser.