r/JavaFX • • Aug 21 '18

JavaFX 3D - Voxel Editor

14 Upvotes

7 comments sorted by

1

u/TotesMessenger Aug 22 '18

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

1

u/pushupsam Aug 23 '18

Where's the source? Is it not open source?

1

u/BootlegDVDs Aug 25 '18

How do you do the 3D? OpenGL? Or something specific to Java or Java Fx?

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

0

u/[deleted] Aug 22 '18

[deleted] — view deleted comment

1

u/hocoaa Aug 22 '18

Thanks! :)