Is there any way how to use Java window and input with Ogre3D and c++?
I'm not very familiar with wrapping between Java and C++. But i need to wrap Java window input to c++ and get window context, that i assign to ogre. I know it's possible, because Ogre4J uses something开发者_开发问答 similar.
"Use Ogre4j" isn't answer.
I never tried it because JOGL was easier to use but here, you have an example how to use opengl directly with Java. That should be similar with OGRE. I guess.
Or you could look at Ogre4j and see how they get the native context from the Java window.
精彩评论