Is there any possibility that the ShapeDiver tool to export in glTF comes from GH and not from Rhinoceros plugin?
It would be great to be able to do this; I want to export scenes quickly from Grasshopper without baking all the geometries and prepare the scene in Rhinoceros. For example, I have multiple iterations from a GH definition, and I want to automate the creation of glTF for the different results.
As for my plugin, you may use “Export As” to export to any format Rhino supports, which includes glb, if you have ShapeDiver’s plugin installed. Set the output file’s extension as glb, and the plugin will take care of it.
I will try how the export works. It looks pretty good!, I didn’t know that the plugin allowed to export in other rhino formats. I thought you could only choose the ones that came out in the output icons. Thanks!
I think @snabela in this post talks about glb and glTF export.
It depends on how ShapeDiver’s plugin will export. But sadly it may not work as what you said.
Pancake itself requires all input as lists (or one single item), so it is flattened as tree structure is not preserved. The result will be just like you bake geometry and conduct a glTF export from Rhino’s menu.
I have been testing the pancake export as plugin with .glb to save as gltf. The file exports, but when inputting the options as_Materials=Yes _MaterialSource=DisplayColor When I bring the exported gltf file into Three.js editor or even my own editor it shows as only black. When I export the geometry from rhino by selecting it and going through export selection it shows in three.js editor with the display colors.