New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beginShape(POINTS) don't show up in P2D #3029

Closed
clankill3r opened this Issue Jan 5, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@clankill3r

clankill3r commented Jan 5, 2015

beginShape(POINTS) don't show up in P2D

JAVA2D and P3D work fine.

PShape points;

void setup () {

  size(600, 600, P2D);

  points = createShape();
  points.beginShape(POINTS);
  points.strokeCap(SQUARE);
  for (int r=0; r<256; r++) {
    for (int g=0; g<256; g++) {

      points.stroke(color(r, g, 255));
      points.vertex(random(width), random(height));
    }
  }
  points.endShape();
}


void draw() {
 background(255);
 shape(points);
}

@codeanticode codeanticode self-assigned this Jan 15, 2015

@codeanticode codeanticode added the opengl label Jan 15, 2015

@JakubValtar

This comment has been minimized.

Show comment
Hide comment
@JakubValtar

JakubValtar Jan 26, 2015

Contributor

Which version are you using?

In 3.0a5, I get the same output in both P2D and P3D. This seems to be a duplicate of #2912, fixed in October: #2915.

I just don't understand how it could work in JAVA2D. I get createShape(), or this particular variation of it, is not available with this renderer. in 2.2.1 and white screen in newer releases, which may be a different bug.

Contributor

JakubValtar commented Jan 26, 2015

Which version are you using?

In 3.0a5, I get the same output in both P2D and P3D. This seems to be a duplicate of #2912, fixed in October: #2915.

I just don't understand how it could work in JAVA2D. I get createShape(), or this particular variation of it, is not available with this renderer. in 2.2.1 and white screen in newer releases, which may be a different bug.

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Jul 16, 2015

Member

Fixed on 3.0a10.

Member

codeanticode commented Jul 16, 2015

Fixed on 3.0a10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment