#
# Each model/object can be controlled with the following paramters
#
#-----------------------------------------------------------------------------
# for sphere
#
# "r"     : radius
# "tx"    : translate in x axis 
# "ty"    : translate in y axis
# "tz"    : translate in z axis
#
# "cr"    : red component of diffuss color (default is 1)
# "cg"    : green component of diffuss color (default is 1)
# "cb"    : blue component of diffuss color (default is 1)
# 
# "sr"    : red component of specular color (default is 1)
# "sg"    : green component of specular color (default is 1)
# "sb"    : blue component of specular color (default is 1)
# "shininess" : controls how shiny this model is (default is 128)
#
# "er"    : red component of emission color (default is 0)
# "eg"    : green component of emission color (default is 0)
# "eb"    : blue component of emission color (default is 0)
#
# "Tr"    : red component of Transparency color (default is 0)
# "Tg"    : green component of Transparency color (default is 0)
# "Tb"    : blue component of Transparency color (default is 0)
# "RI"    : refractive_index (default is 1)
#
# "Rr"    : red component of reflectiveness color (default is 0)
# "Rg"    : green component of reflectiveness color (default is 0)
# "Rb"    : blue component of reflectiveness color (default is 0)
#
# -----------------------------------------------------------------------------
# 
#
# -----------------------------------------------------------------------------
# for model
#
# "tx"    : translate in x axis 
# "ty"    : translate in y axis
# "tz"    : translate in z axis
# "rx"    : rotate around x axis
# "ry"    : rotate around y axis
# "rz"    : rotate around z axis
# "scale" : uniform scaling
#
# "cr"    : red component of diffuss color (default is 1)
# "cg"    : green component of diffuss color (default is 1)
# "cb"    : blue component of diffuss color (default is 1)
# 
# "sr"    : red component of specular color (default is 1)
# "sg"    : green component of specular color (default is 1)
# "sb"    : blue component of specular color (default is 1)
# "shininess" : controls how shiny this model is (default is 128)
#
# "er"    : red component of emission color (default is 0)
# "eg"    : green component of emission color (default is 0)
# "eb"    : blue component of emission color (default is 0)
#
# -----------------------------------------------------------------------------
# 
# -----------------------------------------------------------------------------
# for image
#
# two positive integer numbers follow: width and height
# by default they are both 100
# "width"   : width of the image (default is 100)
# "height"  : height of the image (default is 100)
# "n"       : number of rays per pixel (default is 10)
# -----------------------------------------------------------------------------
#
# -----------------------------------------------------------------------------
# for camera
#
# type      : either perspective (default) or orthogonal
# "tx"      : translate in x axis 
# "ty"      : translate in y axis
# "tz"      : translate in z axis
# "lookatx" : look at position.x
# "lookaty" : look at position.y
# "lookatz" : look at position.z
# "upx"     : up vector x coordinate
# "upy"     : up vector y coordinate
# "upz"     : up vector z coordinate
# "viewx"   : viewport lower left corner x (int)
# "viewy"   : viewport lower left corner y (int)
# "vieww"   : viewport width (positive int)
# "viewh"   : viewport height (positive int)
# "near"    : near plane distance (positive float)
# "far"     : far plane distance  (positive float)

image
n=1 width=500 height=500 

camera
type=orthogonal tx=0 ty=0 tz=100 viewx=-250 viewy=-250 vieww=500 viewh=500 near=15

sphere 3 
r=10   cr=1.0 cg=0; cb=0.5
r=10   cr=0.0 cg=0; cb=0.5 tx=15 
r=0.01 tx=1000 ty=1000 tz=100 er=1.0 eg=1.0 rb=1.0 #this is your light
