pixelmachine
pixelmachine copied to clipboard
A ray-tracing 3d renderer in C/C++ and SDL.
pixelmachine
by SuperJer www.superjer.com
Usage: [OPTION]... [SEED] Render ray-traced 3D images generated randomly with seed number SEED.
option default description -wNUM 800 Set image output width to NUM -hNUM 600 Set image output height to NUM -mNUM 2 Set multisampling level to NUM (level 2 recommended) -tNUM 8 Parallelize with NUM threads -pNUM 0 Simulate lighting with NUM million photons!
Build on Linux:
- Make sure you have SDL-devel on your system
- Run
make- this will create the executable
pixelmachine
- this will create the executable
Build on Windows:
- Install MinGW http://www.mingw.org/
- make sure it comes with MinGW Make
- Get SDL-devel for MinGW http://www.libsdl.org/
- copy the lib and include files into MinGW
- Run
mingw32-make win- this will create the executable
pixelmachine.exe
- this will create the executable
Build on Mac:
???