Chicken, an Egg exporter for Blender 2.49 and lower

I can’t figure out where to export animations. I tried using the help guide, and it looks totally different when compared to what I have.

There’s no animation export section. Do I just export the model? If so, how do I open the animations with panda?

Are you sure you’re using the Armature Modifier to attach your armature?

…the what?

…Do you have any guides for people who have absolutely no idea what you’re talking about? I read a little bit and I saw something about “armature modifiers”, but had no idea what they were, how to use them, or if I needed them…

youtube.com/watch?v=bz9lfHk2dPg

assuming you know the basics about blender, that video should should be able to show you how to get your model exported.

[color=green]>Implying I know the basics of Blender

…But actually, it did make sense. Thanks. :slight_smile:

I can not seem to get chicken to see egg2bam in ubuntu maverick (10.10)… i get home 32256 with configuration check [/img]

Just wondering, has there been any progress with collada in Panda? Ive recently switched to Blender 2.5 and can export collada files. Panda seems to import those, but I see no textures or animations…

Textures in dae2egg should work fine, even more advanced materials, but animations don’t work.

Right now in CVS there’s better support for loading COLLADA through the Assimp library, but eventually there will be a working native loader using the COLLADA DOM. Right now, it is still in it’s very early stages. I’ve been working on different things lately (like a convex collision solid).

So I have studied how 3d formats store their data these few months. Lets say Im ready to write a Blender 2.5 egg exporter, what modules should I use? How would you go with the indentations and stuff?

for all my converters i was able to work with pythons standard io modules, buffers, file io etc.
if you need help with generating the egg file from the data you got out of blender feel free to ask me for help.

Yeah, but its possible there are some Panda classes which will generate the strings with correct indentation and all.

well there are egg things,. but those would require an installation of panda wich usually causes trouble for the end users to install and set up pathes correctly, not to mention there the different python versions.

writing egg files is quite straight forward anyway so there should be no real reason to rely on panda writers.

okay, but I think it will be extra trouble trying to keep the indentations right (they arent required, but make the files readable).

isn’t too hard. for now. most people would be ok with a working exporter. i you really want to i can fix the indetation afterwards.

You can always run it through egg-trans to fix up the indentation.

How do you specify a Sphere to be exported as Collision Sphere, not Polyset?
I have an area in my game where collision events can be triggered, polysets won’t work, as the events will only be generated on the surface, not in the “inside”.

Just use “Sphere” instead of “Polyset” in the collision tag. Read eggSyntax.txt for the requirements for a mesh to be converted to a collision sphere.