Questions tagged [javafx-3d]

The JavaFX 3D graphics APIs provide a general purpose three-dimensional graphics library for the JavaFX platform.

JavaFX is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.

The JavaFX 3D graphics APIs provide a general purpose three-dimensional graphics library for the JavaFX platform. They are supported by JavaFX 8, which is part of the JDK 8.

Since 2008 improvements to Java 3D were put on hold in favor of a 3D scene graph for JavaFX (Use java-3d tag for questions related to Java 3D).

Links:

Books about JavaFX 3D:

Personal blogs, by people, who write about JavaFX 3D:

Projects, complementing and extending basic functionality of JavaFX 3D:

Videos about JavaFX 3D:

196 questions
4
votes
2 answers

javafx - How to apply yaw, pitch and roll deltas (not euler) to a node in respect to the nodes rotation axes instead of the scene rotation axes?

Please bear with my long question, I am trying to make it as clear as possible. (As found in another question.) In the example below, all rotate buttons are a test replacement for the gyro values coming in from a gyroscope sensor. The sensor is…
Thomas Schütt
  • 832
  • 10
  • 14
4
votes
1 answer

Memory leaks when removing objects in JavaFX 3D

I have written an N-Body-simulation JavaFX-program which displays the simulated bodies as spheres. Unfortunately I'm struggling with memory leaks. I figured out that the memory allocated for the spheres is not freed when the spheres are deleted from…
Topaco
  • 40,594
  • 4
  • 35
  • 62
4
votes
1 answer

Javafx Quadrilateral Mesh

I need to display a quadrilateral mesh in javafx each mesh face having 4 points i have tried some triangle mesh examples from fxyz library, but not sure how does it work for quadrilaterals, Can someone help pointing to examples in javafx for…
Mohd Safi
  • 65
  • 5
4
votes
1 answer

Combining JavaFX 3D Shapes seem transparent

I'm working on a 3D project in JavaFX 8. I have built a Car 3d Model with several TriangleMesh objects I'm also using several other JavaFX 'Shape 3D's to create the wheels and axles. The problem is that the MeshViews elements seem transparent. I can…
Enosh Cohen
  • 369
  • 2
  • 11
4
votes
2 answers

Importing animated 3D models in JavaFX

I am currently working on creating a 3D scene using JavaFX. In the scene I would like to show some more complex 3D models. I, therefore, used the InteractiveMesh importers for importing some OBJ/STL models, which worked fine. I would also like to…
Alex
  • 41
  • 1
  • 4
4
votes
1 answer

How do I make a vector graphic style line in JavaFX 3D?

To outline my overall objective, I want to display a set of world political boundaries (countries) and states which can be zoomed and panned similar to google earth. My dataset is detailed enough to have around 1,200,000 lat/lon points to define…
Skcussm
  • 658
  • 1
  • 5
  • 20
4
votes
1 answer

customizing javafx 3d box or rotating stackpane

My goal is a game played with dice. I am using javafx. First question: Is there an easy way to customize the 3d box in javafx. It doesn't matter to me, if I have to add an image to every side of the die or if I use just one image which wraps…
ThoFin
  • 1,467
  • 14
  • 20
4
votes
1 answer

Can't add JavaFX lights to multiple SubScenes

Problem In JavaFX is a default light on every 3D Scene. It's a PointLight shining from top of Scene. I've tried to show in my program the different possibilities of light, but I ran in trouble. If I only add a SubScene with default, PointLight and…
aw-think
  • 4,723
  • 2
  • 21
  • 42
4
votes
1 answer

How to convert a MeshView to a CSG object using JCSG library in JavaFX

I'm using the JCSG library for JavaFX. I have some MeshView objects that I want to convert them into CSG objects, is there a way to achieve this?
Jean-Baptiste-B
  • 325
  • 1
  • 3
  • 9
4
votes
1 answer

Create Photo-Sphere similar to Google Map Photo-Sphere (JavaFX 3D)

Is it possible to create a photosphere in JavaFX that is similar to photoshpere in Google map? If yes, how?
The Well
  • 876
  • 1
  • 9
  • 22
4
votes
1 answer

JavaFX 2D text with background in 3D scene

For my project, I need 2D text inside a 3D scene (not as overlay!). So I've tried adding a BorderPane with Label/Text nodes to my scene: The problem is however, that the white background of the panel is at times overlapping with the label (they…
Terran
  • 1,091
  • 18
  • 29
4
votes
1 answer

JavaFX GUI, easiest way for complex 3D Graphics

I am creating a software for calculating gearbox parts using Swing and OpenGL (with JOGL). With this software the calculated parts are shown in 3D. The following picture shows an example part: At first the geometry is specified/calculated (tip/root…
ohoeppner
  • 173
  • 3
  • 10
4
votes
3 answers

JavaFX 8 as 3D game engine?

I want to create an MMO 3D game and im looking for a 3D-Engine and my question is about javaFX 8, can i use it for render a lot of 3D cube, models and animation without lose performance or is best to use the lwjgl? the final question is: javaFX 8…
Emax
  • 1,343
  • 2
  • 19
  • 30
3
votes
0 answers

Javafx 3D Transparency not working zero alpha

If I use the following material, I get some transparency which is fine: PhongMaterial material = new PhongMaterial(new Color(0.5, 0, 0, 0.5)); But I can never get fully transparent mesh. For example, I expect the material below to be fully…
Saeid Nourian
  • 1,606
  • 15
  • 32
3
votes
1 answer

JavaFX 3d : Weird clipping or false z-buffer i guess

So, I'm working on my little project for perlin-noise generated meshes and all works fine, except the rendering. I don't know what I am doing wrong. From the one side (looking in +z direction) everything seems totally fine, but from the other side…
ImGajeed76
  • 61
  • 4
1 2
3
13 14