processing / processing/processing4
noSmooth() still does not work in P2D/P3D
Offen
@Sumamasonia arbeitet bereits daran.
Seit 17.2.2026.
opengl
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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);
}
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.