Remix.run Logo
vessenes a day ago

Very cool - the post made me want to play the game, and check out lobster, but didn't link to it - lobster is open source: https://github.com/aardappel/lobster. It doesn't look like the voxel engine is, though, which is a bummer. On reflection, I'm guessing that game is built for mods, so that would be a path to getting to play with the engine side.

Aardappel 21 hours ago | parent [-]

Yes, only the lower layers are open source right now. We will eventually expose more, when modding will more stable, etc.

Right now the editor has a UI driven minimalistic language for specifying quests and other gameplay actions.

Aeolun 15 hours ago | parent | next [-]

What is the voxel resolution Voxile works at?

Also, does it have a single world grid? (I saw you say octree somewhere) or many separate elements?

Aardappel 13 hours ago | parent [-]

A voxel is about 2 inches / 5cm in size.

Yes there is a single world grid, so all world objects are axis aligned and same size.

On top of that it can have floating "sprites" which are used for monsters, particles and such.

OtomotO 20 hours ago | parent | prev [-]

Any ideas how to increase the render distance way further?

Because that's where I always get stuck. There are so many cool algorithms and ideas that I have like combining ray tracing with meshing and even like imposters for the distant chunks.

But this is getting very complicated with contrees and raytracing/marching etc.

Aardappel 20 hours ago | parent [-]

With raytracing having a far render distance is actually fairly cheap and simple compared to polygonal worlds (good looking LOD is hard).

Some reasons why we don't have a super far render distance, in order of importance:

The biggest is GPU memory. The octree that holds the world gets gigantic at large sizes. We'd have to swap parts out as the camera moves. We can do that but haven't gotten there.

Noise: raytracing looks incredibly noisy if you simply cast rays far into small geometry. Hence we even have LOD for blocks, even though they're not needed for efficiency, they're needed for visual stability.

If you're unlucky and a ray has a lot of near misses with geometry, it does more work than other rays and it causes GPU performance degradation. It's rare but to raytrace far you have to optimize for a certain amount of ray steps, we actually put a bound on this.

We find having fog gives some visual unity and sense of scale. With far away fog, the world looks VERY busy visually.

jfindley 16 hours ago | parent [-]

Is there any way to have something like a distance blur? e.g. as rays travel further you reduce the number, subsample then apply a gaussian(or algo of choice) blur across those that return, increasing in intensity as the rays angle gets coarser?

It'd be really neat to have some way of enabling really long-distance raytraced voxels so you can make planet-scale worlds look good, but as far as I'm aware noone's really nailed the technical implementation yet. A few companies and engines seem to have come up with pieces of what might end up being a final puzzle, but not seen anything close to a complete solution yet.

Aardappel 13 hours ago | parent [-]

Yup you could blur, but it is not cheap, and it doesn't feel very satisfying to look at blurry stuff in the distance.

We have a "depth of field" implementation for when you're in dialog with an NPC. There it looks nice, because you're focused on one thing. But when looking around its not that great.

Ideally you want it close to native res in the distance, but without any wobble produced by noise as you move. This is really hard.