Blender2Yafray(beginners tut)

hi all,

Ive sat down and wrote up a very,very basic tut for the folks using windows,

if theres any mistakes that ive made ,please let me know here!

and if you would like to add to this tutorial,please do and pass it

on to the next person,

get it here:

http://www.d.umn.edu/~dhomich/training/yafray/blender2yafray.html

hope this helps someone :slight_smile:

                dale

Cool that should help. :smiley:

thank you for the tutorial.
I couldn’t start with the blender/yafray combo without your help.
Actually, I still can’t render from the Yable window, only a message apears in the log window which says that the renderer can’t be launched.
A think I messed up with something at the installation steps.
Could you suggest solution?

thanks:
Laci

Hi Laci,

thanks for taking the blender2yafray tutorial for a spin, hope it
was clear and consice :smiley:

I still can’t render from the Yable window, only a message apears in the log window which says that the renderer can’t be launched.
A think I messed up with something at the installation steps.
Could you suggest solution?

you didnt do nothing wrong ,I didnt add the steps to render right from
yable.
theres more lines of code to add to the yable script to enable that function, and i didnt want to make the tutorial any more confusing.

if you would like to research this further,read the next three pages of this thread here:

https://blenderartists.org/forum/viewtopic.php?t=7728&postdays=0&postorder=asc&start=270

if you needmore help just ask.

        dale

Your tutorial was a big help. I just got a new computer and this saved me the trouble of remembering how I did everything before. And before you tutorial I could never get the GUI to work either. I’m just starting to mess around with it and it’s a gret tool. Thanks again.

:frowning: I have tried to follow this tutorial but when I try to run the script nothing happens.
When i go to the blender dos window it has the following
PYTHON SCRIPT ERROR:
Traceback (most recent call last):
File “Yable-0.30-3-py”’ line 33, in ?
ImportError: No module named os

I have no idea whats gone wrong. Can any one help.

os is a module in Python usually named os.py in - your drive:/your Python directory/Libs/.
So it means you have not set your Python paths correctly.
Therefore Yafray cannot find it.
Hope this helps

:stuck_out_tongue:
Thanx that sorted it. Now I just have to suss out Yafray.

Apart from your infernal backwards apostrophes, (Grrr…! :stuck_out_tongue: ) thanks !
I’ve been wondering for a while how easy it is to export to Yfray (cos everyone seems to be using it), and though I don’t actually have anything worth exporting yet, I’ll be following this tutorial soon enough. I’ve never used Yfray at all but this looks like it will get me started.

I’ve been wondering for a while how easy it is to export to Yfray.

The exporting to Yafray is soooo easy with yable, cos even I can do it.
My only problem is I can’t run Yafray,because I have windows ME, and the GUI isn’t working for me.
Any ideas anyone. :expressionless:

Hi all,

I am a NOob so…

I have done the http://www.d.umn.edu/~dhomich/tut_pix/blender2yafray.html
and i think the python script is running well except one thing:

In “Material Settings” when i want to use “load material” it gives me "no shaders available (in red :wink: ). Why is this?

I thought the archive-files eq *.mat files are the example materials/shaders or am i wrong?

How do i make it work correctly?

btw: could anyone explain me what i am doing here, i mean what does yafray and what does yable in this process?

Thnks in advanced
Keitai

Well, yable comes with no built in materials, so the first material you must define (and save)

Then you can re-use it.

Stefano

Can you tell me how t work it for OSX ^v^

Sure these are my specs;

1 Blender 2.26
2 Python 2.20
3 Yafray 0.03
4 Yable 0.3
5 PC (PIV-2ghz)
6 OS: winxp

can’t render anything. Read somewhere on the forum about changing line 1634 in the.py file but it doesn’t not work for me.

thnks,
keitai

btw i got my material problem solved, i just needed to put the *.mat files into the Archive folder and yable.py reads them (i think).

Now i want it to work. Gonna use an trial-and-error approach:

1 Created a simple scene: with 1 plane, 1 uv-sphere, 1 camera, 1 light
2 Used the Yable script to assign materials, light etc
3 Global settings:
a/ with “path” selected —> i get a 4k *.xml file
b/ with “path” and INC selected —> i get a 117k *.xml file

4 Starting Yafray’s GUI and selecting my file.
5 Yafray’s GUI seems to read the meshes well
6 Aaarrgggh! When selecting light, camera i get a pop up with something like ‘0.997368’ ???

How can i solve this? Is my generated *.xml false?

Thanks in advanced