|
|
Max Ulbrich wrote:
> Hi,
>
> I try to get a sum over an expression that contains data of an array.
As you already have been told elsewhere you have to understand the
difference between render time functions and parse time code.
The difference is explained in:
http://www.povray.org/documentation/view/3.6.1/231/#s02_02_01_06_02
Since neither the loop parameters nor the array indices depend on the
function parameters you can probably do what you are trying to do with a
macro but the parameters of the macros are parse time variables, not
render time ones.
Examples for the use of macros for generating functions can be found in
the IsoCSG library:
http://www.tu-bs.de/%7Ey0013390/pov/ic/index.html
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|