Android VR Cardboard

#1

Hello, I need some help. I want to display the picture (so she was always before my eyes, even when rotated). When using the background(img) function, I just have error: handleDraw() called before finishing

My code:

import processing.vr.*;

PImage img;

void setup() {
  fullScreen(STEREO);
  img = loadImage("starwars.png");
}


void draw() {
  background(img);
}

The example I need:

#2

Not sure if you need to have you phone in landscape mode. Not sure how you could use VR in portrait.

Did you check this tutorial in the Processing Android site?

Kf