|
|
On 4/21/2009 12:45 AM, clipka wrote:
> So, um... with 1) to 3) done to the SDL, what exactly would *remain* of the
> existing one?
The imperative nature, plus the current syntax for object (and
texture/pattern/et al) creation.
Ie, we DON'T need
new SDL.Object.Sphere {
Radius: 4.0f;
Center: new SDL.Unit.Vector3(4.5f,1.5,3.0f);
Texture: new SDL.Pattern.Texture {
Pigment: new SDL.Pattern.Pigment {
Pattern: SDL.Pattern.Predefined.Solid;
Color: new SDL.Unit.Vector3(1.0f,0.5f,0.0f);
}
}
}
when we can do
sphere {<4.5,1.5,3>, 4 pigment {color rgb <1,.5,0>}]
> radiosity {
> count = 50;
> recursion_limit = 2;
> }
>
> instead of
>
> radiosity {
> count 50
> recursion_limit 2
> }
It depends if you see those values as parameters or variables.
--
...Chambers
www.pacificwebguy.com
Post a reply to this message
|
|