Skip to content

Java implementation of the "Ray Tracing in One Weekend" series and some extension ideas

Notifications You must be signed in to change notification settings

2149495141/RayTracingInJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing in Java

Java implementation of the "Ray Tracing in One Weekend" series and some extension ideas

Run

Open a command line at the project root directory.
Tip: Requires Java 17 or later.

$ javac -encoding UTF-8 -d out RTExtended/Main.java  
$ cd out 
$ java RTExtended.Main

Tip: You also need to copy the OBJFile folder to the out directory, otherwise the run will report an error.

$ copy -r OBJFile out/

Gallery

OneWeekend NextWeek RestOfYourLife

Extend content

Wavefront OBJ

Reimu

Specular Material

Specular StanfordDragon

Supports arbitrarily shaped volume

PrincipledVolume

OBJFile references

About

Java implementation of the "Ray Tracing in One Weekend" series and some extension ideas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages