jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Cleaner interface for instancing (?)

Open
#1,023 37 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
4d 7h
Merged PRs (30d)
14

Description

Instancing is implemented with InstancedGeometries and InstancedNodes but but those classes carry a lot of internal code to perform transparent instancing for the developer. I think the engine should provide also a way to perform "raw" instancing in a cleaner manner.

Possible implementation: https://gist.github.com/riccardobl/0a5e87625dd1d1c8bbc9cdd2d9ae13e6

An important use case for this is for high performance particles rendering.

Thoughts?

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

Start by reviewing the existing InstancedGeometries and InstancedNodes implementation, then compare it with the raw-instancing proposal in the linked gist. The work would be complete when the engine provides a cleaner raw instancing interface that supports high-performance particle rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
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.