Use Noise for Voxel Generation?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue provides a C# snippet using Unity.Mathematics.noise.snoise for voxel generation, but names no repository files, tests, or entry points. First clarify the intended voxel-generation behavior and how solidity should be determined; the work is complete when that design is implemented and its expected voxel output is verified.
Written by the indexing model from the issue text.
Description
``Hi,
iam currently have no plan how to use the snoise function for my voxels.
`int x = i / (renderDistance * renderDistance);
int y = (i - x * renderDistance * renderDistance) / renderDistance;
int z = i - x * renderDistance * renderDistance - y * renderDistance;
float noise = Unity.Mathematics.noise.snoise(new float3(y, x, z)) * scale;
if (y < noise) {
part.solid = true;`
something like that will be. A flatten 3 dimensional array with all positions, then calculate noise on that positions and scale it a bit. next is the problem. How to check if Position at specifig Height should be solid or not?
Thank you
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from Unity-Technologies/Unity.Mathematics
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Unity-Technologies/Unity.Mathematics#245 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Unity-Technologies/Unity.Mathematics#243 · 6 reactions ·
All issues in Unity-Technologies/Unity.Mathematics
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100