bestdani / msfs2blend Goto Github PK
View Code? Open in Web Editor NEWImport Microsoft Flight Simulator (FS2020) Models in Blender
License: Apache License 2.0
Import Microsoft Flight Simulator (FS2020) Models in Blender
License: Apache License 2.0
Hello,
So when I go to "File" "Export" "MSFS glTF", I can't access the App Data Folder, which is where I need to go. Any support is appreciated.
https://drive.google.com/file/d/133q-DjWKLmkjVHlC9RUkhX1uvTy-5q8N/view?usp=sharing
Drive file with screenshot of problem
Version: 0.4
Blender: 3.1.2
When I load an airplane and try to manually paint on it, the color bleeds into other parts of the airplane even tho I'm not painting that part, this does not happen with version 0.2 of the plugin
Some objects wont open. Cant create full UV map
While trying to load a model I keep getting this issue
Python: Traceback (most recent call last):
File "C:\Users\javier.gutierrez\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_msfs_gltf.py", line 327, in execute
return import_msfs_gltf(context, self.filepath, self.report)
File "C:\Users\javier.gutierrez\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_msfs_gltf.py", line 302, in import_msfs_gltf
objects = create_objects(gltf['nodes'], meshes)
File "C:\Users\javier.gutierrez\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_msfs_gltf.py", line 243, in create_objects
rot = node['rotation']
KeyError: 'rotation'
location: :-1
I have tried the latest blender version 3.6, and 3.0.1 as well and I have the same issue, also, I do not see the plugin preferences as per the README file on the blender ADD-ONS page
as title....
my MSFS is installed from Microsoft Store.
pls let me know how to set "Flight Simulator fs-base path" on blender references.
I am applying the original textures from the game to the Cj4 and the UVs for the cabin are completely broken.
If I import lod 2 of the mesh they work fine.
Hello,
i have 2 little Problems in Blender.
Thanks
Matthias
It is particularly visible when trying to import the FA18E and converting the textures. The model is imported but the textures seem to be looked for in a completely wrong location (some subfolders inside the texture folder)
Python: Traceback (most recent call last):
File "C:\Users\Mavick Mai\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_msfs_gltf.py", line 673, in execute
import_msfs_gltf(context, ImportProperties.gltf_file, self.report,
File "C:\Users\Mavick Mai\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_msfs_gltf.py", line 619, in import_msfs_gltf
materials = create_materials(gltf, bl_images, report,
File "C:\Users\Mavick Mai\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_msfs_gltf.py", line 396, in create_materials
setup_mat_nodes(bl_mat, gltf_mat, textures, images,
File "C:\Users\Mavick Mai\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\io_msfs_gltf.py", line 336, in setup_mat_nodes
p_bsdf_node = tree.nodes['Principled BSDF']
KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found'
Blender not opening up models anymore? I've been on 2.83 Stable LTS of Blender for over a year now and never had issues opening models now. But I tried to open up a few aircraft models now and I just get Trackback errors now when opening up a model.
Traceback (most recent call last):
File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 283, in execute
return import_msfs_gltf(context, self.filepath, self.report)
File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 255, in import_msfs_gltf
objects = create_objects(gltf, meshes)
File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 221, in create_objects
obj.scale = node['scale']
KeyError: 'scale'
location: <unknown location>:-1
when i try to import some files it says that some of themeshes couldn't be handled
I imported indiafoxtecho-ussgeraldford using your plugin.
First off loving the plugin.
Second just noticing that the plugin is merging objects together and messing with the UV mapping.
Specifically the Life Raft pods on the side of the carrier (the wire and pods are being joined together) and have different UVs and messing them up. Also Tilly the carrier crane has the same issue.
Also noticed the plugin did capture the four trap wires.
its Not supported on v.2.91.0 blender is there anyway you could fix this
thankyou
It might be better to build upon the official glTF importer if there is a way to support the very special usage of primitive loading with the Asobo extensions for mesh and UV data loading.
In a perfect world this importer extension would then just have to care about loading the meshes with UV maps as well as converting textures to load them into blender and the rest (animations, bones, and so one) would work with the same quality the official importer provides.
If someone has experience with this already I would appreciate any pointers that could help to speed things up if I or someone else decides to convert it to some proper glTF importer extension plugin.
Tried importing best LOD of the cockpit of the A32NX from FlyByWire (A320_NEO_INTERIOR_LOD00.gltf
) and I get this error:
Traceback (most recent call last):
File "C:\Users\\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf (1).py", line 760, in execute
ImportProperties.convert_textures_dirs)
File "C:\Users\\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf (1).py", line 629, in import_msfs_gltf
objects = create_objects(gltf['nodes'], meshes)
File "C:\Users\\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf (1).py", line 242, in create_objects
mesh = meshes[node['mesh']]
TypeError: list indices must be integers or slices, not NoneType
location: <unknown location>:-1
Tested in Blender 3.1.2, 2.9 and 2.8.
The other LODs and exterior meshes import correctly.
I'd like to use a small part of this project, but I can't do that without there being a license present.
this causes some objects to not get imported like the sidesticks "YOKE_RIGHT"
my PR does not have this issue ๐
This addon has one simple feature missing that would make it absolutely perfect;
the ability to import animations
the error said cannot handle with mesh
this is the object i try to load "A320_NEO_LOD01.gltf"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.