f3d
f3d copied to clipboard
Consolidate WebASM feature
WebASM is useful to embed F3D in a web page.
It could be useful for live examples in the documentation, or even be integrated by users in their web project.
We are already compiling libf3d in the CI so we know it's already working.
However, only some basic tests have been done as a proof of concept but there are probably a lot of issues to fix.
Here are a few related subtasks:
- [ ] Complete all the missing bindings (see https://github.com/f3d-app/f3d/blob/master/webassembly/F3DEmscriptenBindings.cxx): https://github.com/f3d-app/f3d/issues/1573
- [x] Test all the different rendering styles and options to determine what is working, and what's broken
- [x] Add some CMake logic to embed user files into the javascript library
- [x] Can we open external files located on the server or is it sandboxed?
- [ ] Create more examples
- [x] Package it properly for the release
- [x] Fix touch interaction so it works in mobile browser
- [x] Add more features and controls to https://f3d.app/web/
- [x] Update WASM code and CI once https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11178 is merged
- [x] Fix a first render issue: https://github.com/f3d-app/f3d/issues/1506
- [ ] Fix an aliasing issue: https://github.com/f3d-app/f3d/issues/1555
- [ ] Add more dependencies: USD (https://github.com/f3d-app/f3d/issues/1676), ...
- [ ] Add yet more featyres to F3DWeb: : https://github.com/f3d-app/f3d/issues/1463
- [ ] https://github.com/f3d-app/f3d/issues/2307
- [x] https://github.com/f3d-app/f3d/issues/2309
- [ ] https://github.com/f3d-app/f3d/issues/2308
Added a few more items
I checked a few items.