Alessio Sangalli <man### [at] gmailcom> wrote:
3) do some more animation-related setup and housekeeping
> Unfortunately I have not found a way to pass a macro name as parameter
> and be able to call it.
Parse_String(String). This macro takes a string, writes it to a file, and then
includes that file. This has the effect of parsing that string:
"Parse_String("MyColor")" will be seen by POV-Ray as "MyColor".
String = The string to be parsed.
So, the idea is that you pass the macro name as a string parameter, and then
parse that string to turn it into an SDL directive.
If you provide some scene code with some comments describing what you want your
code to do, maybe someone can suggest an alternative method for accomplishing
the same goal.
Post a reply to this message