Skip to content

AndreyKondakovGW/RayMarching_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayMarching_Demo

Python implementation of Raymarching rendering methods. Made for Scientific python course. This project fully writen on python with use of Numba and Cuda technology for parallelization on GPU. Project also use pygame for realtime visualization and matplotlib for gif creation.

Some digrams with project code organization

Class diagram


Usecase diagram


Sequence diagram

Examples of working rendering

Example1

Examples of working rendering

Example2

Examples of working rendering

Example3

Examples of working rendering

Example4

Requirments

To make project work you need have GPU with cuda instaled You also need install all pakages with:
pip install -r ./requiremts

And then you can start pygame example with

python ./main_pygame.py

Or create gif with

python ./main_gif.py

Sources

  1. http://osgl.ethz.ch/training/Story_Raymarcher_in_Python_I.pdf
  2. https://michaelwalczyk.com/blog-ray-marching.html
  3. https://michaelwalczyk.com/blog-ray-marching.html
  4. https://iquilezles.org/articles/distfunctions/
  5. https://www.shadertoy.com/view/7l2cWW
  6. https://iquilezles.org/articles/smin/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages