It took me hours to figure out how to get Blender running with windows and yafaray. There are some more or less experimental Yafaray export scripts for the latest Blender 2.5x-series. But none of them is my cup of tee.
Forget about all the instructions below. Reading Yafaray’s Facebook page, which, btw, is an excellent ressource for advice, I found a link to some pre-compiled packages for all OSes:
Just download, unpack and start blender. No need to set any paths or pre-install python or whatsoever. You will then find YafaRay available by selecting the rendering engine from the menu bar:
I’ve realized that for me it’s best to use the old version Blender 2.49a rather than the current 2.5x-series. All in all, you need to get three components: Python 2.6.6 – http://www.python.org/download/releases/2.6.6/ Blender 2.49a – http://download.blender.org/release/Blender2.49a Yafaray 0.1.1 – http://www.yafaray.org/download It is crucial to make use of precisely tjese versions, because all need to suite to the same python version. Also, refer to http://www.yafaray.org/community/forum/viewtopic.php?f=13&t=2423 in case you should run into any further problems.
Now here is what worked for me
First, I installed Python 2.6.6. I set the PATH and the PYTHONPATH variable to point to the main install directory of Python I unzipped Blender 2.49a. Mind the [BLENDER_INSTALLDIR]/.blender/scripts directory I started the Yafaray 0.1.1 installed. When asked by the installer to choose the blender script directory, I located [BLENDER_INSTALLDIR]/.blender/scripts Starting Blender from the [BLENDER_INSTALLDIR], I had Blender found both, the Python and the Yafaray stuff 🙂