Page 1 of 1

MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Sun Aug 23, 2020 4:02 am
by Trophi Hunter
Hey so the new sim just released and they don't have any Liveries for the planes. I can create some 1:1 perfect sets but I need a way to import the models into 3ds max or Noesis. Noesis does import them but the UVS are broken. The SDK has a lot of documentation on how it exports the models but the sim compiles the GLTF models and changes the data a bit. I really would just need the 3d vertex and face data + uvs intact if possible.
I added the A320 neo model as an attachment to poke around.

3D Models

Re: MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Sun Aug 23, 2020 9:31 am
by shakotay2
Trophi Hunter wrote: Sun Aug 23, 2020 4:02 amNoesis does import them but the UVS are broken.
What does that mean exactly? Looks better than expected:
.
Lever_Elevatortrim.png
(Maybe a swap between half floats and shorts required, or vice versa, dunno, because the code is hidden in a dll.)

Re: MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Sun Aug 23, 2020 12:44 pm
by shakotay2
uvs_halfFloats.png
So the uvs of the submesh here are half floats - mesh format doesn't look too hard but I usually don't care when solutions already exist.

(Too sad that the code is burried in a dll without source.)

Re: MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Sun Aug 23, 2020 5:25 pm
by CosmicDreams
Image
Plane models seem a bit more broken.

Re: MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Mon Aug 24, 2020 3:09 am
by Trophi Hunter
@CosmicDreams yeah that has to do with the bone rotation being wrong but upon export there is a optimize phase called RichPGeo and that might be the reason the uvs break, again i'm not sure but @shakotay2, plz if you could make a max script or a proper Noesis plugin i'll paypal you $10 ;)

Re: MS Flight Sim 2020 GLTF (GLB) 3d models importer (Request)

Posted: Mon Aug 24, 2020 2:16 pm
by CosmicDreams
Trophi Hunter wrote: Mon Aug 24, 2020 3:09 am @CosmicDreams yeah that has to do with the bone rotation being wrong but upon export there is a optimize phase called RichPGeo and that might be the reason the uvs break, again i'm not sure but @shakotay2, plz if you could make a max script or a proper Noesis plugin i'll paypal you $10 ;)
UV's are broken even in noesis i think.