Skip to content

A ray tracer made completely from scratch using java. For more information, see the repo README

License

Notifications You must be signed in to change notification settings

Mohido/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Ray-Tracer prototype:

There are 2 techniques to render 3d objects to the screen:

  1. raytracing
  2. rasterization

Here, I apply the basics of the implementation of the raytracer technique.

This is a mid resolution Picture of a Sphere and a light reflection.

Reflection mid resolution



This is a low resolution "M" Letter printed on screen with spheres.

M low resolution

Notes:

  1. No Bias is added to the doubles, thus leads to some incorrect calculations when the objects become a bit further in the scene from the camera.
  2. Aliasing is not added which makes the objects edges looks rigid (as if you are using win32 GDI rendering ;).

Further-Dev-Notes:

  1. Adding refractions.
  2. Adding textures and world view.
  3. Adding Triangles.
  4. Pollishing and reduce the Delta Error (Errors from heavy double calculations).

About

A ray tracer made completely from scratch using java. For more information, see the repo README

Topics

Resources

License

Stars

Watchers

Forks

Languages