Skip to content

Raytracer in Scala - because every developer should do it at least once in his favourite language.

Notifications You must be signed in to change notification settings

mcveat/scala-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytracer in Scala

Because every developer should do it at least once in his favourite language.

Progress

  • supersampling

After:

supersampled

Before:

without supersampling


  • textures on spheres

11.1 11.2


  • introduced bilinear texture filtering

10


  • introduced textures over plane

9


  • introduced multiple light sources

8.2 8.1


  • introduced plane as new shape

7


  • introduced light color
  • introduced Phong specular reflection

6


  • calculating plane position according to camera direction

5


  • extracted color into material concept and introduced it's reflectiveness
  • reflection of objects in respect of reflectiveness factor

4


  • shade casted between shapes

3


  • scene described by list of spheres and single light source
  • diffused shade on shapes

2


  • scene described by list of spheres
  • adjustable camera position, fixed camera plan
  • ambient light only

1

Bitdeli Badge

About

Raytracer in Scala - because every developer should do it at least once in his favourite language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages