'preloadtex' question / suggestions
Posted: 28.05.2008, 20:26
I've searched all forums regarding "preloadtex" and still can't definitively answer a question about the 'wait' duration.
At the beginning of a script, I essentially pre-load all the textures I believe I'll use......
(i.e.
preloadtex {object "Sol"}
preloadtex {object "Sol/Earth"}
preloadtex {object "Sol/Earth/Moon"}
....this list usually exceeds 30 entries...)
I'm unclear on whether I should implement a 'wait' instruction after EACH 'preloadtex' command,
or if just one at the end of the list is sufficient.
The references to 'wait' duration in relation to 'preloadtex' seem to be arbitrary at best....
I've used the 'Shift+`' keycombo to bring up the console display and the results vary
and, unfortunately, doesn't illuminate the process(es) clearly.
With a ' wait{duration 0.25}' after EACH 'preloadtex', a reasonably readable process is iterated,
(albeit somewhat quick due to the short duration of the 'wait' instruction)
With a SINGLE 'wait' instuction of longer duration at the end of all the 'preloadtex's
only the last 5 texture loads are shown on the console display.
Question .........Did all textures load or only the last five ???
I think a lengthier (longer , taller ???) index would be an improvement.
Even better, the ability to pipe the output of the control display (Shift+`) to a text/log file,
for those of ME who can't read screen output as fast as it's generated.
I'm trying (unsuccessfully) to implement an old DOS routine whereby CON is "|" to PRN or LPT1...
......and yes, I AM Methusala, and yes, I AM 900+ years old !!!
Any suggestions from those intuitive enough to decipher my rambling/babbling would be appreciated.
-RJ
At the beginning of a script, I essentially pre-load all the textures I believe I'll use......
(i.e.
preloadtex {object "Sol"}
preloadtex {object "Sol/Earth"}
preloadtex {object "Sol/Earth/Moon"}
....this list usually exceeds 30 entries...)
I'm unclear on whether I should implement a 'wait' instruction after EACH 'preloadtex' command,
or if just one at the end of the list is sufficient.
The references to 'wait' duration in relation to 'preloadtex' seem to be arbitrary at best....
I've used the 'Shift+`' keycombo to bring up the console display and the results vary
and, unfortunately, doesn't illuminate the process(es) clearly.
With a ' wait{duration 0.25}' after EACH 'preloadtex', a reasonably readable process is iterated,
(albeit somewhat quick due to the short duration of the 'wait' instruction)
With a SINGLE 'wait' instuction of longer duration at the end of all the 'preloadtex's
only the last 5 texture loads are shown on the console display.
Question .........Did all textures load or only the last five ???
I think a lengthier (longer , taller ???) index would be an improvement.
Even better, the ability to pipe the output of the control display (Shift+`) to a text/log file,
for those of ME who can't read screen output as fast as it's generated.
I'm trying (unsuccessfully) to implement an old DOS routine whereby CON is "|" to PRN or LPT1...
......and yes, I AM Methusala, and yes, I AM 900+ years old !!!
Any suggestions from those intuitive enough to decipher my rambling/babbling would be appreciated.
-RJ