Skip to content

P41NT/CUDA_Raymarcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUDA Raymarcher

Banner

A sample / experimental ray-marching renderer implemented with CUDA. Designed to explore GPU acceleration, distance fields, and basic shading in a CUDA environment.


Overview

This project demonstrates:

  • Ray-marching of signed distance fields (SDFs) on the GPU using NVIDIA CUDA.
  • Use of CUDA kernels to compute ray intersections, normals, and perform simple shading.
  • Use of raylib for rendering and implement a UI.
  • Performance considerations (step size, iteration limits, etc.).
  • Rendering to an image buffer and saving the result.

Structure

/
├── src/ — source files (CUDA code, host/C++ orchestration)
├── include/ — header files, shared declarations
├── external/ — any third-party helper libs or dependencies
├── builds/ — compiled binaries / build artifacts
├── saved_image.png — example output image
├── Makefile — build script


Screenshots

Screenshot1 Screenshot2 Screenshot3

About

Render of Mandelbulb Set using Raymarching techniques and Signed Distance Fields using CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors