// -------------------------------------- public void setup() { // Make a new Client with an XML file. client = new TCPClient(this, "mpe" + ID + ".xml"); // The size is determined by the client's local width and height size(client.getLWidth(), client.getLHeight(), P3D); client.enable3D(true); resetEvent(client); // IMPORTANT, YOU MUST START THE CLIENT! client.start(); }