cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

GltfGeometry rendering issue #722

Open 60-hz opened 7 months ago

60-hz commented 7 months ago

In GltfGeometry example, only the head2.glb file seems to work. Loading any other glb from cables.gl library or imported returns a "null" from the GltfGeometry op.

Load GltfDracoCompression library didn't help.

Tried with Chrome/Safari under MacOS, M1

pandrr commented 7 months ago

example please

60-hz commented 7 months ago

Ok, It looks like the user need to fill a "name" input in order to display a mesh. I expected GltfGeometry to display all meshes from the glb file by default. Maybe a little comment in the example would be helpful for newcomers like me.

steam0r commented 7 months ago

hey,

you can also use the "show structure" view (from GltfScene) to create these ops and save the typing.

i updated the example patch to hint to that. thanks!

60-hz commented 7 months ago

you can also use the "show structure" view (from GltfScene) to create these ops and save the typing.

Thanks, that's what I did yes.

i updated the example patch to hint to that. thanks!

Nice, example files are a great way to learn from cables.gl, I would be happy to help contributing later since I am now thinking about using it some design schools.

Keep up the good work!