FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   rendering reverses
« Previous topic | No topic »

Pages: 1 
   Author  Topic: rendering reverses  (Read 695 times)
benelek

35160983516098 WWW Email
rendering reverses
« on: Jan 16th, 2003, 7:49am »

 the p5 rendering engine seems to render things moving behind the camera.
 
  in the following example, a line strip is drawn in 3d, and progressively moves closer to the camera - until it disappears from view. p5 then renders the form moving away from the camera, but reversed in the x-y axis. (though it should only be moving backwards)
 
Code:

 
// test of rendering bugs.
 
void setup() {
  size(300,300);
  background(255);
}
 
int lineZ = 0;
 
void loop() {
  stroke(0);
  translate(0,0,lineZ);
  beginShape(LINE_STRIP);
  vertex(150,100,0);
  vertex(250,200,-100);
  stroke(100,20,50);
  vertex(250,200,-200);
  endShape();
  
  lineZ++;
}
 
« Last Edit: Jan 16th, 2003, 7:52am by benelek »  
fry


WWW
Re: rendering reverses
« Reply #1 on: Jan 16th, 2003, 6:45pm »

you might be running into the fact that clipping isn't implemented yet
 
things move out of the screen and then get good and weird. we'll need to get this fixed soon..
 
Pages: 1 

« Previous topic | No topic »