Wings3d - YafRAY - Explained


#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


#21

jm: I’m using Windows XP Pro, and yeah, that, oddly enough, was the only way the yafray submenu would appear.

Ack, I was just checking my path variable again, to be sure, and it turns out I had set the path to yafray wrong, which is why it wasn’t showing up originally. :banghead: (I was using %SystemRoot%, erroneously thinking that it stood for “C:” instead of "C:\windows). However, the above instructions still stand, in that you can ad the path to the plugin options to have the yafray submenu show up (and therefore render).


#22

yeah, you have to put C:\YAFRAY without leaving anything out.

I’ll add some screenshots to clear this up.

Jason


#23

see my replay in this thread

Yafray in detail for XP/2K

Jay


#24

Thanx everybody for your help.

I have win 2k, and all I had to do was to change under Plugin pref. from yafray to c:\yafray\yafray. And that´s it. No restarts nothing else.

Thanx again!!
Breed47


#25

same here. didnt have to do anything to Environment Variables
:stuck_out_tongue:


#26

right clicking on “put on” in the face commands and then selecting faces is alot of fun


#27

sorry, ment to post that somewhere else


#28

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.