|
|
-It would be possible to introduce the namespace in the script?
To be clear where I type the perl package and declare the base name, to retrieve
PACK:: NAME in order to create libraries of functions.
For complex jobs you can not modularize the functions and create chaos.
-Would it be possible to have the regular-expression? perl style so to speak.
-As an alternative or parallel to the request of regular-expression can use a
command-style exec to invoke a script that performs operations on strings so
advanced. So you can create external scripts that come to the aid of povray
script.
Thanks for your attention and for unusual requests for a renderer, but born of a
programmer if you do not slip at least 1500 lines of script can not do
anything:)
Roberto Pomo
jkr### [at] p3rinfo
Post a reply to this message
|
|
|
|
Am 23.11.2011 17:43, schrieb jkroby:
> -It would be possible to introduce the namespace in the script?
I guess the next SDL will have such a thing.
> -Would it be possible to have the regular-expression? perl style so to speak.
I don't think so. String processing is not really a must-have core
functionality for a raytracing software, and regex parsing is a pretty
complex matter.
> -As an alternative or parallel to the request of regular-expression can use a
> command-style exec to invoke a script that performs operations on strings so
> advanced. So you can create external scripts that come to the aid of povray
> script.
That might be a more viable alternative; invoking external tools as part
of the scene set-up process, with the ability of using results from
earlier steps of the set-up, would also allow for such things as
sampling a complex CSG or isosurface object via trace() or inside(),
feeding this data to a fast C programm for processing, and finally
generating additional geometry based on the results.
Post a reply to this message
|
|