We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › weird behaviour loading files and the data folder
Page Index Toggle Pages: 1
weird behaviour loading files and the data folder (Read 192 times)
weird behaviour loading files and the data folder
Jan 10th, 2009, 12:25am
 
hey i have an app that loads a bunch of thumbnails, then loads a bunch of the full size images.  I found this weird behavior in processing.  Maybe i just haven't read enough but it seems that processing will always look for files in the "data" folder before anywhere else.  

For instance my thumbnail files were here "data/final/*.jpg"  and my full size files were in "final/*.jpg".  I load up my thumbnails and can see them draw to screen, then i do a balanced (over time) load of the full images....but even though the path is "final/file*.jpg" they never show up...i only see the thumbnails...

So i try loading up the thumbnails..then adding a long delay whilst i surreptitiously remove the "data/final/*.jpg" from the system.  Only then do the full size files in "final/data/*.jpg" load correctly.  I guess it was therefore checking in data first?

Anyhow...is this normal or weird?

i'm on mas osx10.4.*
Page Index Toggle Pages: 1