Improvements: geometry, shaders

The code is on google code, see this page http://code.google.com/p/vlengine/source/checkout how to check out the source.



The model pipeline goes like this:



These steps are supposed to happen in some kind of world editor:


  1. External format model loaded with the appropriate model loader (OBJ, X) into the internal format (separate buffers or whatever the import program produces and the engine supports), returns Model


  2. Multiple Model passed to ModelPackCreator one by one


  3. ModelPackCreator.createModelPack() produces a ModelPack


  4. ModelPack.save() saves it to disk



    These steps should happen at game run time:


  5. ModelPack.load() loads it from the disk


  6. ModelPack.getModel(String name) returns Model


  7. Model.getInstance() returns Spatial which can be attached to the scene


That sounds pretty neat! I will check out the source when I'll have time. I'm much interested in different solutions of batching. The other experimental parts are interesting too and I bet I could easily mod the sources of jcrpg for a test.