X Tutup
Skip to content

noSmooth does not work in P2D / P3D #5363

@clankill3r

Description

@clankill3r

Processing 3.3.6
Mac OSX 10.12.6

noSmooth does not work with P2D or P3D.

screen shot 2018-01-10 at 13 50 13

PGraphics pg;

void setup() {
  size(640, 640, P2D);
  noSmooth();
  pg = createGraphics(32, 32);
  pg.noSmooth();
}

void draw() {
  pg.beginDraw();
  pg.background(128);
  pg.rect(4, 4, 16, 16);
  pg.endDraw();
  image(pg, 0, 0, width, height);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup