• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 2 3 4 5 … 35 Next »
[patched] (2.2.7) Wings 3D crash when import obj. in Win 10

 
  • 0 Vote(s) - 0 Average
[patched] (2.2.7) Wings 3D crash when import obj. in Win 10

noisybirds
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Nov 2021
#7
11-12-2021, 03:12 AM (This post was last modified: 11-12-2021, 03:20 AM by noisybirds.)
Hi @micheus,
I didn't explicitly UV map the cube in the .obj file - all I did was change the default material to use the image as the base colour. It was created in the other program, Wings was only used when I tried to import it. I only have the .obj file as a result.

obj
https://drive.google.com/file/d/1Rompxed...sp=sharing
mtl file
https://drive.google.com/file/d/1BjQCV25...sp=sharing

Okay, I have reproduced it in wings.
Create a texture externally (256x256 png)
Create a standard cube.
Import the image
Assign the image to the default material. Cube now has the texture.
Save as obj
File new
File import

Dump written 2021-11-12_13-16
Version: 2.2.7
Window: geom
Reason: function_clause

Short stack trace:
[{wings,command_1,2,[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

Long stack trace:
[{wings,command_1,
[{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Untitled.png"},
infinity]}}},
{st,{0,nil},
edge,false,[],
{0,nil},
none,
{1,
{default,
[{maps,[]},
{opengl,
[{diffuse,
{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{metallic,0.1},
{roughness,0.8},
{vertex_colors,set}]}],
nil,nil}},
[],undefined,true,1,none,none,
{0,{}},
{1,{wings_shape,{no_folder,[{no_folder,{open,{0,nil}}}]},nil,nil}},
{face,{plane_cut,y}},
{1.0,0.0,0.0},
none,
{ignore,ignore},
{'EXIT',
{{{badarg,none},
[{string,casefold,1,[{file,"string.erl"},{line,387}]},
{wings_image,'-handle_call/3-fun-6-',2,
[{file,"wings_image.erl"},{line,332}]},
{wings_image,'-handle_call/3-lc$^8/1-0-',2,
[{file,"wings_image.erl"},{line,337}]},
{wings_image,handle_call,3,
[{file,"wings_image.erl"},{line,336}]},
{gen_server,try_handle_call,4,
[{file,"gen_server.erl"},{line,715}]},
{gen_server,handle_msg,6,
[{file,"gen_server.erl"},{line,744}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,226}]}]},
{gen_server,call,
[wings_image,
{find_image,"c:/Users/shane/Desktop","Untitled.png"},
infinity]}}},
{[],[]},
true,[]}],
[{file,"wings.erl"},{line,767}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,87}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,643}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1032}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,998}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,890}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,799}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,685}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

Argument #2:

Here's a zip containing the png, wings file, obj, mat, and crash dump
https://drive.google.com/file/d/16dkUg0B...sp=sharing
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
[patched] (2.2.7) Wings 3D crash when import obj. in Win 10 - by olve11 - 08-16-2021, 04:32 PM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by micheus - 08-16-2021, 05:52 PM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by olve11 - 08-16-2021, 06:32 PM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by micheus - 08-16-2021, 06:48 PM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by noisybirds - 11-12-2021, 02:02 AM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by micheus - 11-12-2021, 02:41 AM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by noisybirds - 11-12-2021, 03:12 AM
RE: (2.2.7) Wings 3D crash when import obj. in Win 10 - by micheus - 11-12-2021, 04:33 AM
RE: [patched] (2.2.7) Wings 3D crash when import obj. in Win 10 - by noisybirds - 11-12-2021, 05:00 AM
RE: [patched] (2.2.7) Wings 3D crash when import obj. in Win 10 - by micheus - 11-12-2021, 05:02 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode