Skip to content

HeathLoganCampbell/Mini-Raytracer

Repository files navigation

Mini Raytracer

A ray tracer is a method of drawing 3D images on the screen through the use of math. So after doing a computer graphics course I thought I would give a go at creating a Sphere

I have log how it changed over time below

Versions

v0.1 - an outline of the shape

An Image showing that the checking intersection works for both planes and spheres

  • This version we have created the plane and sphere class
  • created a window using a BufferedImage
  • Created a vector3D class
  • Created a camera class
  • And go the outline of the shapes in a scene drawn

TO DO:

  • Colour
  • Shadows
  • reflections
  • refraction

v0.2 - add colour

An Image showing that the checking intersection works for both planes and spheres

  • Colour has been added to shapes so we can tell them apart

TO DO:

  • Shadows
  • reflections
  • refraction

v0.2.5 - Adding shadows

Kinda Shadows

  • Added the first version of shadows

v0.2.7.5 - Adding shadows

The Sphere has correct shadows

  • Sphere renders the correct shadows

TO DO:

  • Add shadow to plane

References

About

📐A lightweight raytracer using mathematical models

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages