YafaRay4tS Installation

YafaRay4tS was created to work in tS7.61 Workspace (Rosetta)
It does not work in Model (tS6.6)
Tested with YafaRay version 2.0.2

get the latest YafaRay from https://github.com/DavidBluecame/Blender-Exporter/releases/
unzip the file and copy the yafaray folder to Program Files
IE: C:\Program Files\yafaray

If you have previously installed YafaRay4tS before, Uninstall YafaRay4tS from the Add & Remove program in the Windows Control Panel first!

1.) Extract All the files from the YafaRay4tSv080.zip. into a folder named YafaRay4tSv080

IE: C:\trueSpace761\YafaRay4tSv080

2.) Open trueSpace7.61 and from the Workspace's File menu, Load the YafaRay4tS_Installer.RsObj from where you extracted the files. Do not drag and drop, use the file menu.

3.) From the YafaRay4tS Installer panel select the "Install" button.

You should see a tS761 Question message asking: "Your existing YafaRay4tS Libraries will be deleted and replaced with updated versions. Would you like to continue?", if not select your keyboard keys Alt + Tab to bring the message forward. Selecting "Yes" will start the installation and selecting "No" will cancel the installation." If you have any content saved in any of these three libraries, they will be deleted, so save anything you want into a different library.

4.) From the Stack/Panel - YafaRay4tS/Setup panel
	a. Set the YafaRay Install Path to where you have installed the YafaRay render engine. (IE: C:\Program Files\yafaray\bin\yafaray-xml.exe)
	b. Blender Plugin Path value does not matter
	c. Choose 64 bit if intalling for 64-bit YafaRay
	d. Press the "Setup YafaRay in Registry" button
	e. an explorer window will open to the "yafaray.reg" file, run this file to update the windows registry

5.) Select the "Save Settings" button to save your directories into the default YafaRay4tS object.

6.) Position the YafaRay4tS toolbar and save your Layout.

Congratulations you've finished your YafaRay4tS setup!


The "Update YafaRay Render Node" script found in the YafaRay4tS library can be used to update an existing scene.
It requires the Clintons3dPlugins.rsx plugin , http://clintons3d.com/plugins/truespace/technique/index.html
It will not update the materials.


YafaRay4tS Uninstall

1.) Open trueSpace7.61 and from the Workspace's File menu, Load the YafaRay4tS_Installer.RsObj from where you extracted the YafaRay4tSv075 files

2.) Select the "Uninstall" button.
You should see a tS761 Question message asking: "Your existing YafaRay4tS Libraries will be deleted. Would you like to continue?", if not select your keyboard keys Alt + Tab to bring the message forward. Selecting "Yes" will uninstall the installation and selecting "No" will cancel." If you have any content saved in any of these three libraries, they will be deleted, so save anything you want into a different library.



Developer notes:

If you reset the Default Context you will have to install YafaRay4tS again.
Hair takes on the same Material as the base mesh it grows from.
There are 2 options for preparing an Character or a Skeletal mesh for rendering with Yafaray:
1. Apply a Morph then right click to immediately exit the tool.
2. Apply SDS to the mesh. The first SDS (Level 1) is the preferred method unless the mesh is already subdivided.
The material texture map X Scale and Y Scale only works well for odd whole number values.




Blender:

1.) To install for Blender copy the "yafaray" folder into the AddOns folder inside blender
2.) Start Blender
3.) File > User Preferences
4.) Add-ons
5.) find and activate yafaray via checkbox
6.) press the Save User Settings button

