sidebar features
sidebar content

Go Back   Blender Artists Forums > Support > Composition, Visual Effects & Rendering

Reply
 
Thread Tools
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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
- needs additional dependencies: libpng, included as installer now

- more info :http://wiki.yafray.org/bin/view.pl/UserDoc/YafaRay
- in UI material preview works now !!!! ( 26.11.07 )

Cheers...Jens

Last edited by jensverwiebe; 01-Dec-07 at 13:59.
#1   Old 27-Nov-07, 14:58   
Reply With Quote


masterhoshi's Avatar
masterhoshi masterhoshi is offline
Member
 
Join Date: Jul 2005
Posts: 517
Very interested. How about a PPC build for Leopard? Or better still a Universal.
#2   Old 28-Nov-07, 22:00   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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
#3   Old 29-Nov-07, 07:20   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
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
#4   Old 30-Nov-07, 07:28   
Reply With Quote
morvan's Avatar
morvan morvan is offline
Member
 
Join Date: Jun 2007
Location: Denmark
Posts: 141
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?
#5   Old 30-Nov-07, 09:44   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
@ 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/U...684c56dfd1460c
http://wiki.yafray.org/bin/view.pl/U...684c56dfd1460c
http://wiki.yafray.org/bin/view.pl/U...faRay#Building

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

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

Cheers...Jens

Last edited by jensverwiebe; 01-Dec-07 at 16:00.
#6   Old 30-Nov-07, 10:33   
Reply With Quote
morvan's Avatar
morvan morvan is offline
Member
 
Join Date: Jun 2007
Location: Denmark
Posts: 141
Thanks a lot Jensverwiebe !! Everything seems to work now
#7   Old 30-Nov-07, 10:44   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
Man yafaray is so fast
#8   Old 30-Nov-07, 22:34   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
BTW: There are windows- and linux-builds around too.
Have a look into the yafray-forums

Greetz...Jens
#9   Old 04-Dec-07, 10:06   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
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?
#10   Old 07-Dec-07, 21:10   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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

Last edited by jensverwiebe; 08-Dec-07 at 12:16.
#11   Old 07-Dec-07, 22:18   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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=b632766c4817aeeb2f8de5b8 b5094ca4


Please try out and report

Jens

Last edited by jensverwiebe; 08-Dec-07 at 13:26.
#12   Old 08-Dec-07, 12:55   
Reply With Quote
poke's Avatar
poke poke is offline
Member
 
Join Date: Apr 2006
Posts: 321
Trying to instal, but where is the blender scripts folder to be found?
............................................
illustration graphic design = pokedstudio
#13   Old 08-Dec-07, 13:41   
Reply With Quote
Myn.pheos Myn.pheos is offline
Member
 
Join Date: Mar 2006
Location: Slovakia
Posts: 675
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.
............................................
Myn
#14   Old 08-Dec-07, 13:52   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
@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

Last edited by jensverwiebe; 08-Dec-07 at 16:38.
#15   Old 08-Dec-07, 13:52   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
Thanx Jens, Great Work again.!!!
#16   Old 08-Dec-07, 20:51   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
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
#17   Old 08-Dec-07, 23:05   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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

Greetz...Jens
#18   Old 09-Dec-07, 18:19   
Reply With Quote
tungee's Avatar
tungee tungee is offline
Member
 
Join Date: Nov 2007
Posts: 81
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.......
#19   Old 09-Dec-07, 18:48   
Reply With Quote
jensverwiebe jensverwiebe is offline
Member
 
Join Date: Jul 2007
Location: Hamburg
Posts: 206
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, 120, "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

Last edited by jensverwiebe; 09-Dec-07 at 19:55.
#20   Old 09-Dec-07, 19:09   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 22:52.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists