Hi there.
I'm trying to play three different videos in three different monitors for an art project. I'm using three LED TVs which I set them in 1280x720 pixels each. The code (and the project) includes an ultrasonic sensor that allows to play or stop the videos, but the main issue is that I can't use the fullScreen(P2D, SPAN); function(?). It gaves me the "Framebuffer objects are not supported by this hardware (or driver)..." error. What can I do?!. I searched for info but I didn't find anything.
So...If you remember any thread or info or a past project with this issue, please comment
Thank you thank you thank you!!
Here's the code:
//import processing.serial.Serial;
import processing.video.*;
//Serial myPort;
//String val;
Movie video1, video2, video3;
void settings() {
fullScreen(P2D,SPAN);
}
void setup() {
background(0);
video1 = new Movie(this, "estas ahi.mp4");
video2 = new Movie(this, "estas lejos.mp4");
video3 = new Movie(this, "me gustaria estar aqui.mp4");
video1.stop();
video2.loop();
video3.stop();
//String portName = Serial.list()[0];
//myPort = new Serial(this, portName, 9600);
//myPort.bufferUntil('\n');
}
//void serialEvent (Serial myPort) {
//if (myPort.available() > 0) {
//val=myPort.readStringUntil('\n');
//}
//}
//void serialEvent(final Serial s) {
//val = s.readString().trim();
//}
void draw() {
//println(val);
image(video1,480,320,640,480);
image(video2,120,0,640,480);
image(video3,200,0,640,480);
}
void movieEvent(Movie video) {
video.read();
}