Giter Club home page Giter Club logo

dagger's Introduction

DAGger: Sparse Voxel DAG Rendering on the Web

Try it out!

This is a web version of the viewer application from my SVDAG-Compression repository, which originates from the source code released alongside the SSVDAG paper.

Screenshots

The cube fractal scene rendered in DAGger using path tracing

Epic Citadel at 32K^3 rendered using path tracing

Video demo/bug-art

Video demo/dev-log/bug-art"

Goals

  • Render Sparse Voxel DAG in the browser using WebGL. Changes from OpenGL implementation: Replaced SamplerBuffer with Texture3D for represesenting nodes (no support in WebGL).
  • Beam optimization: A low-res depth pre-pass for starting off primary visibility rays close to the geometry they will hit. The beams are 8 by 8 pixel blocks.
  • First person controller [wip]
  • Stream the data to the GPU while downloading [wip]
  • Fractal generator [wip]
  • Path tracing: Implementation based on Alan Wolfe's blogpost
  • CPU raycasting for collision detection (gravity) and scene interaction (cursor rays) [wip]
  • Attribute encoding (colors)
  • Import 3D models (voxelize on the fly)
  • Scene modification
  • Stream based on demand - only nodes that are visible or close to the camera (e.g. could separate scene into a root file and 64 "chunk" files)

Running it locally:

  • Get NPM and Yarn installed
  • Install dependencies with yarn install
  • Running yarn start will compile TypeScript to JavaScript and start up an http server

dagger's People

Contributors

rvanderlaan avatar dependabot[bot] avatar

Stargazers

SkillerRaptor avatar Marcin Jerzak avatar  avatar  avatar Catalin Moldovan avatar Liam Don avatar  avatar Wang Shijiang avatar Jim Liu avatar carbon based lifeform avatar Parth Singhal avatar David Roman avatar Alexandre Carlier avatar NaTure77 avatar  avatar Micah avatar Andy Lu avatar Matthieu Baumann avatar Zhixing Zhang avatar Philipp avatar Nikolay Smirnov avatar Sisyphus Studio avatar Vyacheslav S. avatar Andrii Savytskyi avatar  avatar WeightAn avatar Sean Siddens avatar  avatar  avatar Chris Giles avatar  avatar Navraj Khanal avatar Rıdvan ÖRÜN avatar Lucas Moreira avatar Freek avatar Sanjay Prajapati avatar Anurag Hazra avatar Felix Maier avatar teodor6140 avatar  avatar RayDay avatar PpluX avatar Wendell avatar Erich Loftis avatar Asif avatar Ollie Razdow avatar Future Infinity avatar Wulferis avatar

Watchers

James Cloos avatar  avatar Wulferis avatar

dagger's Issues

License

Hey under which license is this published?

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.