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

Vulkan: Triangle glitch on a model with a rectangle hole due to automatic mesh LOD #58242

Open
Tracked by #57416
Acvarium opened this issue Feb 17, 2022 · 6 comments
Open
Tracked by #57416

Comments

@Acvarium
Copy link
Contributor

Godot version

v4.0.alpha2.official [79077e6]

System information

Ubuntu 21.10. nVidia GeForce GTX 870M with 470.103.01 driver. Vulkan

Issue description

A strange glitch, that I noticed on this model. Tested in blender, Godot 3.4.3 and F3D viewer. Does not show up in any of those, other then Godot 4.0 alpha 2 with bout Vulkan and Vulkan mobile render

scr2022-02-17_001

Steps to reproduce

Open minimal reproduction project or import model

Minimal reproduction project

triangle_glitch.zip

@Calinou
Copy link
Member

Calinou commented Feb 17, 2022

I can confirm this on master 1710211.

The triangle is only visible at certain viewing angles:

triangle_bug.mp4

Selecting the glb file in the FileSystem dock, going to the Import dock, disabling Generate Lods, clicking Reimport then reloading the saved scene fixes this issue. Therefore, this is caused by automatic mesh LOD.

@Calinou Calinou changed the title Triangle glitch on a model with a rectangle hole Triangle glitch on a model with a rectangle hole due to automatic mesh LOD Feb 17, 2022
@Calinou Calinou changed the title Triangle glitch on a model with a rectangle hole due to automatic mesh LOD Vulkan: Triangle glitch on a model with a rectangle hole due to automatic mesh LOD Feb 17, 2022
@fire
Copy link
Member

fire commented Feb 17, 2022

I think this is an upstream bug, might be easily fixable.

Confirmed.

Upstream is https://github.com/zeux/meshoptimizer

@fire
Copy link
Member

fire commented Jan 16, 2023

May be fixed by #70446

@clayjohn clayjohn modified the milestones: 4.0, 4.x Jan 18, 2023
@fire
Copy link
Member

fire commented Feb 22, 2023

I think this is fixed by #70446. Like in the latest rc3.

@akien-mga
Copy link
Member

Still reproducible in 4.0 RC 3:

image

@fire
Copy link
Member

fire commented Jun 13, 2023

Maybe fixed now I can't find the angle that fails.

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

6 participants