playcanvas / playcanvas/splat-transform

Suggestion on consolidating Spherical Harmonics data for LODs

Open
#128 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
168
Avg merge
7h 51m
Merged PRs (30d)
12

Description

Hi PlayCanvas

Good job on this!

I noticed that for LODs using Spherical Harmonics, each segmented meta.json file contains its own set of SH coefficients. Would it be possible to consolidate all SH coefficients and store them in just one of the model files instead?

Currently, storing them separately tends to increase the overall asset size and also makes loading and collecting the data less convenient.

Thanks for considering this suggestion!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how LOD segmented meta.json files store and load Spherical Harmonics coefficients. Determine which model file could own consolidated coefficients and define the loading behavior needed to avoid duplicated data while preserving access for every LOD.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.