TeamDev-IP / JxBrowser-Gallery

A gallery of apps built with JxBrowser, each solving a real-world use-case
MIT License
0 stars 0 forks source link

Browser fails to render the animation if executed locally #8

Open yevhenii-nadtochii opened 7 months ago

yevhenii-nadtochii commented 7 months ago

Steps to reproduce:

  1. Run the example with the following command: ./gradlew :examples:pomodoro:run.
  2. Choose Short break timer.
  3. Choose Pomodoro timer.
  4. See the tomato is not fully rendered now.
Screen recording https://github.com/TeamDev-IP/JxBrowser-Kotlin/assets/13679188/6d6bc65e-ec00-4878-a174-83632283541e

Please note: it works as expected if the app is executed as a separate file: runDistributable instead of run. I was unable to reproduce this in Google Chrome. It can be a failure of WebGL/Three.js, but I'm not really sure who to blame. Failed parts repeat the geometry of the model, looks like texture image was partially unloaded (?).

The bug is reproducible on macOS x86. Works fine on ARM machines.

yevhenii-nadtochii commented 7 months ago

@Danil-Didkovskiy Please take a look.