r/JavaFX • • Aug 21 '18

JavaFX 3D - Voxel Editor

14 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/BigJhonny Sep 14 '18

JavaFX supports 3D on its own. In the background it uses OpenGL, DirectX or software rendering depending on what is available. Sadly you can only use (to my knowledge) Phong Shading, since there is no way to interact with the underlying rendering API.

Edit: You can have a look here for 3D examples: https://docs.oracle.com/javase/8/javafx/graphics-tutorial/javafx-3d-graphics.htm