Export troubles when adding UV maps
Hello vlad32768,
first of all many thx for endowing us with your Blender 2.5 export addon, really appreciate your efforts! :thumbup:
Note number 7 in your python script
encouraged me to bother you with some troubles I have exporting my models after having added UV maps to them.
I verified my troubles with the most simple setup - by UV unwrapping the cube that is shown when Blender starts. As soon as I add a UV map, exporting the mesh will throw the following error message:
(unfortunately I could not find out how to attach a screenshot via making a new album ... maybe because this is my first post, and I am not allowed to open a new album before I got approved to post?)
I'm currently using Blender 2.68.1 r38019, 64bit version on Windows7, and your latest export script from http://gitorious.org/blender-orbiter-io/blender-orbiter-io/archive-tarball/master
It should be easy to reproduce the issue by
- starting Blender
- going to edit mode, Unwrap the cube
- try to export the mesh ==> error thrown
Is there something wrong on my end, or some incompatibility between my Version of Blender and your script? Any idea how I could support debugging this issue?
Regards, Ludl
PS: btw, do you know this Blender 2.49->Orbiter.msh export script?: http://sourceforge.net/projects/blorbiter/
That script is nicely written, with plenty of comments, and has some nice features you might want to include in your export module as well, e.g. automatically generating *.dds files by writing and converting a *.bmp directly from python. Neat ;-)
Hello vlad32768,
first of all many thx for endowing us with your Blender 2.5 export addon, really appreciate your efforts! :thumbup:
Note number 7 in your python script
Code:
# 7. Some meshes (XR5 for example) have groups with missing UVs in some vertices. Usually this issue is fixed automatically,
# but in some cases script could crash with "List index out of range" error. Please report if it happens!
I verified my troubles with the most simple setup - by UV unwrapping the cube that is shown when Blender starts. As soon as I add a UV map, exporting the mesh will throw the following error message:
Code:
line 627 in export_msh
uvs=me.uv_textures[0].data[n].uv_raw[(2*i):(2*i+2)]
IndexError: byp_prop_collection[index]: index 0 out of range, size 0
I'm currently using Blender 2.68.1 r38019, 64bit version on Windows7, and your latest export script from http://gitorious.org/blender-orbiter-io/blender-orbiter-io/archive-tarball/master
It should be easy to reproduce the issue by
- starting Blender
- going to edit mode, Unwrap the cube
- try to export the mesh ==> error thrown
Is there something wrong on my end, or some incompatibility between my Version of Blender and your script? Any idea how I could support debugging this issue?
Regards, Ludl
PS: btw, do you know this Blender 2.49->Orbiter.msh export script?: http://sourceforge.net/projects/blorbiter/
That script is nicely written, with plenty of comments, and has some nice features you might want to include in your export module as well, e.g. automatically generating *.dds files by writing and converting a *.bmp directly from python. Neat ;-)