Changeset 3e73eb74f88c840906f6889e46418bb8634af0b5

Show
Ignore:
Timestamp:
06/19/11 19:57:32 (8 months ago)
Author:
Robin Gareus <robin@…>
Parents:
cb5297d42f18823d3b05ce472cd6328700f52241
git-committer:
Robin Gareus <robin@gareus.org> / 2011-06-19T21:57:32Z+0200
Message:

image loading optimizations and titles..

Location:
InOutExpositor
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • InOutExpositor/InOutExpositor.pde

    rcb5297d r3e73eb7  
    2323////////////////////////////////////////////////////////////////////////////// Screen 
    2424// WARNING ! : to export as web applet, you must set the size() arguments manually too 
    25 //int windW = 1024 ; // Set to screen resolution to get fullscreen in 'Present' mode (or when exporting as application) 
    26 //int windH = 768 ; 
    27 int windW = 800 ; 
    28 int windH = 600 ; 
     25int windW = 1024 ; // Set to screen resolution to get fullscreen in 'Present' mode (or when exporting as application) 
     26int windH = 768 ; 
     27//int windW = 800 ; 
     28//int windH = 500 ; 
    2929////////////////////////////////////////////////////////////////////////////// Auto Pilot Mode 
    3030int autoPilotLaunchCompt = 50*25 ; // time before AUTO 
    31 int autoPilotBetween = 50*25 ; // time between AUTO modes 
     31int autoPilotBetween = 20*25 ; // time between AUTO modes 
    3232int fadingTime = 7*25 ; // fading time between modes 
    3333////////////////////////////////////////////////////////////////////////////// LOADING FROM XML(s) : 
     
    300300        int theMode = modUlo%6 ; // modes 0 1 2 3 4 5 only 
    301301        */ 
    302         // only modes 0 2 3 5  
    303         if ((modUlo%6)==1 || (modUlo%4)==4) { 
     302        // only modes 0 1 2 3 5  
     303        if ((modUlo%4)==4) { 
    304304          modUlo++; 
    305305        } 
     
    445445  textAlign(LEFT); 
    446446  textFont(font,20); 
    447   text("Art Collider Traffic",bx,by) ; 
     447  text("TheArtCollider.org Traffic-Monitor",bx,by) ; 
    448448        /* 
    449449  textFont(font,10); 
  • InOutExpositor/oClientP.pde

    rcb5297d r3e73eb7  
    7575                                  // URL encode spaces 
    7676          String lin = login.replace(' ','+'); 
    77           String imPath = previewFilesAddress + lin + ".png"; 
     77          String imPath = previewFilesAddress + lin + ".png?timeout=500"; 
    7878                                        if (vImID>=0) { 
    7979                                          print("discarding prev image request: "+login+": "+vImID+"\n") ; 
     
    9595  void traceImage(float a, float b, float w, float h) { 
    9696          if (vImID >=0) { 
    97                   vIm[curr] = loader.getImage(vImID); 
    98                         if (vIm[curr] != null) { 
     97                  PImage tmpIm ; 
     98                  tmpIm = loader.getImage(vImID); 
     99                        if (tmpIm != null) { 
    99100                          print("Image ID: "+vImID+" loaded."); 
    100101                                loader.delImage(vImID); 
    101102                                vImID=-1; 
     103                          vIm[curr]=tmpIm; 
    102104                        } 
    103105                }