Skip to content

blitzcode/ray-marching-distance-fields

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Ray Marching Distance Fields

This project is a Haskell and GLSL program containing my distance field / ray marching related experiments. The Haskell viewing application is doing the pre-processing, functioning as a development and debugging aid, allowing different shaders to be explored. It automatically reloads and recompiles shaders when they change, showing an overlay displaying any errors. There's a flexible frame buffer system, supporting under and super sampling and saving of screenshots. Tiled rendering avoids shader timeouts and unresponsive UI. It also features offline convolution of environment maps with a filter kernel to enable fast lighting of diffuse and glossy surfaces. Finally, there's an implementation of the Mandelbulb fractal as well as several simpler ones like Mandelbrot and Julia sets. There's some more functionality in the program, try it out and / or visit my website.

If you want to read actual algorithm descriptions and references of this project and see more, higher quality images visit the following links to my website

Images

A few low-resolution previews of pictures generated, visit the links above for more, higher quality images.

rmdf mandelbulb prefiltered julia set

Legal

This program is published under the MIT License.

Author

Developed by Tim C. Schroeder, visit my website to learn more.

About

Haskell and GLSL program containing my distance field / ray marching related experiments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published