|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Hello all,
it seems that a #macro() can only handle 55 parameters. Any chance to increase
this number? I would need some more for a human model.
Thanks!
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Le 25/08/2013 09:47, Sereib nous fit lire :
> Hello all,
> 
> it seems that a #macro() can only handle 55 parameters. Any chance to increase
> this number? I would need some more for a human model.
If you need so much, it might be time to put some of them inside an array.
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Am 25.08.2013 09:47, schrieb Sereib:
> Hello all,
>
> it seems that a #macro() can only handle 55 parameters. Any chance to increase
> this number? I would need some more for a human model.
If you're using the model only for yourself, you could modify the source 
code and build a customized version of POV-Ray; the maximum number of 
parameters per macro (and also per function) is controlled by 
MAX_PARAMETER_LIST in source/backend/parser/parse.h.
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | 
> Hello all,
>
> it seems that a #macro() can only handle 55 parameters. Any chance to increase
> this number? I would need some more for a human model.
>
> Thanks!
>
>
You can do as is done for blobman and make human: Use vectors to specify 
a bunch of related angles, like those of the joins of the fingers or 
shoulder and arm. That way, a single parameter can cary up to 5 values.
You can pass an array or a spline as a parameter.
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Alain <kua### [at] videotron ca> wrote:
> > Hello all,
> >
> > it seems that a #macro() can only handle 55 parameters. Any chance to increase
> > this number? I would need some more for a human model.
> >
> > Thanks!
> >
> >
>
> You can do as is done for blobman and make human: Use vectors to specify
> a bunch of related angles, like those of the joins of the fingers or
> shoulder and arm. That way, a single parameter can cary up to 5 values.
>
> You can pass an array or a spline as a parameter.
Good idea(s), thank you all! Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  |