Skip to content

[Rendering] Terrain Engine #38

Closed
Closed

Description

@michaelsakharov

Terrain is gonna be an interesting topic for Prowl.

We want Voxel support however regular voxels can be quite expensive, and we also want regular Quadtree terrain for maximum performance.

The idea I'm thinking of now is a Regular quadtree terrain, But with a VoxelSystem that can complement it.
Kinda like Digger PRO for unity, but that can also work independently.

So Essentially two Independent systems but that can work seamlessly together.

Ideally, both systems are flexible and can be rotated/scaled and altered in all the ways you might expect.
It should be possible to do Planets for example with just the Quadtree, Just voxels, or both together.

For now, I think the voxel side should be more Scripting than In Editor, the Terrain will have support built-in you can toggle on.

Activity

  1. added this to the 1.0 Release milestone on Sep 17, 2024
  2. removed this from the 1.0 Release milestone on Oct 19, 2024
  3. PaperPrototype commented on Oct 25, 2024

    @PaperPrototype
    Contributor

    What about transvoxel? If you use purely an Octree then you could apply "height" based edits like a normal Quadtree terrain, but then seamlessly add caves, overhangs etc

  4. michaelsakharov commented on Oct 25, 2024

    @michaelsakharov
    ContributorAuthor

    Yes but at a significant cost to performance.
    Octree LOD is significantly more expensive than quadtree, and transvoxel is even more costly than just height on a plane.
    We need something blazing fast by default, that can run on a mobile phone without many hiccups.

    The completed terrain engine probably will allow for overhangs and caves, just not through having the entire terrain be voxels, but instead, a hybrid, where everything is quadtree until you edit an area, upon which that area turns to voxel chunks.
    Though it probably won't be transvoxel and instead just regular marching cubes.

  5. PaperPrototype commented on Oct 25, 2024

    @PaperPrototype
    Contributor

    Alright, makes sense. In that case I'm gonna try and get heightmap terrain working in Prowl as a test.

  6. Shadowblitz16 commented on Dec 21, 2024

    @Shadowblitz16

    Please don't force transvoxel, it would be nice to have cubic voxels.

    I always thought it would be cool to have a 1/16 unit sized voxel engine with support for sloping and curves simular to how dual universe has it. starbound is 2d but kinda the same art style where in starbound's case there is tiles and furniture that has slopes and curves to it.

    in starbounds case slopes don't nullify strait tiles. you only get slopes on sloped tiles if they are diagnal from each other, two tiles strait from each other still form a flat edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions