processing / processing/processing4
noSmooth() still does not work in P2D/P3D
Đang mở
@Sumamasonia đang làm issue này rồi.
Từ ngày 17/2/2026.
opengl
- Ngôn ngữ chính
- Java
- Star
- 494
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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);
}
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.