View Full Version : Wings3d - YafRAY - Explained
BiTMAP 06-17-2003, 08:04 AM 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:
http://www.members.shaw.ca/timgauthier/cayte/wingspecial.jpg
3 subdivisions, 4 aa, anti noise filter
|
|
Rhs_CG
06-17-2003, 06:03 PM
Which YafRAY GUI are you using?
jmcalpin
06-17-2003, 06:58 PM
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;http://www.byjason.com/log/archive/yafray-render.gif
This is the option panel open
http://www.byjason.com/log/archive/yafray-render-options.gif
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
Rhs_CG
06-17-2003, 07:10 PM
Great! Thanks.:beer:
Also, after you add a light, you can adjust the YAFray light setting in the light properties, (right click).
BgDM
BiTMAP
06-18-2003, 12:22 AM
No problem, Glad to help you out :)
bin23
06-18-2003, 12:10 PM
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
sketchyjay
06-18-2003, 01:42 PM
I have a os x machine I can install to and see what is going on. let you know later today
jason
bin23
06-18-2003, 02:34 PM
Thanks sketchyjay.
:bounce: :bounce: :bounce:
BIN23
sketchyjay
06-20-2003, 02:38 PM
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
wrosado
06-20-2003, 03:04 PM
cool, sketchyjay!
always wondered about how to implement yafray on osx...
guess i'm too lazy to to open up the terminal these days...
bin23
06-20-2003, 04:36 PM
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
jmcalpin
06-20-2003, 10:38 PM
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
MorBioS
06-21-2003, 12:21 PM
hehehe cool I heard everybody talk about yafray, but I don't know how it work.
thanks:thumbsup:
Breed47
06-27-2003, 08:19 AM
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
BiTMAP
06-27-2003, 08:30 AM
have you rebooted your system?
MrBraun
06-27-2003, 08:50 AM
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."
LoTekK
06-27-2003, 08:51 AM
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.
MrBraun
06-27-2003, 11:09 AM
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 ! ;)
jmcalpin
06-27-2003, 11:55 AM
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
LoTekK
06-27-2003, 02:50 PM
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).
jmcalpin
06-27-2003, 02:57 PM
yeah, you have to put C:\YAFRAY without leaving anything out.
I'll add some screenshots to clear this up.
Jason
jmcalpin
06-27-2003, 03:32 PM
see my replay in this thread
Yafray in detail for XP/2K (http://www.cgtalk.com/showthread.php?s=&postid=680856#post680856)
Jay
Breed47
06-27-2003, 09:15 PM
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
PiksalDesign
06-27-2003, 09:42 PM
same here. didnt have to do anything to Environment Variables
:p
lovisx
02-03-2005, 01:58 AM
right clicking on "put on" in the face commands and then selecting faces is alot of fun
lovisx
02-03-2005, 03:42 AM
sorry, ment to post that somewhere else
CGTalk Moderation
02-03-2006, 04:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.