c++/Opengl/Java

Started by
3 comments, last by GKW 19 years, 5 months ago
Hi, i m working on game project,i just want to know is there any way that i will do some coding in c++/opengl and menus in java and then link up?Is there any way ?i will really appreciate for your reply. Thanks
Advertisement
Yes you can connect them. However, you will probably not enjoy doing it and it will likely cause more trouble than it solves.

It may be easier to stick with C/C++. If you are on windows, you may like to try gtk, wxwindows. If you have access to .Net, you may like to try winforms or gtk#. If you are on an x11 system, you may like to try qt or gtk.

Alternatively, you can try java3d and avoid the C++/opengl side.

If you really really want to do it in java and C++ with opengl, you may want to put the various java stuff and the various C++ stuff in different processes that communicate using a multiprocess communication protocol (mpc -pipes, tcp, files).

gl hf
actually, you can do that using JNI(Java Native Interface), not just IPC
cheers
JOGL is the official OpenGL binding for Java.
"... we should have such an empire for liberty as she has never surveyed since the creation ..."Thomas Jefferson

This topic is closed to new replies.

Advertisement