Releases: playcanvas/splat-transform
Releases · playcanvas/splat-transform
v1.1.0
What's Changed
- Add TypeDoc API Reference Documentation by @willeastcott in #145
- Add CommonJS build by @willeastcott in #147
Full Changelog: v1.0.0...v1.1.0
v1.0.0
SplatTransform v1.0.0
We're excited to announce SplatTransform v1.0.0 - a major milestone that transforms the project from a CLI-only tool into a full-featured library with programmatic API support for both Node.js and browser environments.
Highlights
- Library API: SplatTransform can now be imported as a library in your JavaScript/TypeScript projects
- Cross-Platform: Works in both Node.js and browser environments
- Streaming File Systems: Flexible file system abstractions for reading from URLs, memory, or ZIP archives
- Statistical Summaries: New
--summaryaction for data analysis
New Library API
import {
readFile,
writeFile,
getInputFormat,
getOutputFormat,
DataTable,
processDataTable,
UrlReadFileSystem,
MemoryFileSystem
} from '@playcanvas/splat-transform';Key Exports
| Export | Description |
|---|---|
readFile / writeFile |
Read and write splat data in various formats |
DataTable, Column |
Core data structures for splat data |
processDataTable |
Apply transformations, filters, and actions programmatically |
computeSummary |
Generate statistical summaries for data analysis |
UrlReadFileSystem |
Read from URLs (browser/Node.js) |
MemoryReadFileSystem |
Read from in-memory buffers |
ZipReadFileSystem |
Read from ZIP archives |
MemoryFileSystem / ZipFileSystem |
Write to memory or ZIP archives |
New Features
- Statistical Summary Action (
-m, --summary): Generate per-column statistics including min, max, median, mean, stdDev, nanCount, and infCount - Configurable WASM URL: Browser bundlers can now configure the WebP WASM module location
- Improved K-Means Initialization: Better clustering for SOG compression
Breaking Changes
- PlayCanvas is now a peer dependency: Install
playcanvasalongside@playcanvas/splat-transform - Node.js Buffer removed: All internal code now uses
Uint8Arrayfor cross-platform compatibility
Installation
# CLI usage
npm install -g @playcanvas/splat-transform
# Library usage
npm install @playcanvas/splat-transform playcanvasFull Changelog
Architecture
- Refactored to Library + CLI architecture (#137)
- Streaming Read API and directory restructuring (#135)
- Simplified GPU device architecture with dependency injection (#136)
- Generic writer interface (#124)
New Features
- Statistical summary action (#139)
- Configurable WASM URL for browser bundlers (#143)
- Improved k-means initialization (#127)
Compatibility
- Removed Node.js Buffer dependency in favor of Uint8Array (#142)
- Graceful failure when no LODs are assigned (#132)
Infrastructure
- Added comprehensive test suite (#140)
- Replaced custom path utilities with
pathelibrary (#138) - Updated all npm dependencies (#129)
Thank you to everyone who contributed to this release!
v0.17.1
v0.17.0
What's Changed
- Add generic writer interface by @slimbuck in #124
- Improve kmeans init by @slimbuck in #127
- Update all npm dependencies by @renovate[bot] in #129
- Fail gracefully if no lods are assigned by @slimbuck in #132
- Rebuild webp module by @slimbuck in #133
- Streaming Read API and Directory Restructuring by @slimbuck in #135
- Simplify GPU Device Architecture and Improve Dependency Injection by @slimbuck in #136
- Refactor: Library + CLI Architecture by @slimbuck in #137
- Replace custom path utilities with
pathelibrary by @slimbuck in #138 - Add Statistical Summary Action by @slimbuck in #139
- Add test suite by @slimbuck in #140
- Update readme to include new library usage by @slimbuck in #141
- Remove Node.js Buffer dependency in favor of Uint8Array by @slimbuck in #142
- Add configurable WASM URL for browser bundler compatibility by @slimbuck in #143
Full Changelog: v0.16.1...v0.17.0
v0.16.1
What's Changed
- Fix type error on early termination of kmeans for very small datasets. by @Frenchman997 in #117
- Support loading PLYs with extra data by @slimbuck in #119
- Code refactor by @slimbuck in #121
New Contributors
- @Frenchman997 made their first contribution in #117
Full Changelog: v0.16.0...v0.16.1
What's Changed
- Fix type error on early termination of kmeans for very small datasets. by @Frenchman997 in #117
- Update all npm dependencies by @renovate[bot] in #118
- Support loading PLYs with extra data by @slimbuck in #119
- Code refactor by @slimbuck in #121
New Contributors
- @Frenchman997 made their first contribution in #117
Full Changelog: v0.16.0...v0.16.1
v0.16.0
What's Changed
- Support outputting an unbundled HTML viewer by @willeastcott in #113
- Small code cleanup by @slimbuck in #114
- Add GPU Selection for SOG Compression by @willeastcott in #115
Full Changelog: v0.15.2...v0.16.0
v0.15.2
v0.15.1
v0.15.0
v0.14.2
What's Changed
Full Changelog: v0.14.1...v0.14.2