Using v2.1.5, I disabled the plugins you recommended, and confirmed that they were still disabled when Wings was quit and restarted. Unfortunately this did not seem to have any effect on the script; I presume that the script is not checking the plugin preferences.
I got a bit more methodical and tested 17 different versions, going back to v1.3.1 when wings_convert appears to have been first introduced. If I can get any version working that would meet my needs for now!
Unfortunately I was unsuccessful in converting an obj file to wrl with any version tested. This does make me wonder if this functionality has actually ever worked at any point, or if there is still something wrong in my setup? I did have some success converting a wings file to wrl in the 1.5 series, but unfortunately this is only half of the problem.
I tested both 32 and 64 bit releases in some versions, but noticed no difference in output in the ones tested.
Summary of error messages:
Possibly relevant commits:
2014-04-15 (600fb8a): "wings_convert script didn't work." Change appears to have been released in v1.5.4
2010-01-25 (70ccc1c): "Added import of formats other than wings and nendo."
Attached is the sample file I used to test: "sphere_2_tex(1Y).obj". It is a simple sphere with two associated textures. I also tried some simpler obj files with no color or texture, but had the same results.
sphere_2_tex(1Y).zip (Size: 15.64 KB / Downloads: 0)
Below are the details of the tests I ran and the error messages, in case anyone wants to reproduce.
Update: filed on Github as Issue #262.
I got a bit more methodical and tested 17 different versions, going back to v1.3.1 when wings_convert appears to have been first introduced. If I can get any version working that would meet my needs for now!
Unfortunately I was unsuccessful in converting an obj file to wrl with any version tested. This does make me wonder if this functionality has actually ever worked at any point, or if there is still something wrong in my setup? I did have some success converting a wings file to wrl in the 1.5 series, but unfortunately this is only half of the problem.
I tested both 32 and 64 bit releases in some versions, but noticed no difference in output in the ones tested.
Summary of error messages:
- 2.0.5 - 2.1.5: exception error: bad argument
- 2.0 - 2.0.4: Import crashed: badarg On file: "sphere_2_tex(1Y).obj". Fails with a similar error using wings file as import.
- 1.5.1 - 1.5.4: Import crashed: function_clause On file: "sphere_2_tex(1Y).obj". Works with wings file as import!
- 1.3.1 - 1.4.1: Failed to load perlin_noise_drv, Driver compiled with incorrect version of erl_driver.h
Possibly relevant commits:
2014-04-15 (600fb8a): "wings_convert script didn't work." Change appears to have been released in v1.5.4
2010-01-25 (70ccc1c): "Added import of formats other than wings and nendo."
Attached is the sample file I used to test: "sphere_2_tex(1Y).obj". It is a simple sphere with two associated textures. I also tried some simpler obj files with no color or texture, but had the same results.
sphere_2_tex(1Y).zip (Size: 15.64 KB / Downloads: 0)
Below are the details of the tests I ran and the error messages, in case anyone wants to reproduce.
Code:
cd "c:\path\to\test\files"
## Wings 3D 2.1.5 x64
set WINGS_DIR=c:/Program Files/wings3d_2.1.5/lib/wings-2.1.5
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.1.5\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
escript: exception error: bad argument
in function ets:lookup/2
called as ets:lookup(wpc_kerky,dialogs)
in call from wpc_kerky:get_var/1 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 2076)
in call from wpc_kerky:maybe_append/3 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 121)
in call from wings_convert__escript__1496__894370__894000__9:'-scan_format/1-fun-0-'/2 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 94)
in call from lists:foldl/3 (lists.erl, line 1263)
in call from wings_convert__escript__1496__894370__894000__9:scan_format/1 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 109)
in call from wings_convert__escript__1496__894370__894000__9:main/1 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 41)
## Wings 3D 2.1.5 x32
set WINGS_DIR=c:/Program Files (x86)/wings3d_2.1.5/lib/wings-2.1.5
"C:\Program Files (x86)\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.1.5\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
escript: exception error: bad argument
in function ets:lookup/2
called as ets:lookup(wpc_kerky,dialogs)
in call from wpc_kerky:get_var/1 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 2076)
in call from wpc_kerky:maybe_append/3 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 121)
in call from wings_convert__escript__1496__897241__546000__2:'-scan_format/1-fun-0-'/2 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 94)
in call from lists:foldl/3 (lists.erl, line 1263)
in call from wings_convert__escript__1496__897241__546000__2:scan_format/1 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 109)
in call from wings_convert__escript__1496__897241__546000__2:main/1 (D:\shared\software\3D\wings-2.1.5\src\wings_convert, line 41)
## Wings 3D 2.1 x64
set WINGS_DIR=c:/Program Files/wings3d_2.1/lib/wings-2.1
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
escript: exception error: bad argument
in function ets:lookup/2
called as ets:lookup(wpc_kerky,dialogs)
in call from wpc_kerky:get_var/1 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 2076)
in call from wpc_kerky:maybe_append/3 (c:/Users/familjen/src/wings/plugins_src/import_export/wpc_kerky.erl, line 121)
in call from wings_convert__escript__1496__973975__868000__6:'-scan_format/1-fun-0-'/2 (D:\shared\software\3D\wings-2.1\src\wings_convert, line 93)
in call from lists:foldl/3 (lists.erl, line 1263)
in call from wings_convert__escript__1496__973975__868000__6:scan_format/1 (D:\shared\software\3D\wings-2.1\src\wings_convert, line 108)
in call from wings_convert__escript__1496__973975__868000__6:main/1 (D:\shared\software\3D\wings-2.1\src\wings_convert, line 40)
## Wings 3D 2.0.5 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0.5/lib/wings-2.0.5
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.5\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
escript: exception error: bad argument
in function ets:lookup/2
called as ets:lookup(wpc_kerky,dialogs)
in call from wpc_kerky:get_var/1 (c:/Users/uabdgud/src/wings/plugins_src/import_export/wpc_kerky.erl, line 2077)
in call from wpc_kerky:maybe_append/3 (c:/Users/uabdgud/src/wings/plugins_src/import_export/wpc_kerky.erl, line 121)
in call from wings_convert__escript__1496__973930__415000__7:'-scan_format/1-fun-0-'/2 (D:\shared\software\3D\wings-2.0.5\src\wings_convert, line 93)
in call from lists:foldl/3 (lists.erl, line 1263)
in call from wings_convert__escript__1496__973930__415000__7:scan_format/1 (D:\shared\software\3D\wings-2.0.5\src\wings_convert, line 108)
in call from wings_convert__escript__1496__973930__415000__7:main/1 (D:\shared\software\3D\wings-2.0.5\src\wings_convert, line 40)
## Wings 3D 2.0.4 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0.4/lib/wings-2.0.4
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.4\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: badarg On file: "sphere_2_tex(1Y).obj"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wpa,do_import,3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,128}]},
{wpa,'-import/3-fun-0-',3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,118}]},
{wings_convert__escript__1496__978366__893000__7,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__978366__893000__7,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__978366__893000__7,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]}]
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.4\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).wings"
# Error message:
sphere_2_tex(1Y).wings => **** Import crashed: badarg On file: "sphere_2_tex(1Y).wings"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wings_ff_wings,import,2,
[{file,"c:/Users/uabdgud/src/wings/src/wings_ff_wings.erl"},
{line,27}]},
{wings_convert__escript__1497__14477__897000__7,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1497__14477__897000__7,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1497__14477__897000__7,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.4\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]},
{init,start_em,1,[{file,"init.erl"},{line,1076}]}]
## Wings 3D 2.0.3 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0.3/lib/wings-2.0.3
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.3\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: badarg On file: "sphere_2_tex(1Y).obj"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wpa,do_import,3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,128}]},
{wpa,'-import/3-fun-0-',3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,118}]},
{wings_convert__escript__1496__978356__477000__9,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.3\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__978356__477000__9,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.3\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__978356__477000__9,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.3\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]}]
## Wings 3D 2.0.2 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0.2/lib/wings-2.0.2
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.2\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: badarg On file: "sphere_2_tex(1Y).obj"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wpa,do_import,3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,128}]},
{wpa,'-import/3-fun-0-',3,
[{file,"c:/Users/uabdgud/src/wings/src/wpa.erl"},{line,118}]},
{wings_convert__escript__1496__978336__604000__9,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.2\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__978336__604000__9,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.2\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__978336__604000__9,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.2\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]}]
## Wings 3D 2.0.1 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0.1/lib/wings-2.0.1
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: badarg On file: "sphere_2_tex(1Y).obj"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wpa,do_import,3,[{file,"wpa.erl"},{line,120}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__978316__720000__8,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.1\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__978316__720000__8,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.1\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__978316__720000__8,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0.1\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]}]
## Wings 3D 2.0 x64
set WINGS_DIR=c:/Program Files/wings3d_2.0/lib/wings-2.0
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: badarg On file: "sphere_2_tex(1Y).obj"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wpa,do_import,3,[{file,"wpa.erl"},{line,120}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__973861__474000__8,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__973861__474000__8,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__973861__474000__8,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]}]
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-2.0\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).wings"
# Error message:
sphere_2_tex(1Y).wings => **** Import crashed: badarg On file: "sphere_2_tex(1Y).wings"
Debug info: [{wx_object,cast,2,[{file,"wx_object.erl"},{line,312}]},
{wings_ff_wings,import,2,[{file,"wings_ff_wings.erl"},{line,27}]},
{wings_convert__escript__1497__14608__319000__6,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1497__14608__319000__6,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1497__14608__319000__6,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-2.0\\src\\wings_convert"},
{line,84}]},
{escript,run,2,[{file,"escript.erl"},{line,760}]},
{escript,start,1,[{file,"escript.erl"},{line,277}]},
{init,start_em,1,[{file,"init.erl"},{line,1076}]}]
## Wings 3D 1.5.4 x64
set WINGS_DIR=c:/Program Files/wings3d_1.5.4/lib/wings-1.5.4
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.4\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__896364__134000__9,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.4\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__896364__134000__9,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.4\\src\\wings_convert"},
{line,84}]},
{wings_convert__escript__1496__896364__134000__9,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.4\\src\\wings_convert"},
{line,84}]}]
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.4\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).wings"
# This successfully converted the wings file to wrl!
## Wings 3D 1.5.3 x64
set WINGS_DIR=c:/Program Files/wings3d_1.5.3/lib/wings-1.5.3
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.3\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__895409__665000__2,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__895409__665000__2,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,83}]},
{wings_convert__escript__1496__895409__665000__2,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,83}]}]
## Wings 3D 1.5.3 x32
set WINGS_DIR=c:/Program Files (x86)/wings3d_1.5.3/lib/wings-1.5.3
"C:\Program Files (x86)\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.3\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__895709__363000__9,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__895709__363000__9,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,83}]},
{wings_convert__escript__1496__895709__363000__9,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.3\\src\\wings_convert"},
{line,83}]}]
## Wings 3D 1.5.2 x64
set WINGS_DIR=c:/Program Files/wings3d_1.5.2/lib/wings-1.5.2
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.2\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__896020__183000__6,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.2\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__896020__183000__6,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.2\\src\\wings_convert"},
{line,83}]},
{wings_convert__escript__1496__896020__183000__6,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.2\\src\\wings_convert"},
{line,83}]}]
## Wings 3D 1.5.1 x64
set WINGS_DIR=c:/Program Files/wings3d_1.5.1/lib/wings-1.5.1
"C:\Program Files\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__896164__753000__8,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__896164__753000__8,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,83}]},
{wings_convert__escript__1496__896164__753000__8,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,83}]}]
## Wings 3D 1.5.1 x32
set WINGS_DIR=c:/Program Files (x86)/wings3d_1.5.1/lib/wings-1.5.1
"C:\Program Files (x86)\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.5.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
sphere_2_tex(1Y).obj => **** Import crashed: function_clause On file: "sphere_2_tex(1Y).obj"
Debug info: [{gb_trees,get_1,
[wings_shape,nil],
[{file,"gb_trees.erl"},{line,243}]},
{wings_shape,new,3,[{file,"wings_shape.erl"},{line,56}]},
{wings_import,translate_objects,7,
[{file,"wings_import.erl"},{line,46}]},
{wings_import,import,2,[{file,"wings_import.erl"},{line,31}]},
{wpa,'-import/3-fun-0-',3,[{file,"wpa.erl"},{line,110}]},
{wings_convert__escript__1496__896264__37000__8,import_file,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,208}]},
{wings_convert__escript__1496__896264__37000__8,
'-convert/2-lc$^0/1-0-',2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,83}]},
{wings_convert__escript__1496__896264__37000__8,convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.5.1\\src\\wings_convert"},
{line,83}]}]
## Wings 3D 1.4.1 x32
set WINGS_DIR=c:/Program Files (x86)/wings3d_1.4.1/lib/wings-1.4.1
"C:\Program Files (x86)\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.4.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
Failed to load perlin_noise_drv in c:/Program Files (x86)/wings3d_1.4.1/lib/wings-1.4.1/plugins/accel
Driver compiled with incorrect version of erl_driver.h
wpc_pnoise:init/0 bad return value: {'EXIT',
{startup_fault,
[{pnoise,start,0,[]},
{wpc_pnoise,init,0,[]},
{wings_plugin,init_plugin,2,[]},
{wings_plugin,init_plugins,1,[]},
{wings_plugin,init,0,[]},
{wings_convert__escript__1496__894894__402000__2,
convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.4.1\\src\\wings_convert"},
{line,82}]},
{escript,run,2,
[{file,"escript.erl"},{line,760}]},
{escript,start,1,
[{file,[...]},{line,...}]}]}}
Failed to load wings_pick_drv in c:/Program Files (x86)/wings3d_1.4.1/lib/wings-1.4.1/plugins/accel
Driver compiled with incorrect version of erl_driver.h
## Wings 3D 1.3.1 x32
set WINGS_DIR=c:/Program Files (x86)/wings3d_1.3.1/lib/wings-1.3.1
"C:\Program Files (x86)\erl8.3\bin\escript.exe" "D:\shared\software\3D\wings-1.3.1\src\wings_convert" -f wrl -v "sphere_2_tex(1Y).obj"
# Error message:
Failed to load perlin_noise_drv in c:/Program Files (x86)/wings3d_1.3.1/lib/wings-1.3.1/plugins/accel
Driver compiled with incorrect version of erl_driver.h
wpc_pnoise:init/0 bad return value: {'EXIT',
{startup_fault,
[{pnoise,start,0,[]},
{wpc_pnoise,init,0,[]},
{wings_plugin,init_plugin,2,[]},
{wings_plugin,init_plugins,1,[]},
{wings_plugin,init,0,[]},
{wings_convert__escript__1496__897396__813000__8,
convert,2,
[{file,
"D:\\shared\\software\\3D\\wings-1.3.1\\src\\wings_convert"},
{line,82}]},
{escript,run,2,
[{file,"escript.erl"},{line,760}]},
{escript,start,1,
[{file,[...]},{line,...}]}]}}
Failed to load wings_pick_drv in c:/Program Files (x86)/wings3d_1.3.1/lib/wings-1.3.1/plugins/accel
Driver compiled with incorrect version of erl_driver.h
Update: filed on Github as Issue #262.