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.
IndexSuggestions & BugsSoftware Bugs › Is this P3D's bug
Page Index Toggle Pages: 1
Is this P3D's bug? (Read 1184 times)
Is this P3D's bug?
Jun 7th, 2005, 4:58pm
 
In following example, there are some line can't be draw out if i using P3D mode to render.
I can't make sure what the problem is.

http://www.gcd.yuntech.edu.tw/~tom/applet/

I'm using processing BETA 90, system is windowsXP, cpu is pentium M processor 1.60GHz and ati 9700.
Re: Is this P3D's bug?
Reply #1 - Jun 9th, 2005, 1:29am
 
Yes I think it is. I reported something similar a few weeks ago.
Try this code:

int x;
int y;
void setup() {
 size(400,400, P3D);  // DELETE P3D and it works fine !!!
}

void draw() {
 background(122);
 x = mouseX - 20;
 y = mouseY - 20;
 rect(x-10, y - 5, 4, 10);
 rect(x, y+10, 4, 12);
 rect(x+5, y-10, 12, 4);  
}

You see how the rects are drawn in different sizes when you move the mouse?

Basically the P3D renderer is drunk or on drugs, it does nothing straight.

Your code works beautifully in the OPENGL renderer.
(which still is quite buggy as well, but hey, it will get there)...

Re: Is this P3D's bug?
Reply #2 - Jul 28th, 2005, 4:20am
 
looks like it.. please follow-up or check status here:
http://dev.processing.org/bugs/show_bug.cgi?id=95
Page Index Toggle Pages: 1