-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm giving up with Google Filament for the web #1865
Comments
Thank you for your feedback! I'm sorry to hear that it didn't work out for you. Just so that we understand where the limitations are, your main issue is really related to the |
Yes @romainguy I confirm: for my needs the limitations are mainly related to the gltfio library and the fact that you cannot edit the loaded content after the imports. |
Thank you. Probably the best thing we could do for you would be to have a way to ask And do you want to be able to set features that are not supported by glTF too? You mentioned |
After studying the code for some days I've come up with the idea that the best thing you could do to allow potential editors would be:
The reasons I suggest only these two modifications are: Thanks for asking. |
I like the callback idea. Currently our We have also been thinking about making the ubershader mode more customizable. This might be useful for advanced users who are willing to run Somewhat unrelated, but I also think the clone() idea from #1513 would make gltfio usable in more scenarios. |
@Antonio-Sorrentini I haven't seen the 100% CPU usage bug you've described but it is very concerning -- please let us know if you manage to come up with repro steps. |
Absolutely @prideout but it was not CPU it were GPUs at 100%. It happened two times, in two different days. Should I see it again I'll send you all the html/js files that caused it. |
I'm giving up with Google Filament for the web.
I wanted to create A 3D online editor but after almost 3 weeks of tries I understand now that Filament is not made for this kind of uses. The javascript interfaces only offers "set" methods, which in itself would not be a showstopper but it becomes when you load things with gltf. Yes entities are there and you can add them to the scene, but it's almost just that, you cannot get the geometries and change them, you cannot get the materials and change them. Yes set methods are there, but not knowing the initial values is like being blind, and not only. You cannot choose which ubershader gltfio uses to import materials which means that if this ubershader does not offer you (as in fact it does not) the ability to customize parameters like reflectance or clearCoat (which in my opinion together with automatic shadows are the real strengths of Filament when compared to threejs, babylonjs, etc.) you cannot change those values even if you wanted to do that blindly without knowing the initial values. One could argue that the gltf ubershader does not handle those other paramenters because they are not communicable with gltft anyway, but that is not a good reason, of course after the import you could make changes if the ubershader allowed them. On the other side one could say that nothing prevents you from building the materials on your own and apply those to the imported entity. Yes it is true, but it's like rewriting the gltf importer on your own and at that point one wonders if it's easier doing that or building reflections and shadows on your own in other engines like threejs and the like and go with those other engine. I know it's not even remotely the same, otherwise I would have not started with Filament to begin with, but for now I'm forced to fallback to this other path, I need to have a prototype of what I'm trying to achieve as soon as possible, this is mandatory for me.
There is also a bug somewhere in Filament which sometimes causes the browser to consume 100% GPU (not CPU) forever even if nothing at all happens in the scene. I've tried all my best to make this reproducible but had no success, it seems to happens really randomly, and in the end I can't be sure if it's a Filament bug or a chrome one.
Anyway I like a lot Filament, and I'll continue to follow the project. I really hope that in the future I can switch back to it. In the meantime I'm strongly grateful for all the very quick answers I got from the people involved in this project. This has been very appreciated and gives me the confidence that the project will always move in the right directions.
Good luck and see you soon.
The text was updated successfully, but these errors were encountered: