processing / processing/processing4

noSmooth() still does not work in P2D/P3D

Aperta
#951 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@Sumamasonia ci sta già lavorando.

Dal 17/2/2026.

opengl
Lingua principale
Java
Stelle
494
Fork
183
Merge medio
4h 39m
PR unite (30g)
3

Descrizione

The issue with noSmooth() not functioning correctly in P2D and P3D has persisted since Issue #5363 which was first reported by @clankill3r in 2018. Several workarounds have been suggested, but the underlying problem remains unresolved in 2025.

See the original thread for more details.

Steps to Reproduce

A minimal example demonstrating the issue:

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);
}
Image

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.