Skip to content
/ dray Public

Ray Tracing in One Weekend with -D- An attempt to convert "The Ray Tracing in One Weekend" series of tutorial to D-lang. Original book[s] and code can be found at https://github.com/RayTracing/raytracing.github.io

Notifications You must be signed in to change notification settings

ulaas/dray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing in One Weekend with -D-

An attempt to convert "The Ray Tracing in One Weekend" series of tutorial to D-lang. Original tutorial/book/books can be found at https://github.com/RayTracing/raytracing.github.io Great work and read! the code is currently identical to what is offered at the original c++ implementation however the aim for me is to learn d so i will work on morphing this into a multi-threaded / interactive raytracer for fun. loading 3d models would be super cool also.

REQUIREMENTS

a working dmd/ldc2 stack with dub

BUILD

clone and run

dub.exe build --compiler=ldc2 --arch=x86_64 --build=debug --config=dray

RUN

./dray

the command will create a text based render.ppm image file on the current directory. image width, height, depth limit and samples per pixel are set very low as it takes a lot of time to render with one core for test purposes.

anyway i am having fun, hope this will be useful for someone as well.

About

Ray Tracing in One Weekend with -D- An attempt to convert "The Ray Tracing in One Weekend" series of tutorial to D-lang. Original book[s] and code can be found at https://github.com/RayTracing/raytracing.github.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages