Git Product home page Git Product logo

Comments (4)

emre-sahinn avatar emre-sahinn commented on June 15, 2024

image

from marching-cubes-on-unity-3d.

Javier-Garzo avatar Javier-Garzo commented on June 15, 2024

Achieve a result of a minecraft style need the correct use of interpolation for generate that type of cube style.

The interpolation allow to hide that slope that you post in your images. Just check this image to get the idea:
image

Check the difference with no interpolation in the marching cubes.
Interpolation:
image

No interpolation:
image

You can see that the interpolation and the correct weight of the vertex is necessary to achieve the cube style.

I have been trying a write code for generate the correct type of terrain modification for this problem unsuccessfully.
I am researching for the problem/bug/bad implementation that now allow me to generate this type of terrain.

from marching-cubes-on-unity-3d.

emre-sahinn avatar emre-sahinn commented on June 15, 2024

Achieve a result of a minecraft style need the correct use of interpolation for generate that type of cube style.

The interpolation allow to hide that slope that you post in your images. Just check this image to get the idea: image

Check the difference with no interpolation in the marching cubes. Interpolation: image

No interpolation: image

You can see that the interpolation and the correct weight of the vertex is necessary to achieve the cube style.

I have been trying a write code for generate the correct type of terrain modification for this problem unsuccessfully. I am researching for the problem/bug/bad implementation that now allow me to generate this type of terrain.

I think we need a custom triangulation table to prevent those slope areas, I don't need slopes I just need the flexibility of marching cubes but with a Minecraft look. Do you have any idea to remove all of the slopes? I just need sharp edges.

from marching-cubes-on-unity-3d.

Javier-Garzo avatar Javier-Garzo commented on June 15, 2024

But you want a cube terrain like minecraft, because if you want a minecraft looking game, you need a voxel terrain, that type of terrain have a flexibility similar to the marching cubes, so maybe it's a better solution.

from marching-cubes-on-unity-3d.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.