f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Unexpected point sprites location with a specific file (tube_254bones.glb)

Open mwestphal opened this issue 8 months ago • 4 comments

Describe the bug When showing the tube_254bones.glb with point sprites, the sprites seems to be both transformed and not transformed for some reason.

Image

Image

To Reproduce Steps to reproduce the behavior:

  1. Open the file using ./bin/f3d ../src/testing/data/tube_254bones.glb -o

Expected behavior Correctly placed point sprites

F3D Information Paste the content of f3d --version or f3d-console.exe --version on Windows: master

mwestphal avatar Apr 27 '25 10:04 mwestphal

Hi ! I took a closer look to this file, because it the source of 3 different issues (https://github.com/f3d-app/f3d/issues/2190, https://github.com/f3d-app/f3d/issues/2189, https://github.com/f3d-app/f3d/issues/2188) I tried to open it with Blender, I get this error :

Image

I tried with godot :

It's very strange because 2 meshs node were added

Image

And when I tried to validate it with glTF Validator I found many errors :

Image

Did you know how it was created ? where did the file come from ?

Ni-g-3l avatar May 07 '25 12:05 Ni-g-3l

It was generated by @snoyer in https://github.com/f3d-app/f3d/issues/1050

mwestphal avatar May 07 '25 14:05 mwestphal

I generated it with three.js as a minimal sample to hit the "too many bones" case and I did not check the validity at the time. I might still have the .js file somewhere if you need

snoyer avatar May 07 '25 15:05 snoyer

TBH if this issue is specific to that file and not generic at all, we dont really care much.

mwestphal avatar May 07 '25 15:05 mwestphal