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

Occluder instance rotation error and size error when importing GLB files #92106

Open
XiaTiny opened this issue May 19, 2024 · 0 comments
Open

Comments

@XiaTiny
Copy link

XiaTiny commented May 19, 2024

Tested versions

Reproducible in: v4.3.dev6.mono.official and v4.2.2.stable.mono.official

System information

Godot v4.3.dev6.mono - Windows 10.0.14393 - GLES3 (Compatibility) - ANGLE (AMD, AMD Radeon HD 7560D (0x00009904) Direct3D11 vs_5_0 ps_5_0, D3D11-8.17.10.1433) () - AMD A8-5600K APU with Radeon(tm) HD Graphics (4 Threads)

Issue description

After importing the glb file, double click the file to see the import preview and set generate/occluder to "Mesh + Occlude", the size and rotation orientation of OccluderInstance3D is wrong.
For example, in the scene test1.glb, the parent node of the mesh is scaled to 0.01, but the generated OccluderInstance3D is scaled to 1.
Another example is that the parent node of the mesh in scene test2.glb is rotated by an x-angle of -90, but the resulting OccluderInstance3D has a rotation angle of 0.
In the normal case the generated OccluderInstance3D should be multiple and the parent nodes are the corresponding meshes.
But the OccluderInstance3D created by import is a separate node under the scene root node.
I don't know if this happens when importing other types of files (e.g. FBX)

Steps to reproduce

Double click on the imported GLB file to see the import preview and set generate/occluder to "Mesh + Occlude "
Open the imported scene to see the error
OX_D1J3}A($W0STESY45E

Minimal reproduction project (MRP)

occluderinstancerotationerror.zip

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