CHAPTER 19

image

Understanding 3D Shapes

In this chapter, you will learn:

  • About 3D shapes and the classes representing 3D shapes in JavaFX
  • How to check whether your machine supports 3D
  • About the 3D coordinate system used in JavaFX
  • About the rendering order of nodes
  • How to draw predefined 3D shapes
  • About the different types of cameras and how to use them to render scenes
  • How to use light sources to view 3D objects in scenes
  • How to create and use subscenes
  • How to draw user-defined 3D shapes in JavaFX

What Are 3D Shapes?

Any shape, drawn in a three-dimensional space, having three dimensions (length, width, and depth) is known as a 3D shape. Cubes, spheres, ...

Get Learn JavaFX 8: Building User Experience and Interfaces with Java 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.