Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Visual artifacts in rendering specific GLTF #27842

Closed
dxdc opened this issue Feb 28, 2024 · 4 comments
Closed

Visual artifacts in rendering specific GLTF #27842

dxdc opened this issue Feb 28, 2024 · 4 comments
Milestone

Comments

@dxdc
Copy link

dxdc commented Feb 28, 2024

Description

When rendering a GLTF file (attached), unexpected visual artifacts appear in the form of distorted mesh patterns on the surfaces of the 3D model. The issue manifests as a series of sharp, triangular shapes that do not align with the intended smooth surface of the model. This phenomenon is particularly evident on the green and blue colored meshes, as observed in the attached screenshot.

This phenomenon is also quite readily apparent using the glTF Viewer. Interestingly, if you toggle wireframe in display (for example), these distorted mesh patterns disappear and go back to rendering properly.

molecule-06 (4).gltf.zip

Reproduction steps

  • Load the provided GLTF file into the Three.js environment (see live example).
  • Render the model using the standard mesh and material configurations.
  • Observe the surfaces of the model, particularly the areas where color transitions occur.

Code

// code goes here

Live example

Screenshots

Screenshot 2024-02-28 at 2 19 25 PM

Version

r161

Device

Desktop

Browser

Chrome

OS

MacOS

@dxdc
Copy link
Author

dxdc commented Feb 28, 2024

(e.g., after toggling the wireframe on/off)

image

@Mugen87
Copy link
Collaborator

Mugen87 commented Feb 29, 2024

I'm not seeing these artifacts on my macMini with macOS 14.3.1 and Chrome 122.0.6261.94.

This could be a device specific issue. Do you mind upgrading macOS and Chrome to the latest version (if possible)?

@dxdc
Copy link
Author

dxdc commented Feb 29, 2024

@Mugen87 thanks for the quick follow up.

I just updated Chrome to 122.0.6261.94 and running Ventura 13.6.4.

I don't see this issue on the live example I sent any longer, but I still do see it on the glTF Viewer in Chrome. Are you able to reproduce it there?

Interestingly, Firefox 123.0 does not have this issue nor does Safari 17.3.1.

EDIT:

Now, I do see it on the live example again. It does seem somewhat intermittent. This variation is a little easier to see:

image

@Mugen87
Copy link
Collaborator

Mugen87 commented Feb 29, 2024

I don't see this issue on the live example I sent any longer, but I still do see it on the glTF Viewer in Chrome. Are you able to reproduce it there?

I can't reproduce the issue. This is a screenshot from the viewer:

image

This looks like a browser or device specific issue. Unfortunately, we don't support them here unless more users are affected by it so ideally this is reported to the respective browser vendors.

However, investigating such issues is very hard so before your report it would be ideal if you do some additional tests on your side and test on different Apple devices. If there is only an issue on a single device, this might be more unlikely to get fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants