Skip to content

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

@ArtifactForms

Description

@ArtifactForms

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions