|
The code is still in the subversion repository where Lynx started it all:
https://ssl.little-isp.de/svn/lynx/yafaray
To checkout, you will need Subversion ("svn"). The actual render core is in the mainline tree, and the blender export in the blender tree.
|
Note: The code is mainly tested on Linux (32 and 64bit) and Windows (32bit) and OS X (intel). Other platforms may require some work on configurations. For additional information about customization etc. please read the "INSTALL" in the source tree |
Get YafaRay, the render code:
svn co svn://svn.yafaray.org/repo/yafaray/mainline yafaray
The last argument is the name of your local directory that should be created. If you omit it, it becomes the last subdir of the path (i.e. "mainline" here). Compiling YafaRay goes via scons. Note that you need at least scons 0.98 now, version 1.2 recommended!
WITH_YF_QT='true' in your user-config.py (if it does not exist, then create it). Recomended Qt version: 4.5.1+The basic commands to scons are:scons or scons build : builds the binaries
scons swig : build the Python bindings, found in bindings/python afterwards (do not forget to install swig before you do this)
scons install : install the binaries to your file system (*nix) or copy to win32pak for building an installer (windows)
If you are using the Visual Studio 8 Compiler, you can now get all libraries except Qt precompiled in SVN too: svn co https://ssl.little-isp.de/svn/lynx/yafaray/libs
They were all (except libjpeg, which is from the old yafray repository) compiled with MSVC8 using dynamic runtime.
On Windows, the librariess directory is assumed to be on the same level as the directory containing the sources. To achieve this, do the checkout commands in the same directory, for example if you do it in "C:\SomeDir" it should look something like: C:\SomeDir\yafarayC:\SomeDir\libs
On Linux, you should have no problem getting all the libraries via your package manager, as they are all used in well established linux applications. Just don't forget to install the developer versions (for headers and libraries) too.
The Python export scripts for Blender can be checked out with: svn co svn://svn.yafaray.org/repo/yafaray-blender/mainline python
These scripts together allow the export from Blender. The scripts should be installed like this:
yafaray/bindings/python -- only available after you issued scons swig, see above) into either~/.blender/scripts/yafaray/usr/share/yafaray/blender/ (for a installation for all users). In the latter case, each user should copy the script yafaray_ui.py into ~/.blender/scripts (or you install it also globally, but must then ensure that Blender reads the directory you copy the script to as its script directory).