Page 1 of 1

Xwa Mission 3D Viewer

Posted: Tue Nov 26, 2019 7:12 pm
by JeremyaFr
Hello,
Here is a WIP version of a new tool.

Xwa Mission 3D Viewer shows a 3D preview of the crafts in a mission.

XwaMission3DViewer.zip

Re: WIP: Xwa Mission 3D Viewer

Posted: Tue Nov 26, 2019 7:14 pm
by JeremyaFr
XwaMission3DViewer_WIP_02.jpg

Re: WIP: Xwa Mission 3D Viewer

Posted: Tue Nov 26, 2019 7:16 pm
by Vince T
Oooooh! You implemented the direction vector, too! Great work!

BTW, added this topic to the summary thread

Re: WIP: Xwa Mission 3D Viewer

Posted: Tue Nov 26, 2019 9:37 pm
by Jaeven
This is excellent! Great work!

Re: WIP: Xwa Mission 3D Viewer

Posted: Wed Nov 27, 2019 3:01 am
by ual002
Wow, this would be amazing for integration into Yogme.

Does it have a slider for mission time to see the travel times and routes/speeds of cap ships? That would be nice.

Re: WIP: Xwa Mission 3D Viewer

Posted: Wed Nov 27, 2019 6:20 am
by DTM
Thankyou Jaramy for your great work! This will be very usefull for player who want to have fun creating his own mission. Well done!!!

Re: WIP: Xwa Mission 3D Viewer

Posted: Wed Nov 27, 2019 6:46 am
by Mark_Farlander
Amazing job with this mission viewer tool! Since all the Flight Groups are shown entirely with the proper formation, this will open a new dimension to mission editing.
A position edit using AlliED will be immediately checked with the Mission 3D Viewer without the need to load the mission in game.

Re: WIP: Xwa Mission 3D Viewer

Posted: Wed Nov 27, 2019 5:40 pm
by keiranhalcyon7
Nice!

Re: WIP: Xwa Mission 3D Viewer

Posted: Wed Nov 27, 2019 6:08 pm
by Phoenix Leader
This thing is immense! You are the best, Jeremy.

Re: WIP: Xwa Mission 3D Viewer

Posted: Thu Nov 28, 2019 8:18 am
by Bman
Well done, thanks!

Re: WIP: Xwa Mission 3D Viewer

Posted: Thu Nov 28, 2019 9:02 pm
by JeremyaFr
UPDATE

I've improved the startup loading time

Re: WIP: Xwa Mission 3D Viewer

Posted: Sun Dec 01, 2019 12:42 pm
by JaggedFel
This is along the lines of what I always wanted to get YOGEME's map editor to. I have a branch open for it, was planning on using your OPT library when I found the time to actually sit down and work on it again.

Re: WIP: Xwa Mission 3D Viewer

Posted: Sun Dec 08, 2019 4:21 pm
by DTM
This happens when I try to upen a mission with a craft located in slot number 191 (used by Katana Warship in DSUCP). ALLIED also has a problem with this slot: the dot that represents the ship disappears from the map after the first save.


---------------------------
Xwa Mission 3D Viewer
---------------------------
D:\GOG Games\Star Wars - X-Wing Alliance\Missions\1b8m1TheGate.tie
System.ArgumentNullException: Il valore non può essere null.

Nome parametro: key

in System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

in System.Collections.Generic.SortedDictionary`2.TryGetValue(TKey key, TValue& value)

in XwaMission3DViewer.MainWindow.AddMapModels(Int32 region) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 403

in XwaMission3DViewer.MainWindow.LoadMap(Int32 region) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 390

in XwaMission3DViewer.MainWindow.UpdateMap(String fileName) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 327
---------------------------
OK
---------------------------

Re: WIP: Xwa Mission 3D Viewer

Posted: Sun Dec 08, 2019 6:01 pm
by JeremyaFr
UPDATE
I"ve fixed a bug with species index 232 (used by Katana Warship).

The problem is that:
The species table has 232 entries. The index used by the Katana Warship is index 232. This index is outside the species table. The species table is followed by the planets table. Species index 232 is read in the first entry of the planets table. A planet index of 0 means that the flightgroups entry is not a planet. So it is safe to overwrite the first planet entry. That's why a species index of 232 can be safetly used.

The program reads only the first 232 entries. I've fixed that. Now, the program reads 233 entries.

Re: WIP: Xwa Mission 3D Viewer

Posted: Mon Dec 09, 2019 4:58 pm
by DTM
Thanks!!!!!

Re: WIP: Xwa Mission 3D Viewer

Posted: Mon Dec 09, 2019 9:22 pm
by blue_max
Truly outstanding work, Jeremy!

Re: WIP: Xwa Mission 3D Viewer

Posted: Tue Dec 10, 2019 5:54 am
by DTM
Because of realistic illumination, the 3D map could be very dark. In the first stage of mission editing without backdrops it's impossible to use it.
I like the realistic illumination, but is it possible to add some sort of "editing illumination" that you can switch on and off?

Thanks!

Re: WIP: Xwa Mission 3D Viewer

Posted: Tue Dec 10, 2019 1:01 pm
by JeremyaFr
UPDATE

I've added a "Show Edit Lights" button.

Re: WIP: Xwa Mission 3D Viewer

Posted: Thu Dec 12, 2019 6:27 am
by DTM
It's perfect. As always, great work!

Re: Xwa Mission 3D Viewer

Posted: Fri Jan 10, 2020 4:41 pm
by JeremyaFr
UPDATE
Hello,

I've added XwaMission3DViewer to XwaToolsDownloader and published the source code to GitHub.