JavaFX GUI, the easiest way for complex 3D graphics

I create software for calculating gear parts using Swing and OpenGL (with JOGL). Using this software, the calculated parts are shown in 3D. The following figure shows an example part:

PGS

First, the geometry is set / calculated (tip / root Diameter, width, number of teeth ...), and a 3D part is created from this data. This sample part is made using JOGL-Code because it is easy to use for me and can be integrated into the Swing-GUI.

Now I’ve played a little with the JavaFX GUI applications and decided to continue releasing my software in JavaFX because it offers everything I need, it looks much better and so on. The problem is that I cannot use my JOGL-OpenGL graphics.

, :

  • OpenGL- JavaFX- - , , .
  • 3D- JavaFX (TriangleMesh) - , , .
  • ?

? ? OpenGL, ?

+4
1

JavaFX 3D, , , , :

  • 3DViewer OpenFJX.
  • InteractiveMesh browser.
  • F (X) yz - JavaFX 3D, , , , JavaFX 8 3D- .
  • Multimodel3DFX, , " ". JavaFX 3D ", Oracle Java Magazine, / 2014 .

PolyLine3D F (X) yz Multimodel3DFX plaftorm, , , JavaFX 3D:

Spur gear

3D-, F (X) yz, TriangleMesh.

3D shapes

, API JavaFX 3D .

+3

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


All Articles