Hubs-Foundation / Spoke

Easily create custom 3D environments
Other
653 stars 256 forks source link

Not instanced models fully supported #1203

Open vortice3D opened 2 years ago

vortice3D commented 2 years ago

Hi there:

I have a scene that is made of a lot of instanced geometries. Its weight is about 40MB, mainly due to the PBR channel textures.

I can import it in a new scene of Spoke without any problem.

This said, when I try to publish this scene from Spoke to Hubs, the "Performance Check" dialog warns me about the size of the scene, that is then inflated to 179MB, preventing me from publishing it.

As I understand it, what had happened here is that, internally, all instances meshes have been converted to not-instanced counterparts.

Is this (not ideal) behavior being solved in a future release?

Thanks for your time.

JoseMigual commented 2 years ago

As far as I see people doing it, you can import a glTF model and start instancing it by hand.

That way may be great for small amount of instances, but not certaingly the way to go if you need to instance the same model thousand of times (like a repetitive ornament for example)

Could you confirm Spoke doesn't recognize instanced geometries inside a glTF model?

An if confirmed, are there any plans to fix that in a near future?

Thanks in advance for your help.