Home | Forums | What's new | Resources | |
3D SGL export script for blender |
RockinB - Jul 16, 2005 |
< Prev | 1 | 2 |
vbt | Jan 10, 2016 | |||
bump, the blender script is here |
Fran Matsusaka | Jan 11, 2016 | |||
thanks! |
vbt | Jan 24, 2016 | |||
would it be usefull to put it somewhere online ? on sx ressources or on my github (i know i'm not the author) |
XL2 | Jul 10, 2017 | |||
Seems like I'm 12 years late to the party, but did anyone got it to work with Blender 2.78? All the official tools for the Saturn are quite clumsy and everything more complicated than it needs to be, so having an exporter directly in Blender sounds almost too good to be true! Thanks! |
mrkotfw | Jul 19, 2017 | |||||
Report errors here, and I'll see if I can figure it out. There is the window console (Window->Toggle Window Console). |
mrkotfw | Jul 19, 2017 | |||
If I understand things correctly... the pipeline for SGL should be something like: Blender export SG3 export MDL (C or binary file). It seems like SG3 is just an intermediate file format, no? |
XL2 | Jul 20, 2017 | |||
No, unless I'm mistaken SG3 is a binary file format that could be loaded by the Saturn. I haven't seen any SGL demos using it, but I've seen documentation about it, with headers and all. The problem with C files is that if you just include headers in your code, it fills your RAM way too quickly, so I don't fully understand yet how games load assets that are hardcoded. As for the errors, I've had errors such as the print format being wrong (it changed in recent versions of python if I understand), but I also had other errors, I don't think it's anything big, I would just need to "convert" it to modern versions of Blender. Btw, anyone knows if Rockin'B is still active? |
mrkotfw | Jul 20, 2017 | |||
This is only text format (Look at SEGA3D section) I found: <https://antime.kapsi.fi/sega/files/ST-124-R1-09139.... |
XL2 | Jul 21, 2017 | |||||
I just openned a SG3 file and it seems you are right, it is a mix of text to delemitate the sections and ASCII caracters (bytes) for actual data. I guess it could be used to open a file on the Saturn, but it would be slower than full-binary, so it's not that interesting. The documentation I read was about the SGA3 format, which I guess isn't the same (if I understand it correctly). |
mrkotfw | Jul 21, 2017 | |||
Possibly. Where is the SGA3 format documented? |
XL2 | Jul 21, 2017 | |||||
The SGA3 viewer tool, but the documentation says it's still a draft : http://vberthelot.free.fr/SX/satdev/Tools/sega/TOO... I took another look at SG3 files, and it's really binary, only some strings for things like names and headers. I guess there must be a SGL .h file with the functions to load these, I just haven't seen a demo doing it. |
mrkotfw | Jul 22, 2017 | |||
Maybe this is remnants of SBL? Have you tried looking at SBL? Because from what I know, SGL imports MDL, no? |
XL2 | Jul 22, 2017 | |||||
No, I haven't looked at SBL at all, but you are right, there might be examples there since some SBL functions are for loading binary files. MDL is really just a source file (.h) that you include in your code, while the SG3 (or SGA3) would be to be loaded from the disk when you change level/3d elements. When you look at the documentation, it seems like the SG3 file format is very good, including even animations, but it's also complicated, so without already included functions I would prefer to just write my own version with only what I need. |
vbt | Dec 22, 2017 | |||
new blender to saturn script here : https://github.com/polygon-studio/Blender-to-Satur... |
XL2 | Dec 23, 2017 | |||||
Wow! Truly amazing work! |
XL2 | Mar 8, 2018 | |||
Just wondering : what version of Blender are you using? It seems like I can't install it, and someone else who also tried mentionned a similar issue. |
vbt | Mar 18, 2018 | |||||
i'll try to run it, remember it was done in 2006-2007. |
XL2 | Mar 18, 2018 | |||||
I thought you updated it, no? |
< Prev | 1 | 2 |