Git Product home page Git Product logo

fast_dual_contouring's Introduction

This project contains a fast implementation of Dual Contouring -- or more accurately a simplified version of the algorithm. No octree is constructed, instead a regular grid is contoured (much like the leaf node grid in the original DC algorithm) & the resulting mesh is simplified using my mesh simplifier. Additionally the demo project implements the "super primitive" density function which is a single function which can be configured to represent a wide variety of volumes.

The demo makes use of my SIMD QEF implementation both for the voxel vertex placement and for the mesh simplification vertex placement. I've included the latest code for both the mesh simplifier and the SIMD QEF directly in the project.

The demo depends on Dear ImGui, SDL2, GLM and GLEW. I don't think the particular version matters, the demo project expects these to exist in the solution directory.

A pre-compiled x64 executable is included with the SDL2 and glew DLLs.

The controls are: - hold left mouse and drag to rotate the view - use the mouse wheel to zoom in/out - press F1 to render a wireframe

Send any questions to [email protected] or @ngildea85 on Twitter

Example

fast_dual_contouring's People

Contributors

nickgildea avatar

Watchers

 avatar

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.