Horde3D http://horde3d.org/forums/ |
|
Geometry and Animation formats http://horde3d.org/forums/viewtopic.php?f=8&t=286 |
Page 1 of 1 |
Author: | swiftcoder [ 16.04.2008, 22:20 ] |
Post subject: | Geometry and Animation formats |
What with both blender and FBXConverter both exporting collada files that are generally incompatible with Horde's ColladaConverter, I think it may be time for me to write an additional converter tool. Firstly, there isn't any sign of specifications for the .geom and .anim files, and while I can of course reverse engineer them from the engine's loading code, we probably want to work up formal specifications anyway, for future proofing. Secondly, I need to pick which file format to convert, possibly several. My current candidates in order of preference:
Comments/suggestions requested. I have dealt with all of these formats at one time or another, so none of them should take that long to work up. Any of them would make the engine far friendlier to everyone - artists especially. |
Author: | DDd [ 17.04.2008, 06:50 ] |
Post subject: | Re: Geometry and Animation formats |
sounds like a great idea. i like the formats you decided to support, could only add one FBX perhpas in place of 3ds. I used to use it allot, not so much these days (don't use motionbuilder anymore), but since it has Autodesk behind it now, it's opened and has some relevant support, might want to add it to the fold. |
Author: | swiftcoder [ 17.04.2008, 11:38 ] |
Post subject: | Re: Geometry and Animation formats |
DDd wrote: sounds like a great idea. i like the formats you decided to support, could only add one FBX perhpas in place of 3ds. I used to use it allot, not so much these days (don't use motionbuilder anymore), but since it has Autodesk behind it now, it's opened and has some relevant support, might want to add it to the fold. Autodesk has a nice FBXConverter tool, that spits out Collada files. With a little work, I am hoping we can get Horde's ColladaCOnverter to be compatible with that, which gives us FBX for free. |
Author: | Codepoet [ 18.04.2008, 11:16 ] | ||
Post subject: | Re: Geometry and Animation formats | ||
I have already written an exporter from a proprietary format to .geo. I could also give you same sample code for python. Edit: Attached format description. I have not yet written a converter for morphed / animated models. That part must be proof read by someone who knows more about these parts.
|
Author: | Codepoet [ 18.04.2008, 21:17 ] |
Post subject: | Re: Geometry and Animation formats |
I noticed that the format does not define anything related to endianness. We can deduce if it's big or little endian using the version number for now: Code: // [...] int version; fread(&version, 4, 1, f); short *pVersion = (short*)&version; if(*pVersion) printf("little endian\n"); else printf("big endian\n"); This just assumes that the version number is smaller than 65536. |
Author: | swiftcoder [ 18.04.2008, 21:57 ] |
Post subject: | Re: Geometry and Animation formats |
Good stuff, thanks! |
Author: | Codepoet [ 20.04.2008, 12:13 ] |
Post subject: | Re: Geometry and Animation formats |
swiftcoder, have you thought about writing an extendable converter which could read several formats and transform them to Horde3D? Maybe you can even use ColladaConverter as a starting point since there's some usefull code for things like mesh optimization. |
Author: | Volker [ 20.04.2008, 12:34 ] |
Post subject: | Re: Geometry and Animation formats |
The updated documentation is really good. I would really appreciate it if someone has the time to write additional converter support. |
Author: | swiftcoder [ 20.04.2008, 14:41 ] |
Post subject: | Re: Geometry and Animation formats |
Codepoet wrote: swiftcoder, have you thought about writing an extendable converter which could read several formats and transform them to Horde3D? My intention is to create a framework with plug-able converters. Whether they will be distributed as one executable or a cluster of executables, I have not decided.
|
Author: | Codepoet [ 20.04.2008, 19:32 ] |
Post subject: | Re: Geometry and Animation formats |
It would be really good if you could provide me with the details for your plugins, when you are ready. If you use a public repository for your code, that would be even better. Then I could help writing a plugin for some formats. |
Author: | swiftcoder [ 20.04.2008, 19:43 ] |
Post subject: | Re: Geometry and Animation formats |
Codepoet wrote: It would be really good if you could provide me with the details for your plugins, when you are ready. If you use a public repository for your code, that would be even better. Then I could help writing a plugin for some formats. Ja, once I have the initial system up and running, I will put up straight away.
|
Author: | Volker [ 09.05.2008, 10:40 ] |
Post subject: | Re: Geometry and Animation formats |
Thanks a lot for the updated documentation, I have integrated it now in the official version. We have now started with the writing of a python script to export model data from blender. It looks quite possible to be realized, although we have just started. |
Author: | Codepoet [ 09.05.2008, 17:58 ] |
Post subject: | Re: Geometry and Animation formats |
![]() A working blender exporter would be really useful. Good luck. |
Author: | swiftcoder [ 10.05.2008, 17:33 ] |
Post subject: | Re: Geometry and Animation formats |
Volker wrote: We have now started with the writing of a python script to export model data from blender. It looks quite possible to be realized, although we have just started. Excellent! I am afraid my converter project is on hold for the moment (too much going on for now), but I will be happy to help with testing, etc. if you need.
|
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |