playcanvas / playcanvas/engine
Extension of geometries/batch
Open
Nobody has claimed this yet.
area: graphics
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
PlayCanvas currently lacks a direct API for merging meshes without relying on batching, similar to existing creation methods. It would be useful to have the ability to:
- merge multiple buffers/meshes into a single mesh,
- validate which models can be combined into one mesh based on batching constraints,
- perform static batching or buffer concatenation at the model level.
Suggested API:
/**
convertVertex = true transforms all vertices into a unified coordinate space relative to root.
*/
concatMeshes(meshes: pc.Mesh[], root: pc.Entity, convertVertex: boolean): pc.Mesh
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Begin by mapping the existing mesh-creation and batching APIs, then define the supported merge and validation behavior; done means an API can merge compatible meshes and address the listed model-level batching cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100