Simple Raytracer banner

Simple Raytracer

6 devlogs
11h 11m 2s

This is a basic raytracer I’m working on, built in C using the Raylib library.

This project is currently still in early alpha, and I haven’t created releases for all platforms and architectures yet (only Windows arm64), however I will release it to more platforms in the future.

captaintriton167

First proper raytraced result!

I have a lot of work to do with updating the hash function to get rid of the striations and also optimise it, but this is a great result.

Next, I want to create a glossy material and try to make an emissive material (which isn’t part of the RTIOW blog)

:3

Attachment
0
captaintriton167

After lots of pain, I finally got the anti-aliasing code to work and added controls for it.

Getting closer to making the diffuse shader!

:3

Attachment
0
captaintriton167

Shipped this project!

Early version of the raytracer that can use a dedicated GPU.

Future updates: diffuse shader, camera rotation

captaintriton167

Finished updating the fragment shader to use an abstraction for hittable objects, and added zoom and better movement functionality.

Next step is to add a diffuse shader for the first actual raytraced result!

Attachment
0
captaintriton167

Working on updating the fragment shader with an abstract struct for hittable objects.

Attachment
0
captaintriton167

Currently working on the code for the camera, with the help of the Ray Tracing in One Weekend blog.

Attachment
0
captaintriton167

Created the basic structure using Raylib. Implemented a simple fragment shader that displays the screen UV.

Attachment
0