Wings 3D Development Forum
YafaRay Plug-in - reviewing for Yafaray 3.0 - 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: YafaRay Plug-in - reviewing for Yafaray 3.0 (/showthread.php?tid=2053)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - david.bluecame - 03-17-2017

Oops!!!! Sorry!!! Blush I focused on the content and I overlooked the true author!!

Thank you very much dgud!!!! Biggrin

Note: I've edited my previous post accordingly. In any case, also many thanks to you, Micheus for all your help!


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - tkbd - 03-18-2017

david,dgud and micheus,Everyone who dealt with this problem.
Thank you very much!!!.
Japanese fonts are also displayed well ( for Image and html file log). Biggrin

[Image: yafaray_dialog_zpsqrs8imvk.png]

[Image: yafaray_utf8_render_zpswaxttoqe.png]

Perhaps the display of other languages/font will also go well.
I would have to keep test it.
--------------
tkbd


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - david.bluecame - 03-18-2017

Hello, tkbd

That's great, I'm very glad to see it's working for you!

Thanks to dgud and Micheus again Smile


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - tkbd - 10-16-2020

Recently,I used latest Yafaray plugin and Wings3D 2.2.6.1
(Note : I don't use Wings's Bulit-in Yafaray plugin,I use a following version that you made Wink)
https://github.com/DavidBluecame/YafaRay---unofficial-Builds/raw/master/wpc_yafaray_v3_beam_2017-03-17.zip

Most thing are working fine.
But the case that contain utf8 strings in Font file name or file Path.
In custom font URI of Yafaray export dialog, Wings3D is crash.

Asian font creators tend to name folders and font names using utf8 (Even amateurs and proprietary font bender).
And almost the users oftern put utf8 names in the folder for font file manage.

Quote:Using OpenCL via gpu:Name Apple:VSN: OpenCL 1.2 (May 5 2020 21:50:52)
Exporting to: /Users/User/Desktop/wpc_yafaray-1712-42Y9IQ.xml
for render to: //Users/User/Desktop/untitled.png
ERROR: Failed to export:
{'EXIT',{badarg,[{io_lib,format,
["\t<logging_fontPath sval=\"~s\"/>~n",
[[47,85,115,101,114,115,47,109,97,99,49,48,47,100,
97,116,97,47,32032,26448,12501,12449,12452,12523,
47,12501,12457,12531,12488,39006,47,50,48,49,50,
95,115,101,108,101,99,116,95,102,111,110,116,47,
71,76,45,84,115,117,107,105,106,105,45,53,103,111,
46,111,116,102]]],
[{file,"io_lib.erl"},{line,187}]},
{wpc_yafaray,println,3,
[{file,"wpc_yafaray.erl"},{line,5848}]},
{wpc_yafaray,export_logging_badge,2,
[{file,"wpc_yafaray.erl"},{line,5804}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3217}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,695}]},
{wings_export,export,4,[{file,"wings_export.erl"},{line,40}]},
{wings_file,'-export_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,97}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,87}]},
{wings_plugin,command,3,
[{file,"wings_plugin.erl"},{line,147}]},
{wings,raw_command_1,3,[{file,"wings.erl"},{line,644}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,
[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,
[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,249}]}]}}

---------
tkbd


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - oort - 10-16-2020

tkbd,

Micheus has fixed some things in the plugin. There is an unofficial version on my website. Not sure if it would fix your problem or not???

oort


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - micheus - 10-16-2020

Quote:Micheus has fixed some things in the plugin. There is an unofficial version on my website. Not sure if it would fix your problem or not???
We didn't knew about this one, so I just made a fix and I sent to tkbd to check if it will work.


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - tkbd - 10-18-2020

oort, micheus,Thank you for comment
I heared it first time that fixed newer version exist in your website.Blush
Probably, I had been overlooked ever that the plug-in's download link under "Wings3D --YafaRay Example Files".
So I misunderstanded it can download sample 3D model file only.

http://www.oortman3d.com/wings3d/YafaRayWings3DPlugin.zip
OK,Now I download it for replace old one and tried new version imidiately,
It got same crash log.
See a following log.

Quote:Exporting to: /Users/User/Desktop/wpc_yafaray-1812-ZPVDIQ.xml
for render to: //Users/User/Desktop/untitled.png
Mesh w_Cube1: triangulating...done
Mesh w_Cube1: exporting...done
ERROR: Failed to export:
{'EXIT',{badarg,[{io_lib,format,
["\t<logging_fontPath sval=\"~s\"/>~n",
[[47,85,115,101,114,115,47,117,115,101,114,47,68,
101,115,107,116,111,112,47,21517,31216,26410,
35373,23450,12501,12457,12523,12480,32,50,47,
30333,33311,26997,22826,26999,26360,25945,28450]]],
[{file,"io_lib.erl"},{line,187}]},
{wpc_yafaray,println,3,
[{file,"wpc_yafaray.erl"},{line,5848}]},
{wpc_yafaray,export_logging_badge,2,
[{file,"wpc_yafaray.erl"},{line,5804}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3217}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,695}]},
{wings_export,export,4,[{file,"wings_export.erl"},{line,40}]},
{wings_file,'-export_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,97}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,87}]},
{wings_plugin,command,3,
[{file,"wings_plugin.erl"},{line,147}]},
{wings,raw_command_1,3,[{file,"wings.erl"},{line,644}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,
[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,
[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,249}]}]}}

It happend that the case by Icon file path
Quote:Exporting to: /Users/User/Desktop/wpc_yafaray-1812-YTVDIQ.xml
for render to: //Users/User/Desktop/untitled.png
Mesh w_Cube1: triangulating...done
Mesh w_Cube1: exporting...done
ERROR: Failed to export:
{'EXIT',{badarg,[{io_lib,format,
["\t<logging_customIcon sval=\"~s\"/>",
[[47,85,115,101,114,115,47,117,115,101,114,47,68,
101,115,107,116,111,112,47,12365,12388,12397,46,
103,105,102]]],
[{file,"io_lib.erl"},{line,187}]},
{wpc_yafaray,println,3,
[{file,"wpc_yafaray.erl"},{line,5848}]},
{wpc_yafaray,export_logging_badge,2,
[{file,"wpc_yafaray.erl"},{line,5801}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3217}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,695}]},
{wings_export,export,4,[{file,"wings_export.erl"},{line,40}]},
{wings_file,'-export_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,97}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,87}]},
{wings_plugin,command,3,
[{file,"wings_plugin.erl"},{line,147}]},
{wings,raw_command_1,3,[{file,"wings.erl"},{line,644}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,
[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,
[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,249}]}]}}

P.S
BTW, I found another crash during this fixed plug-in test. Sad
It can't be open material edit dialog and crash, and Rendering is failed.
I'm going to post again after the this File Path issue is resolved.


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - oort - 10-18-2020

tkbd,
Thanks for the feedback on my website. I have just updated it to hopefully make it better... Smile

Are you saying that the version that Micheus sent directly to you on October 16 did not fix the problem?

oort


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - micheus - 10-18-2020

oort Wrote:Are you saying that the version that Micheus sent directly to you on October 16 did not fix the problem?
I don't think so. He didn't replay my email as usual. I sent another one using his alternative email. Smile


RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - tkbd - 10-19-2020

micheus Wrote:
oort Wrote:Are you saying that the version that Micheus sent directly to you on October 16 did not fix the problem?
I don't think so. He didn't replay my email as usual. I sent another one using his alternative email. Smile
micheus,oort,I was not often check sub email address.
and the sub email address is currently almost unchecked.
I apologize to you for late to recognize it.

micheus,I installed the plug-in that you sent with Wings3D 2.2.6.1.
But it didn't load properly
So, I delete my old Preference.txt and tried again.
The result was the same.It got a following log.
Quote:wpc_yafaray:init/0 bad return value: {'EXIT',
{undef,
[{wpc_yafaray,init,[],[]},
{wings_plugin,init_plugin,2,
[{file,"wings_plugin.erl"},
{line,184}]},
{wings_plugin,init_plugins,1,
[{file,"wings_plugin.erl"},
{line,168}]},
{wings_plugin,init,0,
[{file,"wings_plugin.erl"},
{line,56}]},
{wings,init,1,
[{file,"wings.erl"},{line,63}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},
{line,249}]}]}}
Using OpenCL via gpu:Name Apple:VSN: OpenCL 1.2 (May 5 2020 21:50:52)
I currently installed some unofficial wings Plug-ins (e.g. Primitive >Screw object , Face >Greebles etc.... ).
Did this cause the problem?
The beam file size is 71kb, is that correct size?