Page MenuHome

out of image wrapping
Open, Needs Triage by DeveloperPublic

Description

OS: Win10 Edu (x64)
GPU: Asus Radeon RX-550 4Gb

Blender Version is: 2.79 f4dc9f9d68b from Steam

Well, I want to create the map from the game (Vice City), which uses Renderware Game Engine. I found the exact add-on to Import & Export. As you know, there a lot of "*.dff" files, so I had to write the script, which did it for me all the work. So, after the few minutes script stops on one file. I tried to format it without scripts, but there's still an error. There's console output of error:

Traceback (most recent call last):
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\__init__.py", line 620, in execute
    return export_fbx_bin.save(self, context, **keywords)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3087, in save
    ret = save_single(operator, context.scene, filepath, **kwargs_mod)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2994, in save_single
    fbx_objects_elements(root, scene_data)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2793, in fbx_objects_elements
    fbx_data_mesh_elements(objects, me_obj, scene_data, done_meshes)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1106, in fbx_data_mesh_elements
    elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv] for uv in _uvtuples_gen(t_luv)))
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\fbx_utils.py", line 499, in elem_data_single_int32_array
    return _elem_data_single(elem, name, value, "add_int32_array")
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\fbx_utils.py", line 446, in _elem_data_single
    getattr(sub_elem, func_name)(value)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\encode_bin.py", line 161, in add_int32_array
    data = array.array(data_types.ARRAY_INT32, data)
  File "S:\SteamLibrary\steamapps\common\Blender\2.79\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1106, in <genexpr>
    elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv] for uv in _uvtuples_gen(t_luv)))
KeyError: (nan, nan)

location: <unknown location>:-1

Btw, when I starting Blender, console says this (not really sure, that the problem is here):

fake_module: addon missing 'bl_info' gives bad performance!: 'S:\\SteamLibrary\\steamapps\\common\\Blender\\2.79\\scripts\\addons\\convert_dff.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'S:\\SteamLibrary\\steamapps\\common\\Blender\\2.79\\scripts\\addons\\utils.py'

So, here a the steps:

  1. Install the Add-on;
  2. Import this file:

;

  1. Try to export to FBX or any other format;

Here's the project file if you're unable to install add-on:

~~~~~
UPDATE
~~~~~
After I removed UV maps, everything goes normal. Guess, baking should solve something in my case.

~~~~~
UPDATE 2
~~~~~
I watched into the error and saw that UV wrap is outside of the image. This prevent model to be exported (see image above):

Details

Type
Bug

Event Timeline

Temirlan Tauzhanov (tauzhanovt) renamed this task from From DFF to any other format export error (-1) to UV map problem export.Jan 2 2019, 10:56 AM
Temirlan Tauzhanov (tauzhanovt) updated the task description. (Show Details)
Temirlan Tauzhanov (tauzhanovt) renamed this task from UV map problem export to out of image wrapping.Jan 5 2019, 1:13 PM
Temirlan Tauzhanov (tauzhanovt) updated the task description. (Show Details)
Temirlan Tauzhanov (tauzhanovt) edited projects, added Import/Export; removed Addons.