Re:Filament (3D renderer from Google) for the Web
by flohofwoe on Saturday November 03, 2018 @08:11AM
(#18369832)
For a multi-platform C++ project, these are quite reasonable prerequisites, as bad as it looks at first glance.
Also AFAIK, to dabble with the web version, just download filament-*web.tgz file here: https://github.com/google/filament/releases, this contains a .wasm and .js file you can copy into your project (and soon this will most likely be on npm).
Expecting a JS user to compile an emscripten project would be a bit much to ask ;)
Re:Filament (3D renderer from Google) for the Web
by zeroname on Saturday November 03, 2018 @09:10AM
(#18370014)
> For a multi-platform C++ project, these are quite reasonable prerequisites, as bad as it looks at first glance.
For anything C++ coming out of Google, it's shockingly reasonable.
Re:Filament (3D renderer from Google) for the Web
by slavik81 on Saturday November 03, 2018 @09:31AM
(#18370080)
It depends what you compare it against. The project is tiny compared to UE4.
Filament is still a little tricky to build from source. They only seem to have a handful of developers and it's pretty new. The build process and tool version requirements are mostly whatever they use themselves. I think this library really exists to support the Android AR stuff.
Re:Filament (3D renderer from Google) for the Web
by izacus on Saturday November 03, 2018 @07:44AM
(#18369756)
All of what you listed is build tooling, not something that gets linked into end binary. It's pretty standard fare for C++ projects.
Re:Filament (3D renderer from Google) for the Web
by TekMol on Saturday November 03, 2018 @08:08AM
(#18369823)
That's a complex standard. I would think 'g++ theproggy.cpp' should be enough.
Re:Filament (3D renderer from Google) for the Web
by flohofwoe on Saturday November 03, 2018 @08:13AM
(#18369844)
It's a cross-platform project which needs to access system APIs. For instance on Linux you need to install a number of required development packages for this. Similar details on other platforms.
Re:Filament (3D renderer from Google) for the Web
by TekMol on Saturday November 03, 2018 @11:58AM
(#18370814)
Ok, but I am only interested in the web version.
Re:Filament (3D renderer from Google) for the Web
by slavik81 on Saturday November 03, 2018 @09:40AM
(#18370111)
The sample app loads HDR images, compiles and optimizes GLSL shaders, loads PNG textures, processes mesh data, has GUI controls, and more. You didn't even list half the dependencies—they're vendored under "third_party/"
Re:Filament (3D renderer from Google) for the Web
by RomainGuy on Monday November 05, 2018 @07:55PM
(#18387441)
The engine itself only has two external dependencies: STL (internal use only, not part of the APIs) and robin-map. The (optional) Vulkan backend adds a third one: vkmemalloc.
The host tools (material compiler, etc.) do have more dependencies indeed.
Re:Filament (3D renderer from Google) for the Web
by sureaboutthis on Saturday November 03, 2018 @10:03AM
(#18370187)
If only someone knew how to use Unix/BSD/Linux as their IDE with all the built-in tools.
And then on the GitHub page they write:
(I only copied the parts that seem necessary to get the web version working.)Now I am confused. I thought it would be a few cpp files that I can compile to webassembly and thats it. Is the above really considered a small lib with very few dependencies?