"Homemade Raytracer"
Access via
Subversion :
The URL is https://cadxfem.org/svn/cours/infographie/gray/branches/2018
command : svn co https://cadxfem.org/svn/cours/infographie/gray/branches/2018 gray
A standalone archive of the original version is available
here .
If you use the up to date subversion access
you have to copy the nutil and ply folders from the standalone archive in the gray folder (these are external dependencies)
Then, cd in the source directory and configure with cmake :
~> mkdir build
~> cd build
~> cmake .. -DENABLE_FLTK_INTERFACE=ON -DENABLE_VTK_INTERFACE=OFF -DINTERFACE_TYPE=FLTK
Then, compile the executable
~> make glgray
and run !
~> cd ..
~> build/glgray
use mouse to move viewpoint / type 'r' to render
Dependencies
Cmake (makefile generator) available
here
FLTK SDK available
here
With Linux, a precompiled version is usually existing (libfltk1.x-dev)
On windows, if you use Dev-C++, you can install it and create a derived project with the instructions
there. Otherwise, check the
FAQ.
On Macs, you're on your own !