POV-Ray : Newsgroups : povray.general : Passing macro as parameter : Re: Passing macro as parameter Server Time
15 Aug 2022 19:10:04 EDT (-0400)
  Re: Passing macro as parameter  
From: Alessio Sangalli
Date: 13 Dec 2021 16:48:58
Message: <61b7bfca$1@news.povray.org>
On 13-Dec-21 11:08, Bald Eagle wrote:

>> Unfortunately I have not found a way to pass a macro name as parameter
>> and be able to call it.

> Parse_String(String)

> 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.

Fantastic, I'll try that.


> 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.

I'll perform some experiments and gladly publish them.

Thanks!


Post a reply to this message

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