C Raytracing

Open-source C projects categorized as Raytracing

Top 10 C Raytracing Projects

  1. WickedEngine

    3D engine with modern graphics

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. c-ray

    c-ray is a small, simple path tracer written in C

    Project mention: Making C and Python Talk to Each Other | news.ycombinator.com | 2025-05-29

    I did a lot of this for my raytracer, c-ray [1]. Originally it was just a self-contained C program, but I got tired of writing buggy and limited asset import/export code, so eventually I put together a minimal public C API [2] that I then wrapped with CPython bindings [3] and some additional python code [4] to expose a more 'pythonic' API. It's all still a WIP, but it has already allowed me to write a Blender plugin [5], so now I can play around with my renderer directly in Blender, and test with more complex scenes others have made.

    Fun project, and it's really cool to see my little renderer in the interactive viewport in Blender, but I did learn that I don't particularly enjoy working with non-trivial amounts of Python code.

    [1] https://github.com/vkoskiv/c-ray

  4. raytracer.hpp

    Simple compile-time raytracer using C++17

  5. MinecraftC

    A Raytraced Minecraft Classic 0.0.30a port to C

  6. xash3d-fwgs

    Vulkan Ray Tracing fork of Xash3D FWGS engine. Intended to be merged into master at some point in the future. (by w23)

  7. retrocube

    πŸ“ΊπŸ‘½ 3D voxel graphics engine on the terminal in standard C without third parties

  8. C-Raytracer

    A CPU raytracer from scratch in C

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. MiniRT

    Ray tracing project for 42 school, Codam.

  11. ascii-raytrace

    ray tracing on the command line

  12. raytraCer

    A C implementation of the Raytracer by Peter Shirley (by elkiwy)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Raytracing discussion

Log in or Post with

C Raytracing related posts

  • CUDA Accelerated Raytracer

    3 projects | news.ycombinator.com | 15 Jun 2023
  • Sample renders from my real-time Direct3D 12 renderer. More info and link to GitHub in the comments!

    3 projects | /r/GraphicsProgramming | 22 May 2023
  • Cyberpunk 2077: 7900 XTX Pathtracing performance compared to normal RT test

    2 projects | /r/Amd | 13 Apr 2023
  • Are there any good c examples?

    4 projects | /r/vulkan | 5 Apr 2022
  • Ray Tracing is epic (i didnt make this its by w23 link will be in the comments)

    1 project | /r/HalfLife | 21 Jan 2022
  • Created a Raytracer in C, and wrote about how you could make your own! (/r/C_Programming)

    1 project | /r/mistyfront | 24 Jul 2021
  • Created a Raytracer in C, and wrote about how you could make your own!

    1 project | /r/GraphicsProgramming | 21 Jul 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Index

What are some of the best open-source Raytracing projects in C? This list will help you:

# Project Stars
1 WickedEngine 6,310
2 c-ray 826
3 raytracer.hpp 707
4 MinecraftC 323
5 xash3d-fwgs 183
6 retrocube 94
7 C-Raytracer 67
8 MiniRT 31
9 ascii-raytrace 28
10 raytraCer 0

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com