Skip to content

This is a Raytracing made from scratch in C++, using a C++ wrapper of Allegro I did.

License

Notifications You must be signed in to change notification settings

aviallon/Raytracing

Repository files navigation

Raytracing

This is a Raytracing made from scratch in C++, using a C++ wrapper of Allegro I did.

How to build :

Compile using :

-std=c++11 -lpthread;allegro;allegro_image;allegro_primitives;allegro_memfile;allegro_ttf;allegro_font;allegro_dialog -Wl,--format=binary -Wl,allegro/arial.ttf -Wl,--format=default

The last line is required to include the arial.ttf file inside the executable, at link time. This avoids having to share your program and the font file as two separate files.

The optimisation level -O3 is highly recommended as it's 5 times as performant as lesser ones.

About

This is a Raytracing made from scratch in C++, using a C++ wrapper of Allegro I did.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages