jMonkeyEngine / jMonkeyEngine/jmonkeyengine
Suggestion: accept 'seed' parameter for terrain.ParticleDepositionHeightMap
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
The common design pattern for most of the random-based HeightMap generators (HillHeight, FaultHeight, ..) is to accept a 'seed' value for the random number generator. This is very useful for testing/debugging when you want to generate the same pattern over and over again. I am not seeing anything in ParticleDepositionHeightMap that would preclude this as an option.
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
Locate the terrain.ParticleDepositionHeightMap implementation and compare its random-number handling with the other random-based HeightMap generators, such as HillHeight and FaultHeight. Add support for a seed parameter so repeated generation produces the same terrain pattern, and verify the existing generation behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100