|
![](/i/fill.gif) |
Something I miss: eval directive that would evaluate the string given to
it as an SDL statement.
It isn't too hard to write a macro that does it:
#macro Eval( string )
#fopen TMP "eval_file.tmp" write
#write( TMP, string )
#fclose TMP
#include "eval_file.tmp"
#end
, but it sure ain't pretty...
Is there a better way to do this? Or is there a directive I have missed?
Of equal value would be a way to pass commands to the system, but aside
from the INI-options I cannot for the life of me figure out how to do it.
The reason I am crossposting this to povray.programming is because I
woudn't mind having a knowledgeable answer to the difficulty of
implementing such eval and system directives in povray-proper.
I have a reasonable background in programming, including some knowledge of
interpreters, but no familiarity what-so-ever with the povray source.
-- Nikodemus
Post a reply to this message
|
![](/i/fill.gif) |