3D mode on android
in
Android Processing
•
1 year ago
When I run processing in P3D mode the screen is being refreshed every frame. I am not redrawing the background in draw(). I am running svn revision 9248 of the source (latest). If I change it to P2D mode, the drawing commands accumulate correctly. In P3D mode, the background is also black instead of the usual gray.
Any ideas as to the cause?
- public class Test3dActivity extends PApplet {
- public String sketchRenderer() {
- return P3D;
- }
- public void draw() {
- stroke(0xffffffff);
- strokeWeight(20);
- point(random(width), random(height));
- }
- }
2