POV-Ray : Newsgroups : povray.pov4.discussion.general : A plea for sanity, and the current SDL : Re: A plea for sanity, and the current SDL Server Time
25 Apr 2024 13:01:29 EDT (-0400)
  Re: A plea for sanity, and the current SDL  
From: Chambers
Date: 21 Apr 2009 09:48:04
Message: <49edce94$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.