How to use Opengl / DirectX in Java

My questions:

  • How to use Opengl or DirectX in Java.
  • Does DirectX have any significant advantages over Opengl when used in Java?
  • Is there any way to do this without using the API?
  • Should I use an API such as: JOGL LWJGL
  • Could Java FX be useful for creating 3D things?

In addition, I use Windows. Is there any other way to draw 3D objects?

+4
source share
2 answers

How to use Opengl or DirectX in Java.

For Java, there are many OpenGL bindings. Java does not seem to support DirectX on its own, and there appear to be no libraries available that provide bindings.

DirectX - Opengl Java?

, DirectX OpenGL - Linux OSX. - Java, OpenGL.

API?

, . Java API : Java2D. , . Java OpenGL DirectX .

API, : JOGL LWJGL

LWJGL. , OpenGL.

Java FX 3D-?

JavaFX - , ( ). , 3D-.

+5

JOGL - Java OpenGL API OpenGL ES. JOGL 2006 , , , . , , Android, API , JogAmp Ardor3D Continuation, JMonkeyEngine, Java3D, Xith3D, LibGDX,... GLG2D OpenGL Java2D OpenGL.

Bartvbl API JavaFX 3D, , API-.

JOGL - Java OpenGL API OpenGL ES. , (CAD,...), , , . JInput, .

+3

Source: https://habr.com/ru/post/1541014/


All Articles