|
![](/i/fill.gif) |
>Dynamic memory allocation is not possible in povray. This means that
you can't make, for example, lists or other dynamic data structure
types.
The only "half"-dynamic data type is the array, which is not very useful
for lists.<
Actually, it is, because POV-Ray is written in C, and the scene
description language is interpreted. I believe it dynamically allocates
the objects and variables (using pre-allocated memory for speed) as it
parses them, doesn't it? Now, you couldn't make pointers, and that kind
of thing, but the structures would be faster in C anyway, all you would
have to do is describe the structure to the parser, and tell the parser
what to put in it or retrieve from it.
Post a reply to this message
|
![](/i/fill.gif) |