POV-Ray : Newsgroups : povray.advanced-users : --( IDENTIFIER - RValue )-- : Re: --( IDENTIFIER - RValue )-- Server Time
29 Jul 2024 02:24:34 EDT (-0400)
  Re: --( IDENTIFIER - RValue )--  
From:
Date: 21 Mar 2003 11:09:31
Message: <3e7b393b$1@news.povray.org>
--------------( oo )--------------

In fact, I guess I'll have large group of objects with their own
proprieties. If I could create larger scale populations, it would be better
for me. In the case of the code bellow, It tooks one minute to parse, wich
is quite rapid. In some cases, I had problems on some systems with too rapid
read/write on HD.

--------------( oo )--------------


#declare MatRow = 100;
#declare MatCol = 100;

#declare Tot = 0;
#declare Row = 0;
#while (Row < MatRow)

        #declare Col = 0;
        #while (Col < MatCol)


                #declare MyG = concat("#declare g",str(Row,-3,
0),"_",str(Col,-3, 0), " = ", str(Tot,-3, 0), ";" );
                Parse_String(MyG)
                #declare Tot = Tot+1;


          #declare Col = Col+1;
        #end

  #declare Row = Row+1;
#end


--------------( oo )--------------

Architecture CAAO

"ABX" <abx### [at] abxartpl> wrote in message
news:39cm7vo1kla4juv2efg9agtupn8qb8t4na@4ax.com...

wrote:
> > That's much more easier when you know where to look at.
> > I just didn't saw those command to handle external files. (#write)
> > Is there a way to use Ram Memory instead of writing a .txt file on the
HD?
>
> There was such a feature in MegaPOV below 1.0 iirc, if your scene does not
use
> 3.5-specific features then you can use it. But do you really have so large
parts
> to be created and parsed on the fly that HD operations are so important ?
>
> ABX


Post a reply to this message

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