Small Instantiation Language

The Small Instantiation Language, also known as SILLY is the scene description language supported by XSight Ray Tracer. SILLY is extremely... ehem... simple. SILLY clauses are translated and executed as C# classes constructor calls. Consider this clause:

Sphere(0, 0, 0, 1, plastic(red))

The previous clause, when executed, creates an instance of the Sphere class, as if this C# statement was executed:

IShape shape =
    new Sphere(0, 0, 0, 1,
        new Plastic(new Pixel(1, 0, 0)));

Classes recognized by SILLY are registered by the XSight RT Engine. However, you can extend SILLY by registering classes from your own assemblies, adding new shape, material and light source classes when needed.

You will find detailed information on SILLY in these topics:

See also

Home | XSight Ray Tracer overview | Basic syntax | Macros | Scenes | Predefined shapes | Materials | Using XSight's Ray Editor