Skip to content
New issue

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

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

Already on GitHub? # to your account

Rendering artifacts after upgrading Processing from version 3.3.7 to 4.3.1 #19

Open
ArtifactForms opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ArtifactForms
Copy link
Owner

ArtifactForms commented Dec 6, 2024

Issue Description

After upgrading the Processing library from version 3.3.7 to 4.3.1 in the latest patch, rendering problems are observed in the workspace. Specifically, visual artifacts occur when rendering meshes using the SpherifyModifier on a segmented cube.

Tests show that when using Processing 3.3.7 in combination with the latest JOGL dependencies, no rendering issues are present. However, switching to Processing 4.3.1 introduces visual anomalies.

Dependencies:

org.processing core 4.3.1 org.processing core 4.3.1

Test Case:

int segments = 50;
float size = 1.5f;
SpherifyModifier modifier = new SpherifyModifier();
SegmentedCubeCreator creator = new SegmentedCubeCreator(segments, size);
mesh = creator.create();
modifier.setFactor(1);
modifier.setRadius(5);
modifier.modify(mesh);

Observations

Expected Result (Processing 3.3.7):
Visual rendering works correctly without artifacts.
Expected behavior is observed with the above code snippet and the visual results as expected.

Observed Result (Processing 4.3.1):
Image 2 and Image 3 show visual artifacts.
These artifacts do not appear when using Processing 3.3.7, implying a regression introduced with the new version.

Attached Evidence

The following images highlight the issue:

Image 1: Expected rendering with Processing 3.3.7
Image 2 & Image 3: Artifacts introduced with Processing 4.3.1.

workspace-issue-1
workspace-issue-2
workspace-issue-3

Steps to Reproduce

Use the provided test case and code snippet with Processing 4.3.1.
Compare it visually to the same test with Processing 3.3.7.
Confirm rendering artifacts with visual anomalies as shown in Images 2 & 3.

The previous version Processing 3.3.7 does not exhibit these issues when used with the updated JOGL dependencies, and the rendering behaves as expected.

@ArtifactForms ArtifactForms added the bug Something isn't working label Dec 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant