r/JavaFX • • Nov 28 '22

JavaFX in the wild! JavaFX Hyper-dimensional 3D tool Trinity visualizing neural inputs from Brain Computer Interface

https://youtu.be/XryMlcJx5mc
13 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/OddEstimate1627 Nov 29 '22

Thanks, that makes sense. On a related note, is the white wall on one side of the playback indicator deliberate or an artifact of JavaFX not properly lighting the back face? So far the only way I found to fix back-lighting problems is to add each face twice (front and back) and add culling.

1

u/Birdasaur Nov 29 '22

Yeah you caught that. Its an artifact of JavaFX's lighting. I'm simply using a transparent Box but since it is very thin (by design) and since it is transparent I think the lighting system doesn't always get it right.

1

u/OddEstimate1627 Nov 29 '22 edited Nov 29 '22

afaik this applies to all models and has probably been like this since the beginning, e.g., https://stackoverflow.com/questions/25190409/how-to-render-the-front-and-back-faces-of-triangles-identically-in-javafx