Yafaray 0.1.5
Copy the yafaray folder to Blender/2.74/scripts/addons and enable the render exporter in User Preferences.
Built on Ubuntu 14.04 with python3.4 and tested with Blender 2.74
This build is from Yafaray Master. This does have the fixes to automatically calculate Shadow Bias and Minimum Ray Dist depending on the scene size in order to avoid render artifacts, but not the changes to the clay render or sigma mapping included here: - http://www.yafaray.org/community/forum/viewtopic.php?f=12&t=5086&p=31085#p31085
The full list of recent commits is here:-
https://github.com/YafaRay/Core/commits/master
https://github.com/YafaRay/Blender-Exporter/commits/master
Please report any bugs at yafaray.org, initially in the support forum for confirmation, then in the bugtracker.
I know some users have trouble using .jpg textures:-
Ubuntu and presumably Mint, are using libjpeg.so.8 as the default jpeg lib now, and not libjpeg.so.62. The only sure way I know of currently to resolve this is to build Blender with support for both on Ubuntu or download Yafaray from this forum link http://www.yafaray.org/community/forum/viewtopic.php?f=12&t=5086&p=31085#p31085
https://www.dropbox.com/s/r2jlzrv7mlonjj9/yafaray.zip
cheers!
Now that Ubuntu 14.04 it's broken-packages time again! ;) Your build works great with blender builds compiled with python3.3, but ubuntu's latest version is 3.4.0 by default, so yafaray crashes when you try ticking it in blender's addons section. Could you please update it and compile a new build with python 3.4.0?
Or, could you please show me how to compile yafaray to help you out with linux builds? I've tried following megasoft78's tutorial available here:
http://www.yafaray.org/node/434
But it's completely outdated. We need fresh and recent builds for the newer versions of linux. :D
regards,
Alvaro
Thanks!
Unfortunately I don't compile on Windows. I don't know even how to...... :(
regards, and thanks for the guidance, thanks to you I'm now on Ubuntu 13.04 :D
cheers,
Alvaro
There have been some changes, but if you uncheck 'Transp. background' you should be back in familiar territory. It allows you to render glass refractions as either solid or alpha.
However, when I render I get the background in alpha by default and the borders in the cube in teh default scene (edges) are very noticeable and marked, as if they were an error. I should try rendering a full scene to see if it makes any difference, but it doesn't seem to be the usual way of yafaray rendering.
regards, and thanks for all the help
It is likely Blender and Yafaray should be built using the same python version for compatibility. Since Python3.3 is not available for Ubuntu 12.04, I use Python3.3 from here:- https://launchpad.net/~fkrull/+archive/deadsnakes?field.series_filter=precise
This may not be exactly the same version used by Blender devs. This could also explain why it runs on 12.10, but has issues on 12.04.
I don't know if this ppa is compatible with Mint, but if you want to try testing it, let us know how it goes. It may also address the issues with enabling the exporter.
It is also possible you should use a version of Blender built with the same Python version, so I will try to look into also sharing a Blender build if necessary, though maintaining two blender versions on my system is a little more work than i want to commit to right now.
Python should be bundled with Blender, and the only place I found libpython3.3m.so.1.0 on my system was /usr/lib/
I'm not much of a coder unfortunately so I can't guess at what the fix might be. Someone reported on yafaray.org that this build works with Ubuntu 12.10 - the exporter can be enabled and there is no crash.
Could you post this info at yafaray.org, just to add to the momentum please? I'm happy to take responsibility if the error is mine, but the fact it works on 12.10 suggests there may be something else amiss.
If you could add your plus one here, hopefully the development team will pick it up - http://www.yafaray.org/community/forum/viewtopic.php?f=12&t=4890&start=30
Sorry for the inconvenience.
"
Note: No (valid) '/home/afecelis/.config/blender/2.66/config/startup.blend' found, fall back to built-in default.
Read new prefs: /home/afecelis/.config/blender/2.66/config/userpref.blend
found bundled python: /home/afecelis/blender-2.66a/2.66/python
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 81, in
from . import io
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/io/__init__.py", line 21, in
import yafrayinterface
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/bin/yafrayinterface.py", line 26, in
_yafrayinterface = swig_import_helper()
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/bin/yafrayinterface.py", line 22, in swig_import_helper
_mod = imp.load_module('_yafrayinterface', fp, pathname, description)
File "/home/afecelis/blender-2.66a/2.66/python/lib/python3.3/imp.py", line 164, in load_module
return load_dynamic(name, filename, file)
ImportError: libpython3.3m.so.1.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
Blender quit
afecelis@design01:~/blender-2.66a$ cls
No command 'cls' found, but there are 18 similar ones
cls: command not found
afecelis@design01:~/blender-2.66a$ cl
The program 'cl' is currently not installed. You can install it by typing:
sudo apt-get install cl-launch
afecelis@design01:~/blender-2.66a$ clear
afecelis@design01:~/blender-2.66a$ ./blender
Note: No (valid) '/home/afecelis/.config/blender/2.66/config/startup.blend' found, fall back to built-in default.
Read new prefs: /home/afecelis/.config/blender/2.66/config/userpref.blend
found bundled python: /home/afecelis/blender-2.66a/2.66/python
Traceback (most recent call last):
File "/home/afecelis/blender-2.66a/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/__init__.py", line 81, in
from . import io
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/io/__init__.py", line 21, in
import yafrayinterface
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/bin/yafrayinterface.py", line 26, in
_yafrayinterface = swig_import_helper()
File "/home/afecelis/blender-2.66a/2.66/scripts/addons/yafaray/bin/yafrayinterface.py", line 22, in swig_import_helper
_mod = imp.load_module('_yafrayinterface', fp, pathname, description)
File "/home/afecelis/blender-2.66a/2.66/python/lib/python3.3/imp.py", line 164, in load_module
return load_dynamic(name, filename, file)
ImportError: libpython3.3m.so.1.0: cannot open shared object file: No such file or directory
"
I know it's referring to a missing python 3.3 library, but shouldn't it be built in? How can I install it?
This error message in terminal :
"
Traceback (most recent call last):
File "/home/user/blender-2.66_Officiel/2.66/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/home/user/.config/blender/2.66/scripts/addons/yafaray/__init__.py", line 80, in
from . import prop
ImportError: cannot import name prop
"
Thank's for your help
It should be as simple as checking the box. However two Mint users have reported the same problem. If you can provide some error message it may help to diagnose it, though the Mint users report none are printed in the console.
I also experience a segfault, where Blender crashes on selecting a Glossy material (All other materials are working). However, the Yafaray development team have announced the release of YafaRay 0.1.5 RC for this weekend. I believe initially it will be for Windows, but hopefully there will be linux builds soon.
As soon as new commits are made, I will post an updated build.
More info. here:-
http://www.yafaray.org/community/forum/viewtopic.php?f=13&t=4906
http://www.yafaray.org/community/forum/viewtopic.php?f=13&t=4904
Very soon, the win32 versions for Core and experimental branch
Log in to leave a comment.
Thanks for adding the build link. I am still running 13.10, I always wait a long time before a dist upgrade, and there were no significant Yafaray updates. I will upload a build again once I upgrade, or if there are any Yafaray updates.
I wonder if I should start uploading the Blender build again as well as Yafaray :)