Possible Improvement of Renderer

Hi JME developers,



I have got a question which is directly related to an improvment suggestion.

As far as I found out, the DisplaySystem.getRenderer method ONLY returns a none null renderer if a corrsponding Canvas object has been added to a swing component which becomes visible. Obviously, if I understand it correct, the swing component calls a method of JMECnavas which in turn calls doSetup and so on.

I really don't understand (and perhaps I am totally wrong and only don't understand the init concept) why it is not possible to obtain a renderer instance from DisplaySystem.getDisplaySystem.getRenderer() without adding the CanvasImplementation to a Canvas and the canvas to a swing component.

The reason I am asking is that I have to use renderer methods such as createMaterialState() etc. although my canvas is not even instantiated. If it is possible to change this, or anyone knows a solution I would REALLY highly appreciate to tell me a solution. If there is none, could you imagine to implement such a solution in future releases? Thanks a lot for help and the great software.



Regards,

Equilibrium