Yafray Animation Export From Blender

How do I get blender to export all the xml files for an animation at one time so I can take the xml files and render them on a different computer with yafray?

I believe this is possible with Yable:

The file in the link doesn’t work it has sytax errors. I check the directories and set them to real directories but it seems to have more issues than that.

I just want to export only the xml files for an animation. Like Caustics0001.xml Caustics0002.xml and so on.

The script works fine for me. I’m using Python 2.3.3 with Blender 2.36.
All I had to change was line 90:

YABLEROOT = “G:/tmp/YFexport”

to an existing directory.

What was the error message reported in the console exactly?

File “C:\Python24\Lib\os.py”, line 133 from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,

SyntaxError: invalid syntax

I think that means you have Python 2.4 installed. Blender currently only works with Python 2.3x.

Thanks! I’ll try that!

OK I got it running and it really just doesn’t work. It must be freaking out because none of the images have anything in them.

To be honest, I have no idea how Yable works. Something only started to become visible when I turned on Hemi Light. I hope someone else knows how to use the plugin. Hereby a bump…

Hi… why don’t you just install blender (and yafray) in the other computer ???

then you can render the anim directly from blender

Because I don’t plan to use only one computer. Can you give me an example of how to specify which frame to render with blender using yafray from the command line? Like I want to render frame 22, give the output name bob0022.bmp and have the output put into a folder named /blenderrender.

I believe you would just do this:

In the ‘Output’ panel - set the output directory to
to set the directory (and the base part of the name) relative to the current dir.

Click the ‘Extension’ button to automatically add the proper file extension.

Set your render resolution and render file type.

In the yafray tab in the render panel - uncheck the XML box so that it works as a plugin and not through the XML.

Save your blend.

From the command line you can call:
blender -b yourfile.blend -f 22

This example renders frame 22 of yourfile.blend calling blender in background render mode (no UI)

I believe that should do what you’re looking for.

If you don’t want to call frame at a time, there are options for calling parts of an animation ‘blender /?’ for options.

That’s awesome, thanks!