We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Missing pixels in ellipse
Page Index Toggle Pages: 1
Missing pixels in ellipse (Read 462 times)
Missing pixels in ellipse
May 10th, 2006, 1:21pm
 
Hi guys. The problem I have is that when drawing an ellipse or  a bezier curve there is a number of pixels missing. However, when I zoom in by moving the camera closer, these missing pixels change and even dissapear when I move the camera close enough.

Code:

Setup:
size(1600, 1000, OPENGL);
framerate(90);

Draw:
background(255);
smooth();

Ellipse:
fill(255, 255, 255, fAlpha);
stroke(pNodeColor);
pushMatrix();
translate(someX, someY, someZ);
strokeWeight(4);
ellipse(0, 0, fW, fH);

Bezier:
strokeWeight(4);
bezierDetail(22);
bezier(fX1, fY1, fZ1, fX1a, fY1, fZ1, fX2a, fY2, fZ2, fX2, fY2, fZ2);




http://media.informatik.rwth-aachen.de/tiki-download_wiki_attachment.phpattId=182


Any ideas?

p.s I tried searching for a post about this but I didnt find any. Its hard to imagine that Im the first one to run into this.
Page Index Toggle Pages: 1