POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
13 Jul 2025 04:27:58 EDT (-0400)
  Re: New SDL for POVRay  
From: Ger
Date: 19 Sep 2007 11:45:17
Message: <46f1440d@news.povray.org>
Nicolas George wrote:

> 
> I take the discussion somewhat in the middle, and maybe what I will write
> has already been written:
> 
I may have put it into too strong words, but things like isosurfaces and
functions are gibberish to me


> There is not really a contradiction between a ""real" programming
> language" and being able to write as simply as basic PoV SDL. For example:
> 
> use Colors;
> 
> scene [
> 
>   camera [
>     location => [ 2, 5, -3 ],
>     look_at => [ 0, 0, 0 ]
>   ],
> 
>   light_source [
>     [ 0, 10, -2 ],
>     White
>   ],
> 
>   union [
>     box [
>       [ -1, -1, -1 ], [ 1, 1, 1 ],
>       pigment => Red
>     ],
>     sphere [
>       [ 0, 1.5, 0 ], 0.5
>       pigment => Yellow
>     ]
>   ]
> 
> ]
> 
This looks perfectly doable.

The contradiction between POV SDL and ARPL (A Real Programming Language) is
the possibility to do something like this

object { Thingy scale 2 #if(Big) * 3 #end }


> I grant you that there is a little bit more comas than in original PoV
> SDL, but on the whole, it is no more difficult to learn and to write.
> 
> Well, unless I am mistaken, this is perfectly valid Perl.

-- 
Ger


Post a reply to this message

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