ginkgo / pink-pony

Pink Pony is a 3D racing game with ponies!
https://ginkgo.github.io/pink-pony/
37 stars 5 forks source link

How can I change the pony model? #8

Open alexgleason opened 6 years ago

alexgleason commented 6 years ago

.pmesh and .pskeleton are unfamiliar formats to me. Should these be changed? Thanks!

ginkgo commented 6 years ago

Hi Alex, the mesh and skeleton files are an internal format based on Google protocol buffers.

The format is described here: https://github.com/ginkgo/pink-pony/blob/master/src/mesh.proto There's tools to convert OgreXML (I think?) models to it in https://github.com/ginkgo/pink-pony/tree/master/tools

I have to admit that I haven't had a look at this (and the rest of the source really) in a very long time. By now I'd probably write a Blender exporter script, since protocol buffers finally support Python3. One thing I know is that there's currently a nasty limitation of 4 bone weights per vertex.