Skip to main content
Up and Coming
January 12, 2016

Java Project Distribution

I've been working in Java so far, but I'm now worried that distribution is going to be a pain. So I'm considering to switch to OpenGL with C# so that I can build an .exe. What are others using? and would this be a good solution without having to learn Unity or such like? I'd like to keep the OpenGL asspect incase support for OSX and linux returns, and C# looks easy to pickup.

    2 replies

    Inspiring
    January 12, 2016
    You can use SharpGL, but would have to get access to the OVR-SDK and https://www.nuget.org/packages/SharpOVR/ seems to be a bit outdated.

    I would go for proper 3D-API abstraction and C++, meaning no fight with the wrappers...
    Inspiring
    January 12, 2016
    "whitehexagon" wrote:
    I've been working in Java so far, but I'm now worried that distribution is going to be a pain. So I'm considering to switch to OpenGL with C# so that I can build an .exe. What are others using? and would this be a good solution without having to learn Unity or such like? I'd like to keep the OpenGL asspect incase support for OSX and linux returns, and C# looks easy to pickup.


    C++, Qt, and OGLPlus or GLEW is a possibility that would probably be more platform neutral than C#. Modern C++ can be written in a very Java like way with very little explicit memory management. You can take a look at my Github project here which I'm creating to act a basis to write generic GL based applications that work with VR and offscreen user interface.

    Alternatively, you could look into creating a small stub executable that checks for the JVM and launches your application. This is what Eclipse does.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action