Interested in progress of Yaf(a)Ray ?

Hi

I now managed to build Yaf(a)Ray + Blender for Yaf(a)Ray for OSXintel.

See here:http://graphicall.org/builds/builds/showbuild.php?action=show&id=553
Some info :
-Build with Python 2.5
-Includes a patched Blender (actual SVN-trunk ) Yaf(a)ray.UI.py and Yaf(a)ray itself.
-Yaf(a)ray installer put files to usr/local/bin and usr/local/lib and usr/local/lib/yafaray

Cheers…Jens

Very interested. How about a PPC build for Leopard? Or better still a Universal.

Hi hoshi
What about building it yourself !!!
Iám on Intel, so i have the lib´s for it and don´t wanna mess this up.
Some components make universal builds not possible this time.

You need sources from:
SVN, SCONS, some lib´s ( mostly included with blender )
BLENDER-SVN ( whatever version you like, but release or trunk preferred )
BLENDER-LIBS
YAFARAY
So you can have the actual blender-dev everytime and support the community too.

I started building few month ago and after getting a little helping hand it get´s easy now!

Cheers…Jens

jensverwiebe thank you very much for the intel built, everything is working superb!
But i have some questions:
Where are the images i rendered?(cant find any image!)
What image types uses yafaray for the Export?
The mat preview is from blender or from yafaray?

Best regards, tungee

Thanks a lot! This is very interesting. Could you please shortly describe how to install and run the yaf(a)ray render? Does it show up as a renderer next to Blender internal and Yafray?

@ tungee
The images are stored as usual with the “save image as…” in filemenue.
Format depends on what you set in fomat in the rendersettings (eg. jpeg…)
Same as in blender internal, you can save as anything blender supports.
Mat-preview in yafaray ui is pre-rendered by yafaray of course.( sphere )

@ morvan / all interested
Intallation precedure:

  • Put blender-yafaray to your blender-folder ( where your “normal” blender resides )
  • Put yafaray_ui.py to you pythonscripts-folder
  • run the Yaf(a)Ray-Installer.mpkg, installs yafaray-xml in usr/local/bin, 2 libs in
    usr/local/lib and 22 texture-plugs in usr/local/lib/yafaray
  • run libpng installer, puts pnglibs to usr/local/libs ( needed )

Old yafray will be not overwritten and is usable from nomal blender as usual !!!
usr/local… is invisible by default, comand-shift-G: usr, to make it visible if you like to take a look inside

Set render to yafray ( this uses yaf(a)ray now ) and call scripts/render/yafaray-export
from the scriptswindow in blender. Here you tweak rendersettings, material, lights etc.
Push preview to recalculate material-preview after changes. ( the sphere )
Be aware you have to find good values for results, it´s different from old yafaray.

Some more info:
http://wiki.yafray.org/bin/view.pl/UserDoc/YafaRayParameters?CGISESSID=1330b9c2f1e30b5144684c56dfd1460c
http://wiki.yafray.org/bin/view.pl/UserDoc/YafaRayBlender?CGISESSID=1330b9c2f1e30b5144684c56dfd1460c
http://wiki.yafray.org/bin/view.pl/UserDoc/YafaRay#Building

Some testrenderings at blendpolis ( german ):
http://blendpolis.de/f/viewtopic.php?t=16101&sid=7761345b9f35f38de624e08ee7527d44

Thanks lynx for the great work on Yaf(a)Ray, really like it.

Cheers…Jens

Thanks a lot Jensverwiebe !! Everything seems to work now :wink:

Man yafaray is so fast:yes:

BTW: There are windows- and linux-builds around too.
Have a look into the yafray-forums

Greetz…Jens

Hi Master jJens,
Yafaray unterstützt nun auch im neuesten phyton-script auch das Sunsky-Beleuchtungsmodell:

http://www.yafray.org/forum/viewtopic.php?t=1334

Läuft die auch unter Mac?

Hi tungee
As i have understand, yafray-exportercode in blender needs to be patched and
the .py is just extended with sunsky-feature. Should be no problem, just have
to have time to do it.

Also sollte kein Problem sein, muß mal schauen, was da vonnöten ist. Vielleicht am
Wochenende. wollte sowieso auch Blender updaten. Kann auch sein, daß lynx das
schon im SVN drin hat. Ich sag Bescheid.

EDIT: Info is somehow irritating, code should be in SVN already, so only modified Exporter.py is needed.
Please try this:http://www.jensverwiebe.de/Jens%20Verwiebe/Jens%20Verwiebe%20-%20Media_files/yafaray_ui-193-sunsky-0.1.1.py.zip

Gruß…Jens

Hi
Implemented SunSky and updated blender-trunk too…

http://graphicall.org/builds/builds/showbuild.php?action=show&id=553

Some testrenders in this thread ( blendpolis / germ. ):
http://blendpolis.de/f/viewtopic.php?t=16101&sid=b632766c4817aeeb2f8de5b8b5094ca4

Please try out and report

Jens

Trying to instal, but where is the blender scripts folder to be found?

Yafray is very good, I’m using it lately for my renders, it does excellent job. It’s fast and produces nice renders. I’m using windows build, but the features are the same on all platforms. Thanks for it to all.

@poke
The pythonscrips-folder is where your blender.app resides.
If you don´t have one yet, create one: name it: PythonScripts
Important too: In blender-preferences , lookup if your path to python is st correctly.
Nomally it looks like: users/your-user/blender/PythonScripts

Thats all

Cheers…Jens

Thanx Jens, Great Work again.!!!

Everything is superb!
I will post some tests within the next days.

PS:
The raydepth(render-parameters of blender-script) goes only until 20,but escpecially for glass you need more raydepth: ca.120!
it will not result in additional rendertime, if you increase the raydepth.
i think the samples of the spere and ?-light could be increased to 125samples too, its limited in the exporter to 64; results looks bit noisy in the shadows.
where is the recursive button for the pathlight?

Thanx ,tungee

Hey tungee
Disagree… maybe you shoud better play with IOR-setting.
For good transparency it should not be more than 1.6.

Regarding “recursive…” , someone must have eaten the button :evilgrin::stuck_out_tongue:

Greetz…Jens

Im not talking about IOR, jens; i kow ior>1.6 looks bad, Im talking about the parameter raydepth in the renderer-panel! try this: a simple glass material and set raydepth to 1(i mean not ior!) and then set it to 20 , you will see the one with 1 raydepth has black areas and the one with 20 rayDEpth has less black areas! but you need more in some cases.

very informative:
Regarding “recursive…” , someone must have eaten the button…:mad:

Hi tungee
Hab´nen Kasper gefrühstückt !!!

Try the following:
Open export.py in an editor and change line 1016, so it reads:

        height, 150, guiWidgetHeight, self.guiRenderRaydepth.val, 0, <b>120</b>, "Maximum depth for recursive raytracing")

so you can set raydepth to 120 ( or what you set there, but there is an limit for sure )
Raydepth < 6 , is looking bad for glass in any case.

Regarding recusive: have to find where it is gone…
EDIT:Lynx did take it out for some reasons, you should ask him directly, why.

Jens