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
0
votes
1 answer

JavaFX - MeshViews not visible on screen

I am trying to add a group contains several MeshViews that were read from a file to the center of a borderlayout. I am using a FXML file to define the layout. I have given the center AnchorPane an fx:id "centerPane" and the group containing the…
user3064141
  • 407
  • 4
  • 17
0
votes
1 answer

JavaFX - How to add array of MeshViews to group or scene

Update: I updated my code to loop through the list of meshviews and add each to the group using group.getChildren.add(meshview[i]) but still does not show up on screen. Thanks. I am trying to add an array list of MeshView type to a scene in JavaFx…
user3064141
  • 407
  • 4
  • 17
0
votes
2 answers

JavaFX 3d and toolbar

I face some weird behavior after adding 3d content to my JavaFX application which contains a toolbar. I created a small project that replicates this problem. In the main application, I use SubScene but the behavior is absolutely the same. Here is…
James
  • 523
  • 4
  • 19
0
votes
1 answer

Need to arrange node evenly all over the area

I have the following code which iterates through my models list and than creates nodes in the area final AtomicDouble x = new AtomicDouble(0.0); final AtomicDouble y = new AtomicDouble(0.0); …
Saurabh Kumar
  • 16,353
  • 49
  • 133
  • 212
0
votes
1 answer

aligning video to center in javafx

I am trying to create a simple video player using javafx in Intellij. In this program the minimum height and width of screen is set according to video at runtime but when I maximise the screen, the video is aligned to the left. I want my video to…
0
votes
1 answer

How to create LEGEND (text in chart border) in JavaFX

How add text in pane border in JavaFX like this:
Vitaliy Denys
  • 43
  • 1
  • 9
0
votes
0 answers

JavaFX Scene Builder launch issue

I've been using Scene Builder for some time, but I can't launch it for the last few days. Nothing happens when I click on launch icon. I also can't launch it through NetBeans. I reinstalled it several times using both Gluon and Oracle installers,…
fregomene
  • 155
  • 1
  • 11
0
votes
2 answers

TestFX How to understand the color of an item?

I am trying to get a rectangle's background color. I tried to find a way but i couldnt. Isnt there a method makes all this easy? Any help would be appriciated
user4887078
0
votes
0 answers

Unexpected plane in java FX 3D view

I want to show 3D mesh after generating it in a Java FX thread but in the final view I can see both - this mesh and unexpected plane which is interrupting the proper shape/mesh. How do I find the problem? Firstly, I've created a test Java FX…
0
votes
1 answer

How to Rotate 3D object by its edge rather than Center

I'm trying to figure out how pivot points work in 3D. I'm trying to make a 3D box rotate on the edge of the box instead of in the center. Any help would be appreciated. Thanks!
saladsrock
  • 13
  • 1
  • 2
0
votes
0 answers

javafx 3D gluon mobile ios

I am attempting to use the JavaFx 3D API to render 3D shapes using a MeshView. One of the issues I have run across is that on iOS, the Shape does not fill in the MeshView completely. As shown in the first image, the outline of the whole image is…
Aniket Joshi
  • 115
  • 1
  • 8
0
votes
0 answers

TableView insert custom data rows dynamically in javafx

@FXML TableView table; @FXML TableColumn name; @FXML TableColumn username; @FXML TableColumn contact; @FXML TableColumn key; …
0
votes
0 answers

how to add data to pane dynamically in java fx

im working on javafx project and im stuck in this problem i want to show data from my db and each data i want to show it in a different Pane so i have to loop through my data this is my code @FXML private Pane pane; @FXML private Label…
Wassim Ben Hssen
  • 519
  • 6
  • 23
0
votes
1 answer

JavaFX dependency on video card

Is there any video card related dependency in JavaFX? The main issue is that I am getting an error on my application whenever I am trying to process a large images. We turned verbose logging on for Prism, and discovered that the reason for this…
y.Haile
  • 3
  • 1
0
votes
6 answers

ScalaFX: How to couple 2 figures rotationally in perspective

A basic rotating question - How you can couple 2 figures (a box/cube with a sphere in it ANYWHERE in the cube, BUT in the center) so that these 2 are coupled ROTATIONALLY (that is why I don't want the sphere to be in the center of the cube) IN…
zarpetkov
  • 9
  • 2