Puzovoz / Bootshuze

OBJ to XML converter for Spiral Knights
MIT License
1 stars 1 forks source link

Spiral Knights models exporter in the future? #1

Open ghost opened 4 years ago

ghost commented 4 years ago

Hello!

I don't actually have any issues, but rather a question: do you have any plans to create or improve existing model converter-exporter by any chance? There's the XanTheDragon/Spiral-Knights-Animator-Tools, but it has been abandoned by its author and the tool doesn't support bones and animations, and it might even have geometry regression.

Puzovoz commented 4 years ago

I had plans in mind on improving the converter by adding bones and animations but I haven't actually spent any time researching on the matter. I do not have any plans on making an exporter, though. The nature of Spiral Knights' code makes it hard to export models with bones and I'm not willing to spend my time researching that. Animations could be possible. Animator tools work excellently for everything else.

Did you have something you wanted to export but Animator tools couldn't do the job correctly? If yes, we can continue the discussion in Discord where, I assume, you found this repo. Perhaps I could help in some way.

ghost commented 4 years ago

I do not have any plans on making an exporter, though. The nature of Spiral Knights' code makes it hard to export models with bones and I'm not willing to spend my time researching that.

I explored Dragon's tool issues and commits yesterday a bit, and some things suggest that there might be already a working code. It seems that Collada format might be the root of the problem. Replacing it with the Khronos' gLTF 2.0 and rewriting some of the cond might just do the trick. Thankfully gLTF is well documented, if I'd only have Java knowledge.

Animations could be possible

I'm not 100% sure, but I think SK uses skeletal animations, which won't work without bones. Fortunately it's possible to recreate those bones and still implement animations.

Animator tools work excellently for everything else Did you have something you wanted to export but Animator tools couldn't do the job correctly?

There might be a geometry regression on some meshes, like small button and level start elevator. Some parts of these models are missing after the export. Author is aware of it, but soon after I reported it he stopped updating it.

If yes, we can continue the discussion in Discord where, I assume, you found this repo. Perhaps I could help in some way.

I actually found it by accident when I searched SK-related projects on the GitHub. You could join my Discord server (for collecting old and unobtainable SK assets), I could create a private chat there.