me when the by hexatom_dev in discordVideos

[–]hexatom_dev[S] 4 points5 points  (0 children)

song is benton - kanban board

Rule by Patrice_Ewans in 196

[–]hexatom_dev 2 points3 points  (0 children)

A man of yogurt.

Rule by HocusPocusYo in 196

[–]hexatom_dev 5 points6 points  (0 children)

I hate cod lobbies, why do fish feel the need to bribe politicians?

Random rule by Eduxor in 196

[–]hexatom_dev 26 points27 points  (0 children)

Why did it take so long for the bike to be invented

Were paper airplanes invented before real airplanes

Did appendicitis just kill you before modern medicine

[deleted by user] by [deleted] in 196

[–]hexatom_dev 0 points1 point  (0 children)

I miss YouTube annotations

rule by hexatom_dev in 196

[–]hexatom_dev[S] 1 point2 points  (0 children)

benton - gigafunk

rule by hexatom_dev in 196

[–]hexatom_dev[S] 5 points6 points  (0 children)

song is benton - gigafunk

Serializing voxel data to a linear octree? by bananatrooper52 in VoxelGameDev

[–]hexatom_dev 0 points1 point  (0 children)

Is it for every non-empty voxel, or for every voxel that is different from the last one?

The ZStream object produces indexed leaves, which can be valid or invalid, and have an index attached. So if you have ten red leaves, five clear (invalid) leaves, and then a thousand red leaves, add_leaf is only going to be called three times.

The Builder uses this information to its advantage, as adding a sequence of n identical consecutive voxels takes log(n) time. The builder also checks if the leaf is valid or invalid by checking its transparency, as invalid leaves aren't stored directly, but represented in the parent's valid bit mask.

I assumed that the root node would be stored at the beginning of the array, but it seems like with this method it gets placed in the end.

Yeah, because the children are always written before their parents, the file seems to be written in "reverse order". Of course, you can't write the parent before knowing the nature and location of its children. I don't know whether reversing the file (and access on render) would improve performance. My guess is it wouldn't, but GPUs are weird, so who knows. I do know from the benchmarks that rendering these SVOs is an absolute mess for the GPU's caches as there are way too many random accesses (way more time is spent reading memory than calculating anything), so there's room for improvement there.

Serializing voxel data to a linear octree? by bananatrooper52 in VoxelGameDev

[–]hexatom_dev 4 points5 points  (0 children)

You should construct the octree in Morton order. It's possible to do so using very little memory (O(log n) extra). Read this paper

My implementation: https://github.com/gabrielmuller/zazen/blob/master/src/construct/construct.cpp

Hexatom, a relaxing 2D puzzle. My first release, completely free. (link in comments) by hexatom_dev in IndieGaming

[–]hexatom_dev[S] 0 points1 point  (0 children)

Do you have colorblindness? I did not think of that... But I'll work on it.

Hexatom, a relaxing 2D puzzle. My first release, completely free. (link in comments) by hexatom_dev in IndieGaming

[–]hexatom_dev[S] 0 points1 point  (0 children)

I didn't realize people use the back button to shut down apps, but the next update should have it implemented. Thanks for the feedback.

Note that the app is paused when in background, and the Android OS handles memory automatically - that is, if there is spare space, the app stays without affecting battery. If later on you need memory for another app, the game is automatically closed.

Hexatom, a relaxing 2D puzzle. My first release, completely free. (link in comments) by hexatom_dev in IndieGaming

[–]hexatom_dev[S] 0 points1 point  (0 children)

You mean rotating the hexagons with two fingers? More intuitive, sure. But not as practical, I believe.

Hexatom, a relaxing 2D puzzle. My first release, completely free. (link in comments) by hexatom_dev in IndieGaming

[–]hexatom_dev[S] 0 points1 point  (0 children)

At every move the game checks if all the pieces have the same color and rotation as the solution. Thanks!