Hi all,
I recently joined, and it's my first time posting, but have been a long time reader!
I'm looking for some scripting help for 3D model exporting in Blender for the Sega Saturn.
I've been working on updating the Blender to Saturn Model Exporter script. So far, it's been going well, but I can't seem to get the orientation and rotation correct when I pop the models into Jo-Engine. I have 2 versions of the script:
One where I can add an image to a polygon via a material and UV Map, individually, and then run the script (this one seems work work, but is pretty tedious).
Second where I can use one image and a UV Map (or maps) and it'll bake the images from the face of the polygon.
The second script is where I'm stuck. I run it, and it creates two .h files (one places the polygons, the other grabs the images to use on the polygons).
Unfortunately, as I mentioned earlier, the orientation and rotation are off, most of the time (see below).
What I have in Blender (made the faces red, and used different eye colors to see placement):
What I get when running the model in Yabause:
I was wondering if there's anyone here who can help with this, or if you know who I can connect with in order to get this working. The file is attached. You can just use it in Blender's Text Editor. NOTE: Your material names should have an "_" in them. If you need help running it, you can DM me.
Apologies for the long post, just wanted to provide as many details as possible.
Thank you, in advance!
I recently joined, and it's my first time posting, but have been a long time reader!
I'm looking for some scripting help for 3D model exporting in Blender for the Sega Saturn.
I've been working on updating the Blender to Saturn Model Exporter script. So far, it's been going well, but I can't seem to get the orientation and rotation correct when I pop the models into Jo-Engine. I have 2 versions of the script:
One where I can add an image to a polygon via a material and UV Map, individually, and then run the script (this one seems work work, but is pretty tedious).
Second where I can use one image and a UV Map (or maps) and it'll bake the images from the face of the polygon.
The second script is where I'm stuck. I run it, and it creates two .h files (one places the polygons, the other grabs the images to use on the polygons).
Unfortunately, as I mentioned earlier, the orientation and rotation are off, most of the time (see below).
What I have in Blender (made the faces red, and used different eye colors to see placement):
What I get when running the model in Yabause:
I was wondering if there's anyone here who can help with this, or if you know who I can connect with in order to get this working. The file is attached. You can just use it in Blender's Text Editor. NOTE: Your material names should have an "_" in them. If you need help running it, you can DM me.
Apologies for the long post, just wanted to provide as many details as possible.
Thank you, in advance!
Attachments
Last edited: