blender2ogre3d export

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
paul424
Gnome
Posts: 354
Joined: Thu May 24, 2012 7:16 pm
x 16

blender2ogre3d export

Post by paul424 »

Hello, I try to export a model from blender to ogre3d. I am on Opensuse 13.2, usig blender 2.76 ; I use https://storage.googleapis.com/google-c ... -0.6.0.zip I do File --> Export --> 'realXtend tundra' , instead I get an error :

Code: Select all

Traceback (most recent call last):
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 3161, in execute
    self.ogre_export(self.filepath, context)
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 3517, in ogre_export
    material_files = self.dot_material(meshes + force_material_update, path, material_file_name_base)
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 3358, in dot_material
    data = generate_material( mat, path=path, copy_programs=True, touch_textures=CONFIG['TOUCH_TEXTURES'] )
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 6996, in generate_material
    passes = w.get_passes()
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 6652, in get_passes
    r.append( self.generate_pass(self.material) )
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 6734, in generate_pass
    M += self.generate_texture_unit( slot.texture, slot=slot )
  File "/usr/share/blender/2.76/scripts/addons/io_export_ogreDotScene.py", line 6776, in generate_texture_unit
    texture.image.save()
RuntimeError: Error: Error creating file '/c/Blenderdateien/textures/Dragon.tga'
Error: Image 'Dragon.tga' could not save packed file to 'c:\Blenderdateien\textures\Dragon.tga'


location: <unknown location>:-1
Looks like it's trying to create file with '/c/Blenderdateien/textures/Dragon.tga' as if the code be written explicitly for Windows.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: blender2ogre3d export

Post by frostbyte »

the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
User avatar
paul424
Gnome
Posts: 354
Joined: Thu May 24, 2012 7:16 pm
x 16

Re: blender2ogre3d export

Post by paul424 »

After more fighting I created the /c folder with the user ownership , and now the exporting works fine . But someone should fix it ...
Post Reply