Horde3D
http://horde3d.org/forums/

Blender Exporter
http://horde3d.org/forums/viewtopic.php?f=8&t=362
Page 1 of 3

Author:  Volker [ 06.06.2008, 07:00 ]
Post subject:  Blender Exporter

Some time ago, I said, that I hired a student to develope a Blender Exporter.
Well he did a great job so far. Export is working quite well for Meshes. But as you might guess we have problems with animations. Mesh Animations are working but not the skeleton ones. Morph Targets are not yet supported at all.

We are both not very familiar with Blender and thought perhaps someone here in the community can help us to finish the exporter. So attached you can find our first steps.

Attachments:
Horde3DExport.zip [9.98 KiB]
Downloaded 1401 times

Author:  kal [ 06.06.2008, 16:06 ]
Post subject:  Re: Blender Exporter

"hired a student"? o_O
good job, I will take a look ( I will need reference for geo format though )
edit:
found: download/file.php?id=7
---> http://www.horde3d.org/docs/_formats.html
what is the endian-ness of the format

Author:  Codepoet [ 06.06.2008, 17:02 ]
Post subject:  Re: Blender Exporter

kal wrote:

The same as the computer which generated the file... You can use the version number in the header to determine if it's little or big endian. If you read a LE file on BE you should get 5 << 24 instead of 5 as the version number.

Author:  kal [ 06.06.2008, 17:17 ]
Post subject:  Re: Blender Exporter

so it depends on the computer. of course you can detect using the header(header to int then check endian-ness) but it would be good to fix it as little endian or big endian. machine dependant format sounds a little strange :|

Author:  Codepoet [ 06.06.2008, 17:30 ]
Post subject:  Re: Blender Exporter

Yes that would be better. Big endian aka network byte order as default? Performance impact on LE shouldn't be measureable - disks are much to slow for that...

Author:  swiftcoder [ 07.06.2008, 03:19 ]
Post subject:  Re: Blender Exporter

Codepoet wrote:
Yes that would be better. Big endian aka network byte order as default? Performance impact on LE shouldn't be measureable - disks are much to slow for that...
On the other hand, little endian machines are far and away more common (apart from some consoles). Perhaps we should just ensure that the engine reads both?

Author:  Volker [ 07.06.2008, 07:43 ]
Post subject:  Re: Blender Exporter

Perhaps we should first try to get the exporter working well, before we care about the endianess :-)

Author:  swiftcoder [ 07.06.2008, 13:36 ]
Post subject:  Re: Blender Exporter

Volker wrote:
Perhaps we should first try to get the exporter working well, before we care about the endianess :-)
That was my point, above :)

Author:  Volker [ 08.07.2008, 11:03 ]
Post subject:  Re: Blender Exporter

A small update: Morph Targets / Shape Keys seem to work now, but joint transformations and skinning are still a problem

Attachments:
File comment: Python Script for Blender
Horde3DExport.zip [10.62 KiB]
Downloaded 1266 times

Author:  Volker [ 22.08.2008, 14:53 ]
Post subject:  Re: Blender Exporter

Another small update,... for some models the bones and morph targets are now supported. But there are still some problematic constellations of joints where the exporter will fail.

Attachments:
File comment: Python Script for Blender
Horde3DExport.zip [11.26 KiB]
Downloaded 1235 times

Author:  Siavash [ 26.08.2008, 09:21 ]
Post subject:  Re: Blender Exporter

Why don't calling Blender forums help?
Perhaps they can help us to creating Blender exporter efficiently and much more faster :idea:

Author:  kal [ 30.08.2008, 08:14 ]
Post subject:  Re: Blender Exporter

Siavash wrote:
Why don't calling Blender forums help?
Perhaps they can help us to creating Blender exporter efficiently and much more faster :idea:

also blender dev channel at freenode is another option. they are really helpful

Author:  phoenix64 [ 03.09.2008, 19:56 ]
Post subject:  Re: Blender Exporter

Just got this thing to run, and have one problem with it:

The rotations of the bones sometimes got into the wrong direction or affect wrong axises (while the correct rotation is used as well, so that the leg of my person here rotates correctly around the knee, but also along the leg (=local y axis)

Anybody can confirm that problem?

EDIT: Sry, was my fault. The animations don't work with objects which have been scaled in Object Mode (I thought I had scaled it in edit mode)

Author:  phoenix64 [ 04.09.2008, 20:45 ]
Post subject:  Re: Blender Exporter

Changing line 410 from
Code:
__AdditionalJointMat = Matrix()

to
Code:
self.__AdditionalJointMat = Matrix()

fixes a crash for me when exporting only a skeleton.

I think the exporter be into SVN btw.

Author:  marciano [ 14.09.2008, 22:45 ]
Post subject:  Re: Blender Exporter

The exporter is on the community branch, so you can submit your little patch if you want.

Page 1 of 3 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/