Outerra forum

Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: fly77 on September 21, 2019, 04:39:17 am

Title: fbx export from blender with python scripts
Post by: fly77 on September 21, 2019, 04:39:17 am
I noticed that with the new version when trying to import a fbx file from blender into outerra the following warning appears:
WARNING: The imported FBX file was created by Blender FBX exporter which may have some issues. Please, use OT modified FBX exporter. You can find it in Outerra_instalation_path/tools/blender/io_scene_fbx or https://github.com/Outerra/anteworld/tree/master/blender/io_scene_fbx
Indeed in some models I get artifacts.

How is this done ? there are lots of scripts in the https://github.com/Outerra/anteworld/tree/master/blender/io_scene_fbx folder. I guess for exporting fbx I should use the  export_fbx.py script or export_fbx_bin.py

I copied the the the  "export_fbx.py" script to the blender python editor and run the script with my scene open, but nothing happens.

Admittedly I don't know how these python files are used as I have never used any in blender. How are these files supposed to be used ? just running the whole script or after running the script (kind of "compiling") calling "something" in the python console ? I guess the latter but what is this "something" to call ? Do the scripts add any new export button ?    Or do I need to copy all scripts and run all of them ?


Title: Re: fbx export from blender with python scripts
Post by: cyrilgramblicka on September 23, 2019, 04:21:50 am
You just have to replace old FBX importer folder with ours. It should be placed in "Program Files\Blender Foundation\Blender\2.xx\scripts\addons" (or wherever your blender is installed). There is a folder "io_scene_fbx" which should be replaced. But it is working only for version lesser then 2.80. In the 2.80 version there are some API changes that are not implemented yet in our version.
Title: Re: fbx export from blender with python scripts
Post by: fly77 on September 23, 2019, 01:07:26 pm
Thank you very much !
Title: Re: fbx export from blender with python scripts
Post by: aWac9 on June 23, 2020, 06:15:34 pm
https://youtu.be/29yfS-icS3M
Title: Re: fbx export from blender with python scripts
Post by: fly77 on June 24, 2020, 11:54:56 am
nice...but I have the impression we can't import such stuff into outerra    :(
Title: Re: fbx export from blender with python scripts
Post by: tex on October 27, 2021, 07:47:46 pm
Is there an updated plugin for Blender 2.8+
Title: Re: fbx export from blender with python scripts
Post by: fly77 on October 28, 2021, 03:06:28 am
Is there an updated plugin for Blender 2.8+

There is a plugin for blender 2.8+

https://github.com/Outerra/anteworld/tree/master/blender
Title: Re: fbx export from blender with python scripts
Post by: tex on October 28, 2021, 03:09:40 am
I tried that already; and the option for export to FBX didnt even show up in menu anymore.
Worked fine on 2.79b but no go on the current 2.93.
Title: Re: fbx export from blender with python scripts
Post by: KW71 on November 01, 2021, 06:12:13 pm
The option to export to .fbx is included in Blender by default. Try to export from 2.8+ without any script installed; should work.