Ok. Initial tinkering complete. Erm. It works.
Heres the Blender scene - shown above:
And here is the Defold, exported with Node compilation straight into Defold.
Some notes:
- There is no lighting implementation. its only shaders, textures and colors.
- Some nodes are not included, but a huge amount are. I added one myself, and it seems fairly easy to extend.
For those who are interested go to my repo and grab the “blender-node-compiler” branch.
Im a little surprised if Im honest, I expected it to be alot more problematic to do this.
Going to add some simple lighting etc to see how that goes. Also going to try out a more complex scene to see how badly it goes If you have any questions or ideas, let me know. This could end up being very neat.