Skip to content

JTKBowers/isometric-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isometric-raytracer

Example image

What is it?

A basic raytracer written to learn the language go. It renders the scene with a video-game style "isometric" projection (technically a dimetric projection with a 2:1 pixel ratio). That is, rays from the camera are emitted in parallel, and the camera is oriented so that a line parallel to the x or z axes will be rendered with a gradient of ±0.5 pixels/pixel (up one pixel for every two pixels it goes left or right).

What can it do?

  • Render basic shapes such as planes, cubes and spheres.
  • Add simple materials to shapes which specify reflectivity and colour.

TODO:

  • Finish composite shapes - this means that a complex shape can be built using binary operations on simpler shapes (known as constructive solid geometry).
  • Extend materials to allow for textures and refraction.
  • Implement a configuration file format to describe a scene.
  • Implement proper parallel rendering.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages