------------------------- Sasami QUICK REFERENCE -----------------------------


-- SYNTAX --------------------------------------------------------------------

No semi-colons: line feeds are terminators

# UNIX shell style one-line comments

Whitespace and commas are command / parameter separators

Escaping to Eden: ` (back-tick) is a one-line escape to Eden.


-- COMMANDS ------------------------------------------------------------------

open_display
close_display

vertex <vertex name> <x> <y> [z]

polygon <polygon name>
poly_geom_vertex <polygon name> <vertex names>
poly_tex_vertex <polygon name> <vertex names>
poly_colour <polygon name> <r> <g> <b> [a]
poly_material <polygon name> <material name>

material <material name>
material_ambient <material name> <r> <g> <b> [a]  (ambient = in darkness)
material_diffuse <material name> <r> <g> <b> [a]  (diffuse = in normal light)
material_specular <material name> <r> <g> <b> [a] (specular = in direct light)
material_texture <material name> <texture name>

object <object name>
object_poly <object name> <polygon names>
object_pos <object name> <x> <y> <z>
object_rot <object name> <x> <y> <z>
object_scale <object name> <x> <y> <z>

light <light name>
light_pos <light name> <x> <y> <z>
light_enabled <light name> <light state>
light_directional <light name> <light state>
light_attenuation <light name> <attenuation factor>
light_ambient <light name> <r> <g> <b> [a]
light_diffuse <light name> <r> <g> <b> [a]
light_specular <light name> <r> <g> <b> [a]

load_full_obj <name prefix> <filename>
load_obj <name prefix> <filename> (loads only objects and materials into Eden)

bgcolour <r> <g> <b>

viewport <x size> <y size>


-- VARIABLES -----------------------------------------------------------------

sasami_viewport_xsize
sasami_viewport_ysize
sasami_viewport_bpp

sasami_bgcolour_r
sasami_bgcolour_g
sasami_bgcolour_b

sasami_show_axes


-- MORE INFORMATION ----------------------------------------------------------

See http://www.dcs.warwick.ac.uk/modelling/ for more detail.
