Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Tracing shadow image when using peasyCam

$
0
0

Whenever I use peasyCam or a slider function there is an unwanted "ghost" image that follows my actual. Here I have made a simple box, but there is a "ghost" box that trails it. How can I fix this issue? Duplicate Example import peasy.*; import peasy.org.apache.commons.math.*; import peasy.org.apache.commons.math.geometry.*; import peasy.test.*; import controlP5.*; import shapes3d.*; import shapes3d.animation.*; import shapes3d.utils.*; ControlP5 jControl; PeasyCam cam;

void setup(){

size(600,600,OPENGL);

background(0); cam = new PeasyCam(this, 100);

cam.setMinimumDistance(50); cam.setMaximumDistance(500); } void draw(){

lights();

fill(255);

translate(300,300,0);

box(10); }


Viewing all articles
Browse latest Browse all 2896

Trending Articles