Howto implement a TextureRenderer in StandardGame ( OpenGL Thread )

hi,

i have noticed that i have to make a Callable Object(?) if i want to create a TextureRenderer ( from: http://www.jmonkeyengine.com/forum/index.php?topic=8940.0 )

Can anyone give me a simple example of that ?



In SimpleGame this is included without to call the opengl thread right? (TestSpatialLookAt.java)



Amun-Re


GameTaskQueueManager.getManager().update(new Callable<Object>() {
            /* (non-Javadoc)
             * @see java.util.concurrent.Callable#call()
             */
            public Object call() throws Exception {
                                        //do something here
               return null;
            }
         }).get();



enjoy :)

see also: http://www.jmonkeyengine.com/wiki/doku.php?id=simplegame_to_standardgame#gametasks_and_gametaskqueue