Canteen management system project in java github

broken image

I've written an example program that illustrates the issue, set up very similarly to the FXyz sample code but I've created an extra SubScene object to hold the 2D and 3D SubScene objects in order to plant them into a larger application window with slider controls.

broken image

The Label objects need to have their positions updated as the 3D scene in modified, which I've done but when I print out the coordinates returned by the Node.localToScene method, they're much too large to be within the application scene, and so the labels are never visible in the scene. I've taken example code from the FXyz FloatingLabels example here: More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects. But this doesn't seem to work for my case. I've seen similar questions to mine on this subject, and they all point to using the Node.localToScene method on the node to be labelled in the 3D space.

broken image

I'm trying the create a 3D subscene with objects being labelled using Label objects in a 2D overlay.

broken image