|
|
I probably can't answer this - but can you use a C style address pointer
to pass a local variable from the math function back up to the file
naming function? By using address pointers you might be able to free up
memory that a global variable would otherwise use.
If that doesn't make sense, how about writing a second text file by
reading the first? Just use the original output as temporary disk
storage until the final text file is written kinda thing.
"Rune S. Johansen" wrote:
> I have a pov file which
> create e text file, then
> do some calculations, then
> write some output to the
> text file and then closes
> it.
>
> The problem is that the name
> of the text file created
> should depend on the
> calculations made. But POV
> always have to give the file
> a name before it writes data
> to it. Is there any way I can
> choose the name of the text
> file depending on the
> calculations?
>
> Notes:
> the output data written to the
> text file is not readable by
> POV-Ray.
> All the calculations can't
> easily be stored in memory.
>
> Thanks,
>
> Rune S. Johansen
> http://hjem.get2net.dk/rsj
Post a reply to this message
|
|