Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: fbx export from blender with python scripts  (Read 191 times)

fly77

  • Sr. Member
  • ****
  • Posts: 477
fbx export from blender with python scripts
« 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 ?


« Last Edit: September 21, 2019, 10:38:46 am by fly77 »
Logged

cyrilgramblicka

  • Outerra Developer
  • Newbie
  • *****
  • Posts: 4
Re: fbx export from blender with python scripts
« Reply #1 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.
Logged

fly77

  • Sr. Member
  • ****
  • Posts: 477
Re: fbx export from blender with python scripts
« Reply #2 on: September 23, 2019, 01:07:26 pm »

Thank you very much !
Logged