Online3DViewer icon indicating copy to clipboard operation
Online3DViewer copied to clipboard

Blender Import - Collections Group, Mesh list

Open Voleybot opened this issue 2 years ago • 5 comments

I would love to see importing information from Blender with groups, and have options to hide all objects in that collection (like in blender) - that could make possible investigation complicated model really much faster.

That helps a lot to basically leave my laptop and have every information in my phone.

Voleybot avatar Feb 12 '22 09:02 Voleybot

Blender import is tricky. The Blender file format is just a binary dump of the internal structure, so versioning is a big issue. I managed to create a prototype with js.blend earlier, but it was only geometry. Blender files often contain node-based materials so there is no chance to evaluate materials.

On the other hand, glTF export in Blender is pretty good, and it show the hierarchy as well. I recommend exporting your models to glTF if that's an option.

kovacsv avatar Feb 12 '22 12:02 kovacsv

Hmmmm, i just try it and in glTF just dosent show even names of objects in my case, i dont know what i am doing wrong...

I chceck - in fbx is better, but collections dosent shown, or any group - just list of objects :/

Here is my test file - if i am doing something wrong (blend, fbx and gltf) : https://we.tl/t-2tWstk784Q

If you manage to check and test it it would be cool :)

Voleybot avatar Feb 12 '22 17:02 Voleybot

Oh, it seems that Blender doesn't export hierachy to glTF, and uses mesh names only (this issue might be related). Fbx is a bit better, but seems like it misses the hierarchy, too. So it seems that it's something that should be fixed on Blender size.

kovacsv avatar Feb 13 '22 06:02 kovacsv

Hello, Blender does manage hierarchy during glTF export (or please open a bug report with your test case). I am talking here about parent/child hierarchy. Collection is not part of the hierarchy, this is something quite different, and has no direct equivalent in glTF specification.

julienduroure avatar Mar 08 '22 15:03 julienduroure

I added Empties in my blend file to sort my model into hierarchies then exported as GLB: https://3dviewer.net/#model=https://dl.dropbox.com/scl/fi/xiklpa7n83lgwb3lmdg76/skeletonstanding_labels_beige.glb?rlkey=xuc8n69otmjqt9c9fhvzld095&dl=0.

terrielsimmons avatar Oct 01 '23 11:10 terrielsimmons