Language specification (draft 0.2)
0. INTRODUCTION[to be done...]
1. BASICSPanorama scene language is based in objects. Objects are instances of a class, the same way a variable is an instance of its type. Each object has some attributes that differentiates it from every other object. This attribute will always have the form of a keyword followed by an instance of the right type:
radius 10 (Type is real)
This way, object will be an instance of the default class for the family
(e.g. PointLight in the light family). Some families of classes has no
default, so they cannot be instantiated this way.
light light_name : class WarnLight
Referred class should be a built-in class, or a registered plugin.
light light_name : extends another_light_name
New object will be a copy of referred object, with aditional changes
given. Obviously, it will be an object of the same class as referred object,
that must have been defined previously.
2. SCENE FILE STRUCTURE[to be done...]