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

JavaFx 2D part in 3D application

I have a small problem with an Application I write. I want to have to have a 3D field and on the right side a toolbar that contains 2D-Components like buttons. I tried to simply add these Components to my root-Group, but then it is impossible to…
Burner
  • 31
  • 1
  • 2
2
votes
1 answer

How to import meshes from blender 3.++ to javafx?

How to import from blender to javafx properly ? I mean with same orientation 'cause blender is z up and javafx is -y up
Giovanni Contreras
  • 2,345
  • 1
  • 13
  • 22
2
votes
0 answers

glPolygonOffset equivalent in Javafx

I'm trying to plot two MeshView at exact same location, one rendered with FILL and the other with LINE in order to give it wireframe looks. But unfortunately the wireframe only appears on the backside of the mesh as shown below. In Java3D I fixed…
Saeid Nourian
  • 1,606
  • 15
  • 32
2
votes
1 answer

Outline Shape3d javafx with mouse event

Many 3d programs uses an outline to hint the user when 3d object is selected . is there a way to mimic that behavior in javafx ?
Giovanni Contreras
  • 2,345
  • 1
  • 13
  • 22
2
votes
1 answer

Is there a way to show uv from meshview to flat drawing in javafx?

is there a way to show uv coords on gui like blender blender uv ?
Giovanni Contreras
  • 2,345
  • 1
  • 13
  • 22
2
votes
1 answer

How can I get the InteractiveMesh library to work with my JavaFX Mavn project?

Im trying to use this importer http://www.interactivemesh.org/models/jfx3dimporter.html to import an STL file as a triangle mesh, i get no errors in the IDE when i write this code: StlMeshImporter stlImporter = new StlMeshImporter(); …
SegFault
  • 33
  • 3
2
votes
1 answer

Can you use GLSL shaders with JavaFX 3D?

Is there any way to use your own custom GLSL shaders with JavaFX? I am currently using Java 8 162 and find that there is a serious lack of JavaFX 3D documentation.
2
votes
1 answer

How to merge multiple 3D objects as a single Mesh in order to remove a visual glitch?

I've been doing a lot of voxel terrain generation with JavaFX 3D. For some reason, whenever I generate a landscape, the right side of the landscape will always have these weird black lines. I've tried changing the PerspectiveCamera's near and far…
Gamer818
  • 102
  • 11
2
votes
1 answer

JavaFX - "Pointless" (CSS) Shadow Effect, Drastically decrices Graphics Performance

Hello, People [...] Summary Whenever i use Shadow-effect on my BorderPane or any Component/control/Element, the 3D Graphics performance (as seen, in the Preview section below) is getting way too low. The "confusing" part is that, it even gets low…
Giorgos Xou
  • 1,461
  • 1
  • 13
  • 32
2
votes
0 answers

JavaFX: Move Camera Around A Pivot Point Unexpected Behaviour

I'm currently trying to rotate a Perspective Camera around a pivot point (0,0,0) however I'm getting undesirable results. The camera itself is rotating its view rather than translating the camera. I would therefore like it to always look towards the…
jameslfc19
  • 1,084
  • 1
  • 10
  • 14
2
votes
1 answer

How to set LinearGradient for 3D Box in JavaFX

I've found some similar answer to my question but the solution was dedicated to the sphere. Anyway I tried it and of course it's not what I expected. the code I used is: Scene aux2 = new Scene(new StackPane(), 100, 100, new…
Karol K
  • 213
  • 2
  • 6
2
votes
1 answer

Need help on creating triangle mesh from height map (JavaFX)

I have a program that generates a height map (2D array of integers from 0-255) and builds a 3D view using a Shape3D "Box" object for each 'pixel' with a height proportional to its value in the height map. This creates a boxy-looking terrain that…
2
votes
0 answers

javafx 3d first person camera see through shape

I am developing a 3d first person shooter game in javaFx8. I am having trouble with 3DShapes which I use as walls in my scene. There is this weird effect where I can see through a wall the other walls behind. I noticed that the order I add the walls…
xavier
  • 21
  • 3
2
votes
1 answer

Having labels of 3d objects facing camera

I have created a 3d stellar charting system (takes in an astrographic star map like Simbad or Hipparcos3 and draws stars in an x,y,z coordinate system based on RA, dec and parallax). It works fairly well and I can rotate the entire 3d star map by…
EvilJinious1
  • 2,773
  • 6
  • 43
  • 63
2
votes
1 answer

Problem with adding multiple triangle meshes to a scene in javafx

I hope someone can help me with this problem. I am using javafx and triangle mesh to construct a sphere-like object out of triangles (like a football). The different tiles of the shape are distinguished by color but I want to add lines between the…
Erdbeer0815
  • 155
  • 8