So what is the preferred way to set the renderer?
in
Android Processing
•
3 years ago
Hello!
Processing for android is great! After reading the wiki, I'm still a bit puzzled as to the correct way to set the renderer. If I use
size(screenWidth, screenHeight, A2D)
the parser tells me that it was unable to parse the size command (and I should not use variables, which thing I have also tried). If I define a method like
String sketchRenderer() {
return "A2D"
}
then running the sketch in the emulator just gives me a popup saying that the the sketch has stopped unexpectedly and I am presented a button that says "Force Quit". The sketch I am running is trivial, but I would like to port a more complex sketch to android and I need 3D (and hence need to set the renderer) for it to work.
I am on linux, using processing-0190 and Android API 7.
Thanks in advance!
1