kwando/dmonkey — pull request #4 by Setekh (2012-11-11 06:56:20+00:00)
Title: Light Volume

I made it like this:
- DLight extends Geometry, the mesh of the geometry is generated in the constructor of a implementer of the DLight class
- DLight has 3 abstract methods:
1. clean()[which handles the removal of the volume light, and other things that need to be cleaned].
2. initiate() , which will create the material for the object
3. updateAndGetMaterial() ,that will be called whenever the light changes have been done from the jme3 light, not ours, it's also runned when the material is set to the volume and the line of the initiation method of the scene processor.

- DeferredSceneProcessor: Has now some methods that handle the add-ing of a light, parsing a node for lights and adding themm to the lightNode of the scene processor, lightNode tho must not be accessed outside, since it will only have the volume lights added to it and it will be managed by the scene processor only.

Think i covered everything important.. fetch me and see if you're liking it i am open for changes and looking forward on your opinions about this.