August 2018
Intermediate to advanced
528 pages
10h 58m
English
A PlaneGeometry object can be used to create a very simple 2D rectangle. For an example of this geometry, look at the 01-basic-2d-geometries-plane.html example in the sources for this chapter. A rectangle that was created using PlaneGeometry is shown in the following screenshot:

In this examples for this chapter, we've added a control GUI that you can use to control the properties of the geometry (in this case, the width, height, widthSegments, and heightSegments), and also change the material (and its properties), disable shadows, and hide the ground plane. For instance, if you want to see the individual ...
Read now
Unlock full access