Wings 3D Development Forum
I need help installing yafaray renderer plugin. - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: I need help installing yafaray renderer plugin. (/showthread.php?tid=1308)

Pages: 1 2


RE: I need help installing yafaray renderer plugin. - oort - 08-11-2015

Micheus,
I just got back and have not had a chance to read my e-mails...

If you look at the last image he attached, I see the Wings3D plugins path listed instead of the YafaRay path. However, that may not fix his problem if long file names is a problem.

As a work around until I can fix this, Install YafaRay in C:\Yafaray instead of under Program_Files...

Thanks,
oort


RE: I need help installing yafaray renderer plugin. - giannis196 - 08-11-2015

(08-11-2015, 06:03 PM)oort Wrote: giannis,
You still need to correct the Plugins Path under Edit > Plugin Preferences > YafaRay. You are listing the path to the Wings3D plugins folder instead of the YafaRay plugins folder (...ares/yafaray/bin/plugins).

That is why it cannot find the "image handlers" in the plugins folder. You are specifying the wrong folder in the Plugin Preferences.

This information is shown when you click the Help (?) button in the YafaRay Options dialog (EDit > Plugin Preferences > YafaRay).

oort

ok, i have fixed that so the executable linking to the:
D:\Program Files\modeling softwares\rendering softwares\yafaray\binyafaray-xml.exe
and the plugins path linking to the:
D:\Program Files\modeling softwares\rendering softwares\yafaray\bin\plugins
but i still got the same error message.

i also tried to change the \ to / but still nothing
do you have any ideas to what i could be?


RE: I need help installing yafaray renderer plugin. - oort - 08-11-2015

giannis,
Look at the previous post by Micheus. He discovered that there is a problem when using long file names. As a workaround you can install YafaRay in C:\YafaRay instead of under Program_Files.

Sorry I did not know about this. Thanks for sticking with this so we can get these issues resolved. Without other people testing, it is hard to catch these things. Your reward will be that you will be able to render with YafaRay... Smile

I will try to update the plugin soon if you do not want to install YafaRay in a different folder.

oort


RE: I need help installing yafaray renderer plugin. - giannis196 - 08-11-2015

(08-11-2015, 06:11 PM)micheus Wrote: oort, the problem is in the plugin code. Did you read my latest email. It's about that in his log:
> d:/PROGRA~1/MODELI~1/RENDER~1/yafaray/bin/YAFARA~1.EXE -pp C:\Program Files\wings3d_1.5.4\lib\wings-1.5.4\plugins -f png wpc_yafaray-5980-3KCXSN.xml d:/tex
INFO: YafaRay 0.1.5
INFO: The plugin path is: C:\Program
INFO: Environment: Loading plugins ...

As it was done to the executable path - converted to short name, you need to do the same for the plugin path. That Program Files (with a blank space between) is causing the problem.

Thanks Micheus!!
I finally got this fixed!
I render my image!
I change all the folder names replacing the blank space with a " _ " and it worked!

Thanks!!

(08-11-2015, 06:39 PM)oort Wrote: giannis,
Look at the previous post by Micheus. He discovered that there is a problem when using long file names. As a workaround you can install YafaRay in C:\YafaRay instead of under Program_Files.

Sorry I did not know about this. Thanks for sticking with this so we can get these issues resolved. Without other people testing, it is hard to catch these things. Your reward will be that you will be able to render with YafaRay... Smile

I will try to update the plugin soon if you do not want to install YafaRay in a different folder.

oort

Well actually the problem with my situation was the blank space.
If the path had got blank space(s) it does not work. (you can try it)
I replaced all the blank spaces with a " _ " and it worked


RE: I need help installing yafaray renderer plugin. - oort - 08-11-2015

Glad you have it working. I will let you know when the plugin gets updated. Then you can try renaming the folders again and test it... if you have the courage... Smile

There are some example scenes at the bottom of my Wings3D page, where you downloaded the plugin. They may help you get more familiar with YafaRay.

Thanks,
oort


RE: I need help installing yafaray renderer plugin. - oort - 08-11-2015

I have posted an updated version that should fix the problem with "_" in the path names.

If you are willing to test the new version, you will first have to manually delete the old version from the plugins/import_export folder. Even after modifying my security settings Windows 7 will not let me overwrite the old files when using Install Plugin. I thought I used to be able to do that but it does not seem to work anymore. Maybe I remember wrong or maybe a Windows update changed that???

Thanks,
oort


RE: I need help installing yafaray renderer plugin. - micheus - 08-11-2015

(08-11-2015, 06:39 PM)giannis196 Wrote: I replaced all the blank spaces with a " _ " and it worked
Please, for your own safety, don't do that in the system folders (like Program Files or Program Files(x86)). Wink


RE: I need help installing yafaray renderer plugin. - giannis196 - 08-12-2015

(08-11-2015, 11:26 PM)micheus Wrote:
(08-11-2015, 06:39 PM)giannis196 Wrote: I replaced all the blank spaces with a " _ " and it worked
Please, for your own safety, don't do that in the system folders (like Program Files or Program Files(x86)). Wink

you are right, the only reason i didn't had any problem it's because the folder "Program File" was not the system folder, it was just a common folder that created by me and just named "Program Files" (it's not the system folder "Program Files" but a common folder)
so, when i changed the name from "Program Files" to "Program_Files" i had no problem

If that was the system folder "Program Files" i would not change it anyway
(i know what will happen if i do) Biggrin


RE: I need help installing yafaray renderer plugin. - ubiquity - 10-03-2015

I have been trying to follow this thread.
Do we now have a standard, reproducible process for installing Yafray and linking it to Wings (1.5.4 and 2.0+) for Windows 7 and above?
Can this be formally documented somewhere?


RE: I need help installing yafaray renderer plugin. - oort - 10-03-2015

ubiquity,
Hopefully it is easier with the latest version of the YafaRay plugin. Wings3D 2.0.1 comes with the plugin already installed.

You can get the latest version of the plugin for Wings3D 1.5.4 on the Wings3D page of my website. You may have to manually copy the .beam file to your plugins/import_export folder due to Windows 7 and above requiring special permission to copy to that folder.

There is help for configuring the plugin under Edit > Plugin Preferences > YafaRay.

Make sure you install YafaRay and not Old YafRay. You can also use "TheBounty" renderer (YafaRay Fork). You will have to use "TheBounty" if you want to use SSS.

oort