Osg-users Archive

List Statistics

  • Total Threads: 3631
  • Total Posts: 6557
  #1  
16-04-2011 07:22 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #2  
16-04-2011 07:27 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #3  
16-04-2011 01:17 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>



  #4  
16-04-2011 01:50 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>



  #5  
29-04-2011 07:38 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #6  
29-04-2011 07:46 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com



  #7  
07-05-2011 06:15 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #8  
07-05-2011 09:05 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #9  
07-05-2011 09:36 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #10  
07-05-2011 10:08 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #11  
07-05-2011 10:13 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #12  
07-05-2011 10:39 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #13  
07-05-2011 10:42 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #14  
15-05-2011 03:24 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #15  
15-05-2011 04:06 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #16  
16-05-2011 04:35 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
OK - no problem - here is the current version with animations not working. I'm still looking at the animations - I'll post an update here when thats done.

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39413#39413




Attachments:
http://forum.openscenegraph.org//files/osgexport_no_mercurialtar_158.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #17  
16-05-2011 05:19 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
OK - no problem - here is the current version with animations not working. I'm still looking at the animations - I'll post an update here when thats done.

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39413#39413




Attachments:
http://forum.openscenegraph.org//files/osgexport_no_mercurialtar_158.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
thanks !!!


testing ...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39417#39417





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #18  
17-05-2011 09:54 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
OK - no problem - here is the current version with animations not working. I'm still looking at the animations - I'll post an update here when thats done.

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39413#39413




Attachments:
http://forum.openscenegraph.org//files/osgexport_no_mercurialtar_158.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
thanks !!!


testing ...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39417#39417





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
sorry but it doesn't work :(


even with the simple default blender cube
no file is exported !!!

and for more complex objects i got a crash

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39451#39451





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #19  
17-05-2011 03:31 PM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
OK - no problem - here is the current version with animations not working. I'm still looking at the animations - I'll post an update here when thats done.

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39413#39413




Attachments:
http://forum.openscenegraph.org//files/osgexport_no_mercurialtar_158.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
thanks !!!


testing ...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39417#39417





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
sorry but it doesn't work :(


even with the simple default blender cube
no file is exported !!!

and for more complex objects i got a crash

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39451#39451





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Yep - it's not real stable right now.

But I got the unit tests up and running on my copy now - (1 out of 5 passes) so I'll work on fixing them and post a new version.

I also noticed when it's run from blender it saves the file to Scene.osg in the current directory regardless of the file you tell it. You may have seen that and thought you got no output with the default cube.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39467#39467





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)

  #20  
19-05-2011 08:54 AM
Osg-users member admin is online now
User
 

Hi all,
I can't download osgExport for blender from http://projects.blender.org/frs/?group_id=19
Does anyone have a working link, or can you simply post the file to the list?
Thanks a lot!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38517#38517





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
never mind, I found it here:
http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
Maybe the project maintainer should add a link from blender.org to there?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38518#38518





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I would offer you to discuss the script here
http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
it might be also good idea to port it to 2.57 which is now stable official
release of Blender and include with next release 2.58.

Regards
Sergey

On Sat, Apr 16, 2011 at 10:27 AM, Martin Scheffler <> wrote:

> never mind, I found it here:
> http://hg.plopbyte.net/osgexport/file/e28389f02799/blenderExporter
> Maybe the project maintainer should add a link from blender.org to there?
>
>


Hi Matin,

I'm sorry, a fix to my previous post

http://hg.plopbyte.net/osgexport-blender-2.5/file/61a19ced0959 is 2.5
version of script, but still
it would seem better to discuss with Blender scripters where to put links
etc.

Regards
Sergey

On Sat, Apr 16, 2011 at 4:17 PM, Sergey Kurdakov <>wrote:

> Hi Martin,
>
> I would offer you to discuss the script here
> http://blenderartists.org/forum/forumdisplay.php?11-Python-amp-Plugins
> it might be also good idea to port it to 2.57 which is now stable official
> release of Blender and include with next release 2.58.
>
> Regards
> Sergey
>
>
>


Hi,

I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:

[code]
Error initializing quicktime
found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
uiItemFullO: unknown operator 'export.osg'
C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
sgExport.py:98
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
modules\bpy_types.py", line 689, in draw_ls
func(self, context)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 98, in menu_func
self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
ilepath = default_path
AttributeError: 'NoneType' object has no attribute 'filepath'
[/code]

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38890#38890





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,
osgexport work with blender 2.49. The api of blender 2.5+ has changed a
lot and the current osgexport does not support it.

Cedric

On Fri, 2011-04-29 at 20:38 +0200, Martin Scheffler wrote:
> Hi,
>
> I just tried installing the plugin. Which blender version is supported? I tried the current (2.57) and after adding the new bl_info stuff I could start the script but got script errors:
>
> [code]
> Error initializing quicktime
> found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> uiItemFullO: unknown operator 'export.osg'
> C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\addons\o
> sgExport.py:98
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> modules\bpy_types.py", line 689, in draw_ls
> func(self, context)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 98, in menu_func
> self.layout.operator(ExportOsg.bl_idname, text="OpenScenegraph (.osg)...").f
> ilepath = default_path
> AttributeError: 'NoneType' object has no attribute 'filepath'
> [/code]
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38890#38890
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

--
Cedric Pinson
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 -
http://plopbyte.com - http://osgjs.org - http://showwebgl.com


Hi All,

I have updated Cedrics export plugin for blender 2.57 and sent him the patch. In the mean time here is my modified version of his script (seems to work for me).

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39133#39133




Attachments:
http://forum.openscenegraph.org//files/osgexport_blender_257tar_103.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Awesome! Got it installed, will have to explore the features later.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39135#39135





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/

And got errors:

Code:

osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'




------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I commented out that line and blender seems to end up in an endless loop. When I cancel the script with ctrl-c the stack trace ends up in osg\osgdata.py, line 701, in equalVertices.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39138#39138





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi Martin,

I believe that you can use the blender osg exporter only up until
version 2.49b, i.e. 2.5 and higher cannot be used.

Also, take into account (I got that info from Cedric) that the model
needs to have up-to-date materials. The older materials are not exported.

good luck
Raymond


On 5/7/2011 10:36 AM, Martin Scheffler wrote:
> I tried exporting this model:
> http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
>
> And got errors:
>
> Code:
>
> osg: WARNING Camera CAMERA not exported
> osg: exporting mesh Circle.805
> osg: mesh Circle.805 with material
> osg: vertexes 8
> osg: faces 2
> osg: uvs channels 1 - dict_keys(['UVTex'])
> osg: --------------------------------------------------------------
> osg: mesh Circle.805 with material
> Traceback (most recent call last):
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 95, in execute
> OpenSceneGraphExport(config)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osgExport.py", line 65, in OpenSceneGraphExport
> export.process()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 422, in process
> self.exportItemAndChildren(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 238, in exportItemAndChildren
> item = self.exportChildrenRecursively(obj, None, None)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 289, in exportChildrenRecursively
> objectItem = self.createMesh(obj)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 515, in createMesh
> sources_geometries = converter.convert()
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1023, in convert
> list = self.process(self.mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 1013, in process
> geom = self.createGeomForMaterialIndex(material_index, mesh)
> File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
> addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
> log("object %s has no faces for sub material slot %s" % (self.object.getName
> (), str(material_index)))
> AttributeError: 'Object' object has no attribute 'getName'
>
>
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Reedev:
I used the 2.57 plugin tghat damyon posted.

Thank you!

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39140#39140





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Hi,

Ok, no prob. Fyi: I used 2.49b and the model exported ok.

cheers, have fun
Raymond



On 5/7/2011 11:39 AM, Martin Scheffler wrote:
> Reedev:
> I used the 2.57 plugin tghat damyon posted.
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39140#39140
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
any news on the 2.57 blender exporter ?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39378#39378





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
I am working on a new version of the exporter - it works for static meshes, but not animations yet. It does support vertex colors, materials and textures. I'll post it as soon as I have fixed the animation problem.

The animations are exported from the list of nla tracks - but they don't work yet.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39379#39379





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
OK - no problem - here is the current version with animations not working. I'm still looking at the animations - I'll post an update here when thats done.

Cheers,
Damyon

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39413#39413




Attachments:
http://forum.openscenegraph.org//files/osgexport_no_mercurialtar_158.gz


_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
thanks !!!


testing ...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39417#39417





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
sorry but it doesn't work :(


even with the simple default blender cube
no file is exported !!!

and for more complex objects i got a crash

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39451#39451





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
Yep - it's not real stable right now.

But I got the unit tests up and running on my copy now - (1 out of 5 passes) so I'll work on fixing them and post a new version.

I also noticed when it's run from blender it saves the file to Scene.osg in the current directory regardless of the file you tell it. You may have seen that and thought you got no output with the default cube.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39467#39467





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)
ok , keep us updated

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39529#39529





_______________________________________________
osg-users mailing list
osg-
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
)





NewsArc Lists  |  Culture Pages   |  Computing Archive  |  Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site: