~/talk

3D content with Compose Multiplatform

Talkat droidcon London 2025 · 2025-10-30..10-31· [android, creative-coding]
slides:none on file

Combining Compose Multiplatform with real 3D engines proves trickier than it sounds because Compose/Skia uses 2D orthographic rendering while 3D engines require a perspective camera, so mixing projections in one scene breaks the pipeline. Practical approach uses Filament plus platform bridges: SurfaceView on Android, MTKView on iOS and a Swing/JPanel + JNI path on desktop. A working sample renders models (glTF), Android/iOS run fine, desktop needs manual native libs or Java 21 foreign memory workarounds, and transparency and CocoaPods integration remain unresolved.

AI-written summary · about

  1. 0:00Introduction
  2. 1:113D in 2D scenes challenges
  3. 2:37Skia and 3D rendering limits
  4. 5:28Shaders and matrices in 3D
  5. 6:33Perspective projection issues
  6. 8:00XR demos vs 3D in 2D
  7. 9:263D inside Compose Multiplatform
  8. 11:58Choosing a 3D engine
  9. 13:25Unity and Unreal limitations
  10. 14:11Filament for Compose Multiplatform
  11. 16:00Filament on Android setup
  12. 19:55Filament on iOS with CocoaPods
  13. 22:00Filament desktop challenges
  14. 25:513D models and glTF format
  15. 27:37Compose for Web unsupported
  16. 29:01Future improvements
  17. 30:04Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.