@manycore/aholo-viewer
@manycore/aholo-viewer is the full-featured npm package for building browser-based Aholo Viewer applications. It includes the rendering runtime and TypeScript declarations for rendering 3D Gaussian Splatting (3DGS) and mesh content in WebGL/WebGL2-capable browsers.
Install
npm install --save @manycore/aholo-viewer
The package is ESM-only and ships TypeScript declarations through dist/index.d.ts.
Quick Start
Follow the Getting Started guide to create a Vite app, initialize a viewer, load a 3DGS splat, and render the first frame.
Splatting Configuration
Configure offscreen composition and tone mapping through pipeline.Splatting.composite:
import { setViewerConfig, ToneMapping } from '@manycore/aholo-viewer';
setViewerConfig(viewer, {
pipeline: {
Splatting: {
enabled: true,
composite: {
enabled: true,
highPrecisionEnabled: true,
toneMapping: ToneMapping.Neutral,
exposure: 1,
},
},
},
});
When upgrading, move the former Splatting.toneMapping fields into Splatting.composite and remove pack.sortedLayoutEnabled. Set composite.highPrecisionEnabled: true to retain the floating-point intermediate buffer previously enabled by tone mapping. See the configuration migration guide and changelog for details.
For chunk LOD, SplatUtils.LodConfig.pixelLimitEnabled defaults to true. Set it to false to allow refinement beyond the viewport-based sampling limit while retaining the level and point-budget constraints.
Documentation
License
MIT