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 › OpenGL & point() problem
Page Index Toggle Pages: 1
OpenGL & point() problem (Read 736 times)
OpenGL & point() problem
Oct 24th, 2005, 7:02pm
 
Hi!

I've a problem with this simple example. If i run it with size(320,240,P3D); it works, but with size(320,240, OPENGL);  it just doesn't shows anything on the screen.

I'm working on a Window$ box, with a ATI Mobility Radeon X600.

Code:

import processing.opengl.*;

void setup() {
size(320,240, OPENGL);
}

void draw() {
point(random(width),random(height),-100);
}


Hope somebody can help me on this.

F:
Re: OpenGL & point() problem
Reply #1 - Oct 25th, 2005, 12:55am
 
If I am not mistaken, point doesnt work at all in openGL.
Try a line of length 1 Smiley


Y muchos saludos por barcelona, mi ex-patria Smiley
Conoces la Alba, no es cierto?

Re: OpenGL & point() problem
Reply #2 - Oct 25th, 2005, 10:01pm
 
Good hack Smiley
I'll try that.

F.

PS: ¿Que es el Alba? (merece una poética respuesta, por cierto)
Page Index Toggle Pages: 1