POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: Status of Moray? Server Time
12 Jul 2025 08:29:52 EDT (-0400)
  Re: Status of Moray?  
From: William Tracy
Date: 12 Sep 2007 18:44:30
Message: <46e86bce$1@news.povray.org>
Warp wrote:
>   However, that's where the advantages end. The disadvantage is, however,
> that it would limit the usability of the language *during rendering* even
> more than the current SDL (which at least has user-defined functions which
> can be evaluated during render-time).

I don't see why this sort of thing can't be implemented via callbacks or 
objects (we are using C++, so why not take advantage of it?).

Maybe I can say it more clearly this way: We could use some sort of 
event-driven architecture where the rendering engine fires off events to 
the script interpreter and gets instructions that way.

I would expect it would be possible to do something like this in a way 
that's almost invisible to the scripting language itself.

OTOH, I would expect a performance penalty for something like this, but 
I would also expect it to be fairly minor. Correct me if I'm wrong.

-- 
William Tracy
afi### [at] gmailcom wtr### [at] calpolyedu

You know you've been raytracing too long when you spend more time 
"tweaking" a texture than modelling the rest of the scene.
     -- Twyst


Post a reply to this message

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