Another C++ raytracer for the v4 FMI raytracing course. The course site is http://raytracing-bg.net/
-
Copy the appropriate for your OS qdamage-{win32,linux}.cbp to qdamage.cbp This step is important to avoid source-control thinking that you modified the project file
-
If you're using Windows:
-
Download the SDL-devel package for mingw32 from libsdl.org (Download > SDL 1.2)
-
Unpack it anywhere (mine is in F:\develop\SDK\SDL-1.2.15) and create a substitution using subst:
subst L: F:\develop\SDKThis will create a virtual drive L:, pointing to your F:\develop\SDK. Of course, on your machine the latter path can be different. You can put this command in a .bat file for easier execution on system start up.
-
Copy SDL-1.2.15\bin\SDL.dll in the root directory of the raytracer (i.e., where the *.cbp files are).
-
(If not yet done): copy qdamage-win32.cbp to qdamage.cbp and open it. You're all set.
-
-
If you're using Linux:
- Ensure you installed the gcc compiler, the SDL-development package and the OpenEXR development package ("SDL-devel" and "OpenEXR-devel" on Fedora-based distros, "libsdl-dev" and "libopenexr-dev" on Ubuntu et al).
- Copy qdamage-linux.cbp to qdamage.cbp and open it. You're all set.