• 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.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#2
12-04-2021, 11:38 PM (This post was last modified: 12-04-2021, 11:40 PM by micheus.)
Hi Xavier.

Quote:No blue screen, but our Wings3D... don't love it !
Here is it:
[Image: microsoft-cup.png]

In order to get it working you will need to apply the patches available in Patches/Fixes for Wings3D Wink
I didn't have applied the patches in my install, so it was a big crash when I dragged/dropped into Wings3D workspace.

I'm able load the exported .obj in 3D Converted without any problem, but I'm going to try check these UV issues you pointed during the next weeks.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Xavier
Offline

Junior Member

Posts: 11
Threads: 3
Joined: Dec 2020
#3
12-07-2021, 02:06 AM
Many thanks Micheus !

Great job, as usual...
Xavier
Offline

Junior Member

Posts: 11
Threads: 3
Joined: Dec 2020
#4
12-07-2021, 03:46 AM (This post was last modified: 12-07-2021, 03:48 AM by Xavier.)
Hi,

Successfully tested on the PNG, BMP or JPG pictures in export mode.
I'm actually unable to create the mirror/rotation bug targeted first!

UV mapping seem working with an unchanged texture auv picture used in Wings...

Thanks again Micheus for spent time and your expert kindness.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#5
12-07-2021, 11:28 AM
Nice. Thanks for your feedback.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode