Skip to content

React Native native view support for Spark / 3DGS rendering #381

Description

@xiaokhkh

Hi Spark team,

I'm exploring a React Native native-view integration path for Spark and opened a placeholder coordination repo here:

https://github.com/xiaokhkh/react-native-spark-3dgs

Motivation

Spark already works well as a Three.js + WebGL2 renderer on the web, including mobile browsers. For React Native apps, the current practical option seems to be running Spark inside a WebView. That works for proof-of-concepts, but it is not ideal for products that need:

  • a real native RN view
  • tighter gesture/camera integration with RN UI
  • native file access and streaming
  • better control over memory, lifecycle, and thermal behavior
  • possible WebGPU / Metal / Vulkan backends in the future

Questions

  1. Is React Native support planned or considered in scope for Spark?
  2. Would the recommended path be:
    • WebView running the existing WebGL2 build,
    • react-native-webgpu / WebGPU backend,
    • or a native C++ / Metal / Vulkan renderer that reuses Spark's data formats and LoD pipeline?
  3. Are Spark's loaders, packed splat formats, LoD, and .RAD paging components separable enough to reuse outside the current Three.js/WebGL renderer?
  4. Would maintainers be open to an experimental RN-native adapter package if the community prototypes one?

Desired outcome

A React Native integration path that can eventually support Spark-scale scenes on mobile, while preserving the existing Spark asset pipeline and LoD/paging design where possible.

Thanks for any guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions