|
|
A think here on large include/declare...
When you only have one copy, don't use #declare on large objects, since
it causes double amount of memory to be used then... don't know why, but
that Is what I have found(using some trees)
Margus Ramst wrote:
>
> Dave wrote:
> /.../
> >
> > The include file that #declare's them alone is
> > something like 90,000 lines...(mostly unions of triangle mesh's)....
>
> I sent the output of my fur generator to a file (just cones); got a 20MB
> include file. Strangely enogh, when I #included it, the damn thing just
> started swapping like mad and never finished (seriously, I was afraid the HD
> would start to smoke soon); whereas when I let the script parse from the
> start it did the job (although with a lot of swapping). I wonder why.
>
> Margus
--
//Spider
( spi### [at] bahnhofse ) [ http://www.bahnhof.se/~spider/ ]
#declare life = rand(seed(42))*sqrt(-1);
Post a reply to this message
|
|