Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marian42
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
1.
▲
by
marian42
8y ago
If you have two adjacent chunks, collapsing one will impose constraints on the other one. Even if the RNG part is deterministic, as you suggested, the result will be different depending on which chunk you collapse first.
2.
▲
by
marian42
8y ago
Each block has a probability of being selected. You could make this probability location dependent, for example by sampling a noise function. That way you get something like biomes.
3.
▲
by
marian42
8y ago
In the algorithm as it's described on that page, nothing is returned in case of a failure. I first implemented it so that single blocks would fail and a white cube would spawn at that position. Now, it uses backtracking. It keeps a his
4.
▲
by
marian42
8y ago
If you (or someone with a Mac) wants to create a build with the Unity Editor, I'll add it to the itch.io page.
5.
▲
by
marian42
8y ago
This is exacly it. Collapsing one area changes the possible blocks for nearby areas. If you use the same seed, you can still get different results by exploring places in a different order. Maybe there is a way to get around this though.
6.
▲
by
marian42
8y ago
My implementation keeps the entire world in memory, forever. This is obviously not desirable, but I didn't figure out a way around it. You can't generate a place again that you have been to because the result would be different. I
7.
▲
by
marian42
8y ago
Since the algorithm is not deterministic I imagine it would be a nightmare to make all clients see the same world. But I agree it would be fun!
8.
▲
by
marian42
8y ago
I don't currently have access to a Vive, but I worked with it earlier. All that needs to be done is add SteamVR to the project and hook up teleportation. That's it.
9.
▲
by
marian42
8y ago
Yes, it does. However the algorithm is not deterministic. If you close the game and start it again, you will see a different world.
10.
▲
by
marian42
8y ago
You're right. There is backtracking in the demo and when it happens it looks quite eerie. The world around you just decides it wants to look different and changes.
11.
▲
by
marian42
8y ago
In my case, the probabilites for each block are supplied manually.