• 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 »
[fixed] Crash on the DirectX demo - Import-Wavefront OBJ.

 
  • 0 Vote(s) - 0 Average
[fixed] Crash on the DirectX demo - Import-Wavefront OBJ.

Xavier
Offline

Junior Member

Posts: 11
Threads: 3
Joined: Dec 2020
#1
12-04-2021, 10:41 AM (This post was last modified: 12-12-2021, 05:57 AM by micheus.)
[Import-Wavefront OBJ] Crash on the DirectX demo.

Hi happy users, Micheus,

I tried to import the "Microsoft cup" from the Direct3D SDK sample.

    [Enclosed picture]

In "Direct3D\MeshFromOBJ"

No blue screen, but our Wings3D... don't love it !
Wink

The Wings3D import seem to be designed to load only one "g" object.
If i delete the second object in the file, it load the "inside" cup object.

.zip   media.zip (Size: 48.51 KB / Downloads: 1)

Another curiosity, i tried to load an "obj" file to the "OBJ" DirectX loader from an exported Wings file... and the texture UI mapping is wrong!

Wavefront seem to load his blt buffer form the end of the picture... to the begin (old BMP structure?).
The result is to invert the texture as a double mirrored picture on the UI table ! (-x,-y)

The exported picture had to be rotated by 180°, then an horizontal mirror is applied.


UV picture:
    [Enclosed picture]


Exported picture (set with the LightWav's mapping):
    [Enclosed picture]

The UI setting on Wings is based on the "real" picture, but don't match on the DirectX renderer.

Thanks Micheus for enjoys and your great job !

Quote:Dump written 2021-12-4_10-40
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}]}]

[Enclosed picture]: To show the enclosed pictures, you had to set this forum as "safe" in your web explorer.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
[fixed] Crash on the DirectX demo - Import-Wavefront OBJ. - by Xavier - 12-04-2021, 10:41 AM
RE: [Import-Wavefront OBJ] Crash on the DirectX demo. - by micheus - 12-04-2021, 11:38 PM
RE: [Import-Wavefront OBJ] Crash on the DirectX demo. - by Xavier - 12-07-2021, 02:06 AM
RE: [Import-Wavefront OBJ] Crash on the DirectX demo. - by Xavier - 12-07-2021, 03:46 AM
RE: [Import-Wavefront OBJ] Crash on the DirectX demo. - by micheus - 12-07-2021, 11:28 AM

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

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode