Blender importer [WIP]
- lf3thn4d
- Orc
- Posts: 478
- Joined: Mon Apr 10, 2006 9:12 pm
- x 12
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
-
- Greenskin
- Posts: 118
- Joined: Sun Mar 30, 2003 3:46 am
- Contact:
I didn't know you could go backwards with the Ogrexmlconverter.exe, I made a couple of mesh.xml's out of .meshes and used the ogre_export.py of 17,773 bytes
to import mesh.xml, the ogre3d-Mesh-importer.py
didn't work with 241.
Supposed to be in the 107 blender exporters zip
http://www.emthesis.com/elf/wiki/index. ... _export-en
to import mesh.xml, the ogre3d-Mesh-importer.py
didn't work with 241.
Supposed to be in the 107 blender exporters zip
http://www.emthesis.com/elf/wiki/index. ... _export-en
- Boder
- Gnoblar
- Posts: 8
- Joined: Tue Jan 29, 2008 10:56 am
I tried to fix some errors in the script I was getting (this is the one with skeleton support)
OGRE3D-Mesh-importer.py
skelton -> skeleton
string size -> 399 (otherwise throws exception)
OGRE3D-Mesh-importer.py
skelton -> skeleton
string size -> 399 (otherwise throws exception)
-
- Gnoblar
- Posts: 22
- Joined: Fri Mar 11, 2005 8:12 am
- Location: Oulu, Finland
- x 1
- Contact:
Whoa this would be so great to have, and exactly what I'd need for a work thing right now.
Ran ok in 2.45, but bones came completely wrong .. i guess that part is w.i.p. still. I'm actually a(n occasional) Blender developer and have done stuff with the api, and have sometimes looked into skel importing / exporting when have tried to help people there, but don't have a 100% full picture of the transformation spaces there.
http://www.blender.org/development/rele ... ures-work/ is where we tend to point for help on this, and iirc the BVH importer was worked on by knowledgeable ppl lately and hopefully works well too.
thanks for the work so far!
~Toni
Ran ok in 2.45, but bones came completely wrong .. i guess that part is w.i.p. still. I'm actually a(n occasional) Blender developer and have done stuff with the api, and have sometimes looked into skel importing / exporting when have tried to help people there, but don't have a 100% full picture of the transformation spaces there.
http://www.blender.org/development/rele ... ures-work/ is where we tend to point for help on this, and iirc the BVH importer was worked on by knowledgeable ppl lately and hopefully works well too.
thanks for the work so far!
~Toni
- Xypher
- Gremlin
- Posts: 180
- Joined: Tue Jun 29, 2004 1:35 am
- Location: Richmond, IN; USA
- Contact:
Is this still being worked on?
Ubuntu Studio 13.04 64-bit
GCC 4.8.1
Ogre3D 1.8.1
AMD Athlon FX 8120 @4Ghz
16Gb G.Skill Ripjaws (PC3-12800)
EVGA GeForce 560 Ti FTW
http://www.hellbatgames.com
GCC 4.8.1
Ogre3D 1.8.1
AMD Athlon FX 8120 @4Ghz
16Gb G.Skill Ripjaws (PC3-12800)
EVGA GeForce 560 Ti FTW
http://www.hellbatgames.com
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- haffax
- OGRE Retired Moderator
- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 7
- Contact:
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
My badhaffax wrote:jacmoe, you linked an export script, but this is about an import script.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
- Gnoblar
- Posts: 1
- Joined: Tue Mar 16, 2010 3:35 am
Re: Blender importer [WIP]
would it be possible to make this plugin import and export and not just import. and could it use Python 2.6.2?
thanks
thanks
-
- Gnoblar
- Posts: 13
- Joined: Sat May 06, 2006 1:34 am
Re: Blender importer [WIP]
I am aware that this is very old. But it would be very useful to us at the moment.
Can someone please confirm if this works on Blender 2.59 and python 2.7.2? We're also using Ogre 1.8 commandline tools...
And if not what blender/python combo it works with?
Many thanks
Alex
Update: I tried to get it to work with Blender 2.4 Python 2.4 combo. To no avail...
Any help on this would really be greatly appreciated.
Update 2: I think I got it collaborating on Python 2.4 and Blender 2.4.
I now get the error message:
o:\NYWF_dev\art\3D MODELS\D_PROPS\Trees\3D SOURCE\Woody_meshes\basswood_american
.mesh.xml o:\NYWF_dev\art\3D MODELS\D_PROPS\Trees\3D SOURCE\Woody_meshes
Traceback (most recent call last):
File "<string>", line 1290, in bevent
File "<string>", line 1131, in fileselection
File "<string>", line 346, in createMesh
File "<string>", line 207, in getTexCoordList
ValueError: invalid literal for float(): 0"
Any hints?
Can someone please confirm if this works on Blender 2.59 and python 2.7.2? We're also using Ogre 1.8 commandline tools...
And if not what blender/python combo it works with?
Many thanks
Alex
Update: I tried to get it to work with Blender 2.4 Python 2.4 combo. To no avail...
Any help on this would really be greatly appreciated.
Update 2: I think I got it collaborating on Python 2.4 and Blender 2.4.
I now get the error message:
o:\NYWF_dev\art\3D MODELS\D_PROPS\Trees\3D SOURCE\Woody_meshes\basswood_american
.mesh.xml o:\NYWF_dev\art\3D MODELS\D_PROPS\Trees\3D SOURCE\Woody_meshes
Traceback (most recent call last):
File "<string>", line 1290, in bevent
File "<string>", line 1131, in fileselection
File "<string>", line 346, in createMesh
File "<string>", line 207, in getTexCoordList
ValueError: invalid literal for float(): 0"
Any hints?
-
- Halfling
- Posts: 57
- Joined: Sun Feb 15, 2009 4:00 am
- x 1
Re: Blender importer [WIP]
I yesterday looked for a way to import ogre meshes to blender. Ultimate Unwrap can import ogre mehses (with bone animation, but I think without vertex/pose animation) and export to many formats. And Assimp's next release should be able to export to collada, but this maybe takes longer to be ready.
-
- Gnoblar
- Posts: 13
- Joined: Sat May 06, 2006 1:34 am
Re: Blender importer [WIP]
Thanks f00bar! I will give that a shot.
We did get it to work just now using the following tools:
Ogre Mesh Importer: http://code.google.com/p/torchlight-to-blender/
Blender Version: http://download.blender.org/release/Blender2.49b/
Python Version: http://www.python.org/download/releases/2.6.6/
Sorry for posting about another Ogre Importer on this thread!! But I thought I share.
It was hell. Well what's hell is Python. With every version of Blender and exporter combination I tried today (3 in total) I had to install a specific Python version. It's amazing that you cannot run Python 2.4 scripts under Python 2.7.2. I mean, come on, backward compatibility, anybody
We did get it to work just now using the following tools:
Ogre Mesh Importer: http://code.google.com/p/torchlight-to-blender/
Blender Version: http://download.blender.org/release/Blender2.49b/
Python Version: http://www.python.org/download/releases/2.6.6/
Sorry for posting about another Ogre Importer on this thread!! But I thought I share.
It was hell. Well what's hell is Python. With every version of Blender and exporter combination I tried today (3 in total) I had to install a specific Python version. It's amazing that you cannot run Python 2.4 scripts under Python 2.7.2. I mean, come on, backward compatibility, anybody
- Aralox
- Gnoblar
- Posts: 17
- Joined: Thu Dec 29, 2011 8:27 am
- Location: Melbourne, Australia
Re: Blender importer [WIP]
thanks for posting your solution alFrame.
Does it support animations?
Does it support animations?