playcanvas / playcanvas/engine

Extension of geometries/batch

Open
#9,110 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.