Wings3d - YafRAY - Explained


#1

Wings3d - YafRAY - Explained

I was just browseing over at the Wings3d Forums and noticed something that sickens me, but i don’t want to register over there to post this, so let people know.

The thing is that many people use wings3d and YafRAY, and i’ve seen people saying that u need to use all of these various things to run with Yafray, well I’ve got the newest version of YafRAY and wings, and I have a gui right in wings that works with YafRAY and allows me to tune MOST options. True I would like a bit more control for the various things but what I get right now is good enough.

How to use it? well you install yafray, then open wings, then you go to the render menu, and then volia look its yafray! now click on the box and you get the gui or the text and it uses the last render settings assigned. It has a command line for those who know how to use that to fine tune the various sampling, but i don’t understand that stuff so i’ll leave that to you guys.

Here is something I rendered recently with yafray directly out of Wings3d:

3 subdivisions, 4 aa, anti noise filter


#2

Which YafRAY GUI are you using?


#3

there is no seperate UI. get the yafray installer. install it and add it’s directory/folder to your path. it explains it on their site.

If it is installed correctly you get this;

This is the option panel open

Now before anything will render here are a few things to remember.

You must have lights in your scene for anything to render. If not you’ll just get black.

It renders from the POV of the camera you are looking through.

in the option panel camera height and width is the size of the final image.

the other options you can play with to tweek the final image.

Jay


#4

Great! Thanks.:beer:


#5

Also, after you add a light, you can adjust the YAFray light setting in the light properties, (right click).

BgDM


#6

No problem, Glad to help you out :slight_smile:


#7

Hey guys,
I’ve been trying to use Yafray on OS X without success.
Each time I attempt to render an image I get an error.

Yafray seem to work from the command line, but does not work through Wings.

…any ideas

BIN23


#8

I have a os x machine I can install to and see what is going on. let you know later today

jason


#9

Thanks sketchyjay.

:bounce: :bounce: :bounce:

BIN23


#10

It took me forever to find it but I have it now… Had to buy a book on unix to get the commands to find this puppy

Yafray installs itself in /usr/bin/ which is not visable except in the terminal window.

Add Yafray to wings to do exports like this

go to edit > plugins > yafray

where it says command line put in /usr/bin/yafray

yafray will appear in the render and export menu although it won’t render anything. now you will have the option of exporting a Yafray xml file even though it does not render.

you can run files though YafRay from the terminal window but not through wings. I put the files in documents under the hard drive. The one prolem is that YafRay being a command line program reads spaces as the end of a command so neither the folder nor the file to render can have spaces in teh name

in the terminal window you type in

yafray /documents/filetorender.xml

with luck they will fix this in the next few releases.

Jason


#11

cool, sketchyjay!

always wondered about how to implement yafray on osx…

guess i’m too lazy to to open up the terminal these days…


#12

Thanks sketchyjay,
and I think you are absolutely right about the file structure. Wings, at least on my systems, fails to write the xml document that should get passed onto Yafray to be rendered. I’ve noticed that as it is processing the command to render to Yafray, it places a document with a long string of characters ending in .xml in the folder that you are rendering to before it fails and then dumps that document.

I hope they fix this soon.

BIN23


#13

odd that it can export the file to render on the command line but not directly from the software.

In any case 98.11 is out so I have to try this one ot see if the problem is fixed… the update says the plugins have to be updated though so who knows.

Jason


#14

hehehe cool I heard everybody talk about yafray, but I don’t know how it work.
thanks:thumbsup:


#15

Hi everybody!

Well, it seems I´ve come to the right place. My problem is that I can´t get Yafray to appear in the render menu.
I installed it to the default path. Is that right or should I install it to a specific folder inside of Wings?

Would be dead happy for your help.
Thanx
Breed47


#16

have you rebooted your system?


#17

Try this from wings manual:
"In windows 98 you edit your autoexec.bat. in it you will see a line that reads something like
Path=C:; C:\windows; C:\windows\system; etc
At the end of this list of locations add a
semicolon, a space and c:\yafray
When you restart your machine it will be added to the paths.

Windows 2000/Windows 2K uses the same convention but in a different place. you right click on
My Computer Click the advanced tab. Then click on the variables button. Here you will find two
windows with various settings. Look in the lower one labeled System Variables. You should see a
variable named path. Double-click it and it will open a property panel to change it. Add ; C:\yafray
to the end of the list of paths (only use one ; between each path) If no Path variable is there add it
by clicking the New button under system Variables.
Variable Name is Path
Value is C:\yafray
.
A YafRay plug-in comes with Wings3D, when Wings3D starts the plug-in looks to see if the YafRay
software is installed. If Wings3D can find YafRay in the path then it will add it as a render choice."


#18

Odd. Even after I added the yafray directory to my path, the yafray option still wouldn’t show up under the Render submenu. After much head-scratching, I finally got it to show up by changing the ‘command-line’ entry from “yafray” to “C:\YAFRAY\yafray”. Only then did it show up in the rendering submenu.


#19

Yes! Into yafray plugin command line have only the name YAFRAY!
This because through the path is possible to perform the command from any position ! :wink:


#20

what version of windows are you using?

Typing the full path to the software is fine. I had to do that on the Mac side. Does this allow it to render? If it does problem solved.

I’m working on the revised manual so if the instructions didn’t work let me know.

Thanks,

Jason