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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.