|
![](/i/fill.gif) |
Jim Charter <jrc### [at] msn com> wrote:
> <shrug> I know ... but that's his call. And even a slow old 1 gh machine
> can still polish off a half a million copies pretty fast can't it? Also
> the coding is awkward with the array index, the loop control and the
> array dimension to resize to, being offset. Personally I would probably
> print the array declaration into an include file, externally in a
> program such as Python. But we really don't know what his purposes are.
If the data in the file isn't changing very often it might be worth running
a loop to count the lines, then write a new data file with the array size
as a header (maybe from a macro or a separate scene file). Then subsequent
test renders etc with the same data can read the header and create an array
with the correct size.
But maybe that's not convenient... :-)
Post a reply to this message
|
![](/i/fill.gif) |