Creates a light that illuminates the whole scene with a constant illumination, without any low light parts.
Creates a light that illuminates the whole scene with a constant illumination, without any low light parts.
the ambient light
Creates a 3d cube.
Creates a 3d cube.
the length of the side of the cube
the color of the cube
the position where the cube should be placed
the cube
Creates a black sphere where the polygonal faces are rendered as solid surfaces.
Creates a black sphere where the polygonal faces are rendered as solid surfaces.
the desired radius of the sphere
the position where the sphere should be placed
whether the sphere should have lots of divisions or not
the sphere
Creates a 3d line as a really thin cylinder.
Creates a 3d line as a really thin cylinder.
the start and end 3d points of the line
whether the line should be already visible or not
the chosen color
the 3d line
Creates a material given a color.
Creates a material given a color. Caching has been used, since the same materials can be requested many times.
the chosen color
the material
Creates a wireframe sphere, with lines linking consecutive vertices, colored with a half transparent gray.
Creates a wireframe sphere, with lines linking consecutive vertices, colored with a half transparent gray.
the desired radius of the sphere
the position where the sphere should be placed
the sphere
Creates a 3d pyramid.
Creates a 3d pyramid.
the radius of the pyramid
the height of the pyramid
the color of the pyramid
the position where the pyramid should be placed
the pyramid
Creates a sphere that can be rendered as outline or as a filled sphere.
Creates a sphere that can be rendered as outline or as a filled sphere.
the desired radius of the sphere
the desired color of the sphere
the position where the sphere should be placed
if it is true only the sphere will be rendered as wireframe
the sphere
Creates a 2d text label that can also be used and rotated in a 3d scene.
Creates a 2d text label that can also be used and rotated in a 3d scene.
the text that should be displayed
the font size to be used
the position where the text label should be placed
the text label
(Since version ) see corresponding Javadoc for more information.
This contains methods to create the elements of the 3d JavaFx scene such as labels, cubes, spheres, lines, etc.