Next-generation procedural lighting engine. Details coming soon.
The preferred development environment for Firelight is Linux (any flavor). Instructions for getting started will be written up soon. While these instructions may also apply to Mac OS X, the developers do not have any Apple hardware and have made no effort to test this software on Mac OS X. Users who have successfully built and ran the software on Mac OS X are encouraged to submit pull requests to document the setup of that platform.
Firelight is cross-platform and can be build and run on Windows, although less testing has been done for this platform.
- Download Requirements
- Qt 5.2 or newer (http://qt-project.org/downloads)
- MingW 4.8 or newer (included with Qt installer, or from http://www.mingw.org/wiki/Getting_Started)
- Boost 1.55 or newer (http://www.boost.org/)
- Boost.Numpy (https://github.com/ndarray/Boost.NumPy)
- Portaudio v19 (http://www.portaudio.com/download.html)
- Python 2.7 (https://www.python.org/downloads/)
- Cmake (http://www.cmake.org/cmake/resources/software.html)
- Install Qt
- Launch Qt Online installer
- Select latest version, and under Tools, select MingW 4.8 (if you don't already have MingW)
- Grab some coffee
- Install Python
- Use the latest 2.7 release (2.7.6 at the time of this writing) and the 32-bit version.
- Build Boost
- Extract the zip file to a folder (e.g.
boost_1_55_0
) - Open a MingW-enabled command prompt (found under Qt in the start menu) to that folder
- Run
bootstrap.bat mingw
- Run
b2.exe toolset=gcc cxxflags="-include cmath " python
(omit thepython
if you want to build the whole boost library). Note that thecxxflags
argument is currently needed to workaround an issue with building Boost.Python using MinGW. - Grab some more coffee
- When complete, make sure the
BOOST_ROOT
environment variable is set to point to theboost_1_55_0
folder.
- Build Boost.Numpy
- Install CMake, making sure to add it to the PATH.
- Clone the Boost.Numpy repo to a folder (e.g.
Boost.Numpy
) - Open a MingW-enabled command prompt to the folder
- Run
cmake -G "MinGW Makefiles"
- Run
cmake --build . --config release
- Run
cmake --build . --config release --target install
- Build portaudio (currently not fully tested on Windows)
- Extract the archive to a folder (e.g.
portaudio
) - Open a MingW-enabled command prompt to the folder
- Run
./configure --enable-cxx
- Run
make
- Run
make install
- Configure Qt Creator
- Open Qt Creator
- File -> Open, select
src/firelight.pro
from the working copy of this repo - Qt Creator should automatically list your MingW compiler settings. Click
Configure
to confirm. - Click
Projects
tab on the left, then clickqmake
under build steps to show the options for qmake. - Open
firelight.pro
in the text editor and edit the paths under thewin32
section to make sure your include and library paths are correct.
- Build and Run
- Click the build button (hammer) in the lower left
- If you have problems, make sure that your paths are set up correctly to Boost, Python, Boost.Numpy, and portaudio.
First-party code is (c) Jonathan Evans and released under the MIT License (see LICENSE.txt) Third-party components are licensed as follows:
Firelight uses the Silk icon set by Mark James (http://www.famfamfam.com/lab/icons/silk/)