Community Forum

Blender 2.64 export problems

Forum Overview >> Blender Exporter

CategoryBlender Exporter
Created19.11.2012 20:36


Karl Lindholm (unknown) 19.11.2012 20:59
I'm trying to learn how to mod and created a sort of test model.
Problem is when i try to export it to the .i3d format after installing the plugin and applying the fix found here (http://gdn.giants-software.com/thread.php?categoryId=8&threadId=1180) and making sure that all the parts of the model are selected it still doesn't export properly. When i open the file in the giants editor, only one out of seven parts of the model is visible in the viewport.

How it looks in blender:
http://i.imgur.com/vjUWs.jpg
How it looks in Giants Editor:
http://i.imgur.com/nOy4K.jpg

However, what puzzles me is that all seven of the parts are visible in the scenegraph and all of them have the "visibillity" box checked in the Attributes tab.
I thought it might be a texture problem but the parts aren't visible even if i turn the viewport to wireframe mode.
So this leads me to conclude that since blender is now 2.64 and the plugin was made back when it was in 2.62 or something, that the plugin is probably outdated and needs to be updated.
But, of course, since i'm not an experienced modder i can't be sure. But i've tried installing the plugin twice, every time following the instructions for the fix precisely so i don't see what else it can be.

Mike Peschke (Mike_77) 19.11.2012 22:38
I ran into the same problem (does'nt export at all) and ended up in reinstalling Blender 2.62 wich works fine for now.
The bad thing is, that i have to pass on some new features of 2.64. :(

Maybe Giants (or someone else) can make an updated version of this exporter ?!?

Tacbravo (unknown) 01.01.2013 23:54
Yes I concur with you. If you use the current 5.0.1 release of the i3D exporter in Blender v2.6.3+, you will encounter issues. The first one is Attribute Error: 'Mesh' object has no attribute 'faces'. There is a simple fix for this, in the python script file export_i3d.py, line 212, change faces = me.faces[:] to be faces = me.tessfaces[:]. Unfortunately, beyond this simple fix, you then encounter a second error during export, AttributeError: 'MeshTexturePoly' object has no attribute 'uv'. I don't know myself how to fix this one yet, and honestly I haven't really tried yet, but thanks to Giant's making scripts available, any of us could take a shot at it.

Both the above issues are related to the introduction of BMesh and NGons with v2.6.3+.

More Info about the cause of the issues:

http://www.blender.org/documentation/blender_python_api_2_62_2/info_gotcha.html
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.63/BMesh

The workaround, unless you know how to code in python, is to stick with v2.6.2 until Giants has a chance to patch the 5.0.1 release. It doesn't look too difficult to patch, it might just be renaming mesh.faces to be mesh.polygons. Introduction of BMesh and N-gons should not be an issues really, because conventional triangular polygons are just a subset of N-gons. So it just appears to be a little different convention is used to access the new mesh.polygons data structure.

James Biddulph (Bolisaris) 08.12.2013 22:00
Does not look as if Giants is too bothered about patching the exporter for Blender which is a shame as most users who BUY THE GAME

James Biddulph (Bolisaris) 08.12.2013 22:10
Does not look as if Giants is too bothered about patching the exporter for Blender which is a shame as most users who, BUY THE GAME, use this free application, I for one cannot afford to fork out £2,000+ for applications like Maya and 3DS, just to mod a game and I am sure lots of other modders feel the same. Unless Giants change their attitude towards the free applications such as Blender the game will eventually peter out and die due to lack of interest. The game is very moddable which is it's biggest draw, but without modders it will become just another boring farming game. Come on Giants wake up, small the coffee and get the Blender exporter upgraded.

James Biddulph (Bolisaris) 08.12.2013 22:11
Does not look as if Giants is too bothered about patching the exporter for Blender which is a shame as most users who, BUY THE GAME, use this free application, I for one cannot afford to fork out £2,000+ for applications like Maya and 3DS, just to mod a game and I am sure lots of other modders feel the same. Unless Giants change their attitude towards the free applications such as Blender the game will eventually peter out and die due to lack of interest. The game is very moddable which is it's biggest draw, but without modders it will become just another boring farming game. Come on Giants wake up, small the coffee and get the Blender exporter upgraded.

Gary Parkin (Gary_P) 26.02.2014 00:08
It's a real shame. I love Blender and bought the game to mod it. It'll wind up on the shelf, along with the rest.


Note: Log in to post. Create a new account here.