|
|
Jordan wrote:
> Has
> anyone considered using an existing scripting language, such as Lua or
> Python, as the pov sdl?
In the current scene I'm working on I have been using Icon extensively
to generate Pov code. It's a bit awkward with vectors since there is no
operator overloading (so I have things like add(v1, v2)), but other
features of the language, especially backtracking combined with
goal-directed evaluation have made it quite worth my while. While I do
think that there are many aspects of languages which could make Pov
scripting nicer and easier (I know there's some parts of Icon I would
love to have in there), for the most part I have found that writing
programs in other languages to output Pov code is not too much harder
(with the exception of some missing functions, like trace) than I
imagine writing in a modified Pov sdl would be. After all,
macro("name", a, b, c, ... ) as I have been writing in Icon isn't much
harder than the #macro name(a, b, c , ... ) I would write in Pov.
~Kevin Wampler~
Post a reply to this message
|
|