sebo-katsura 
		
		YaBB Newbies
		 
		Offline 
		
		
		Posts: 5
		
		
		
		
 
	 
	
		
			
				PImage in an OPENGL applet  
				 Dec 27th , 2007, 10:50pm 
			 
			
				
	  
			 
		
		
			Hi guys. This is my first post. I'm a newbie in Processing and I have a big problem. All export possibilities don't work. If I save it as an applet, I get the message "Loading Processing Software..."in my browser's statusbar, but it seems frozen. Is my applet too big or what else could it be? Maybe I made a big and stupid mistake, but I have no clue. Thank you in advance for your help : D I have this code: import processing.opengl.*; float a_rotspeed; float b_rotspeed; void setup(){   size(500,500,OPENGL);   background(255);   frameRate(90);   } //BILDER----------------------------------------------------- void brille(){      PImage brille;   brille = loadImage("brille.png");   pushMatrix();   image(brille,0,0);   translate(0,0,0);        popMatrix();   }    void sebo(){       PImage sebo;   sebo = loadImage("sebo.jpg");   pushMatrix();   translate(100,0,-10);   rotateY(PI/2);   image(sebo,0,0);   popMatrix();   }    void ikarus(){       PImage ikarus;   ikarus = loadImage("ikarus1.gif");   pushMatrix();   translate(20,-50,-150);   rotateY(PI/-2);   //rotateX(PI);   image(ikarus,0,0);   popMatrix();   }    void shishi(){   PImage shishi;   shishi = loadImage("shishi.gif");   //rotateX(PI);   //rotateY(PI);   //rotateZ(PI/2);   pushMatrix();   translate(-120,-50,10);   image(shishi,0,0);   popMatrix();   }    //------------------------------------------------- void draw(){   noFill();   background(255);   //ANFANG BOX UND BEWEGUNG---------------------   pushMatrix();   translate(width/2,height/2);   rotateX(a_rotspeed);   rotateY(b_rotspeed);   stroke(150,80);   box(250);   a_rotspeed+=0.009;   b_rotspeed+=0.008;   //ENDE BOX UND BEWEGUNG-----------------------   brille();   sebo();    ikarus();   shishi();   popMatrix();     }