3D performance

Nir Lisker nlisker at gmail.com
Tue Dec 4 02:01:01 UTC 2018


Hi Stefan,

Iv'e seen my share of 3D performance issues, though on Windows. I suggest
that you submit a bug with reproducible code.

- Nir

On Sun, Nov 25, 2018 at 3:27 PM Stefan Prelle <stefan at prelle.org> wrote:

> Hi,
>
> I am currently investigating writing a 3D space shooter in Java and
> came across a performance issue, I am not sure I understand.
>
> I am testing on a Linux machine with a GeForce 960.
>
> My first attempt was without JavaFX, using the JMonkeyEngine and the
> nouveau driver, running on Java 11. The performance for my minimal
> example was very good.
>
> My second attempt was Java 11 plus OpenJFX 11.01 (still nouveau
> driver). I just loaded an OBJ file, applied textures and rotated it
> with an AnimationTimer. The performance was poor, sluggish.
>
> My last attempt was the same, but with the proprietary nvidia driver.
> That again looked smooth.
>
>
> I can understand that the proprietary NVIDIA driver performs better
> than the open source nouveau - but I am still surprised that the
> JMonkeyEngine is that much faster than JavaFX. My understanding was
> that both rely on the underlying OpenGL layer, so I expected only minor
> performance differences.
>
> Can someone explain what I am missing?
>
> Regards,
>   Stefan
>
>


More information about the openjfx-discuss mailing list