10-21-2020, 08:56 AM
I received a test plugin and I will tell you the result.
I tried test with 3files rendering.
The Yafaray Rendering on use non-latin name ...
(They have simple scene,one textureed cube)
A) with texture file name
B) with 3D Object name
C) with Material name
I'm going to send to you these samples.
I use the non-latin name with Wings3D internal image.
They connected to Cuve1auv the UV as color,roughness,metalness and emission Texture etc...
Yafaray XML file output stopped in the middle.
XML file data is here.
Probably,for some reason ~ts format string is not working well.
Error Log is here in this time.
This is outoput of the commented-out xml data,
there is an error on the Wings3D side.
I tried test with 3files rendering.
The Yafaray Rendering on use non-latin name ...
(They have simple scene,one textureed cube)
A) with texture file name
B) with 3D Object name
C) with Material name
I'm going to send to you these samples.
I use the non-latin name with Wings3D internal image.
They connected to Cuve1auv the UV as color,roughness,metalness and emission Texture etc...
Yafaray XML file output stopped in the middle.
XML file data is here.
Code:
<?xml version="1.0"?>
<!-- wpc_yafaray-762-RWTIIQ.xml: Exported from Wings 3D 2.2.6.1 -->
<scene type="triangle">
<!-- Section Materials -->
Probably,for some reason ~ts format string is not working well.
Error Log is here in this time.
Code:
Exporting to: /Users/User/Desktop/wpc_yafaray-762-RWTIIQ.xml
for render to: //Users/User/Desktop/sample_22.png
ERROR: Failed to export:
{'EXIT',{{error,badarg},
[{wpc_yafaray,println,
[<0.227.0>,
"<texture name=\"~ts\">~n <filename sval=\"~ts\"/>~n<type sval=\"image\"/>~n</texture>",
[["w_Cube1auv",95,"1"],
[47,85,115,101,114,115,47,117,115,101,114,47,68,101,
115,107,116,111,112,47,12486,12473,12488,12398,
30011,20687,12391,12377,46,112,110,103]]],
[{file,"wpc_yafaray.erl"},{line,5858}]},
{wpc_yafaray,'-export_shinydiffuse_shader/5-fun-0-',6,
[{file,"wpc_yafaray.erl"},{line,3325}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{wpc_yafaray,export_shinydiffuse_shader,5,
[{file,"wpc_yafaray.erl"},{line,3324}]},
{wpc_yafaray,'-export/3-fun-0-',4,
[{file,"wpc_yafaray.erl"},{line,3152}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3151}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,697}]},
{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}]}]}}
This is outoput of the commented-out xml data,
there is an error on the Wings3D side.
Code:
Exporting to: /Users/User/Desktop/wpc_yafaray-762-XCUIIQ.xml
for render to: //Users/User/Desktop/sample_33.png
Mesh w_Cue1立方体: triangulating...done
Mesh w_Cue1立方体: exporting...ERROR: Failed to export:
{'EXIT',{{error,badarg},
[{wpc_yafaray,println,
[<0.266.0>,"<!--Object Name ~ts, Object # ~w-->",
[[119,95,67,117,101,49,31435,26041,20307],1]],
[{file,"wpc_yafaray.erl"},{line,5858}]},
{wpc_yafaray,export_object_1,6,
[{file,"wpc_yafaray.erl"},{line,4435}]},
{wpc_yafaray,'-export/3-fun-2-',4,
[{file,"wpc_yafaray.erl"},{line,3170}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3169}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,697}]},
{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}]}]}}