Blender Egg Exporter Plugin (omUlette)

Hello.
To challenge myself, and to gradually make my pipeline easier, I decided to try writing a egg exporter plugin for blender.

Right now it at most supports textured static geometry, but unapplied transforms (in blender) are ignored. I’m hoping to add more features eventually, but I don’t know If I’ll get opportunities to work on it that often, however.

The plugin and instructions for instalation can be found here:

edit: fixed name of repo

5 Likes

That looks like a nice start–well done! :slight_smile:

1 Like

Hello All! Today I’m happy to announce the second version of this exporter!

It’s not anything TOO exciting, like animation or tagging.
Rather, this update started as an attempt to fix the known-about issue with translations not being reflected on the exported models. However, I quickly found that I had massively underestimated the scale of the issue! (See what I did there?)


Turns out unapplied transformations can really stack up! especially when scale and rotation are involved.

but now we now have a nice fully transformed model!

Also, I added a checkbox for whether you only want to export objects that are currently selected (and their children.) That was a pretty big omission, so I’m glad to get that done. Unfortunately children of selected objects will still export, even if they themselves are not selected.

The latest release is available on the github!

P.S.
You could probably tell from the model I used for testing, but I’m gearing up to work on animation exports! But… that might have to wait until I’m back from my study abroad.

2 Likes

This looks to be a good bug-fix release, I do think! :slight_smile:

And enjoy your study abroad! I hope that it goes well, and is an excellent experience for you! :slight_smile:

1 Like

I’ve added to the exporter the ability to export rigged characters based on armatures. this is to my understanding not very useful on it’s own.
Also, I’ve finally changed to the final name of the project, meaning it now has a different URL.

2 Likes

Great work!

Good news everyone!
The skeletal animation update is finally here!
you can grab it from here.
Now then, the next logical thing to start working on would of course be morph animation!
But alas, I’m taking a break from this project. The blender API is too confusing, and I want to focus on developing my game for now.

3 Likes

I’ve written an update to omUlette which can be found here.
This update fixes a problem that was causing the number of vertices in the final egg file to be double of what they need to be, and a questionable decision by my younger self that caused objects to be outright removed from the final egg’s hierarchy if they weren’t meshes or armatures. Now you can build complex hierarchy all you want. (However, this doesn’t mean curve support or converting other objects to meshes.)

As it is, I’m only updating omUlette whenever I encounter an issue that is a problem to me personally. If you notice any problems, please feel free to reach out!

edit: I have now fixed several bugs.

1 Like

Fixed awful bug, couldn’t address blender oddities.

New release again! This time i’ve finally added support for tags and collision shapes.

1 Like

This new release comes with a bugfix and properly casting strings to lowercase. Since I started working on this it’s been cool to see all sorts of more advanced exporters come out, but I still feel a compulsion to use and maintain my own tools :stuck_out_tongue:

1 Like

Bugfix:

1 Like

Finally, there’s a panel under object properties to make collisionSolids easier!

1 Like

I just updated the latest release with a bugfix. I’m also going to go back and delete releases that don’t serve any purpose (including sentimental value)

1 Like

I’ve made a version of omUlette for extensions.blender.org! My hope is that this should make it easier for end-users to download updates (although I still plan on primarily updating through github) and that this can draw more attention to Panda3D from the general public! Right now it’s currently waiting for review, but you can still download it over at Review: omUlete — Blender Extensions!

1 Like

OmUlete has been officially approved at omUlete — Blender Extensions. Downloading from there should mean that you can automatically update it over the internet, however getting new versions approved can take a while and will still be faster if done through github.

1 Like

Hello there! This project is like a lifesaver for me! I’ve been trying to make a game for my school project for like a month now and I have not been able to export models as colliders. I’m hoping this add-on will let me do that. Anyway, I’m really new to blender and don’t really know how to adjust the imageDir variable. Could you please tell me how I’m supposed to do that? Because it throws an error everytime i try to export it directly.

I am going to dm you to help.

OmUlette has now reached 624 downloads on the blender extensions website! Thank you to everyone who has used my humble addon!

1 Like

Congratulations on that! I’m glad to read that it’s had such uptake! :slight_smile:

1 Like