Original Post
I''ve seen some people discussing similar things before, but this is one of those cases where the "why would you use java if you want to write the whole enginge in C++" argument does not work.
I''m thinking of writing a native code 3D application in C++, however this simulation is data driven from a large Java application that frankly I don''t want to touch.
How easy would it be, for my application to have a button that says "run 3D simulation", and then calls through JNI my c++ 3D app, using DirectX or OpenGL. I want to create my own graphics window, etc...
I don''t care about portability, I don''t want to bother wrapping DirectX or OpenGL to Java, I want a java application, at some point, to switch to a c++ graphics engine.
It looks like something like this should be easy. Is it as easy as I''m making it out to be?