|
|
Basic Solid Cubes with Z-Sorting |
| This renders solid cubes using beginFill and endFill to draw the polygons using the painters algorithm. |
|
|
|
|
|
Related Articles
|
Now we use a mask to show the area around the mouse pointer as solid rendered cubes and further away from the pointer is wireframe.
|
|
|
Putting a border around the masked area
|
|
|
Adding mouseover and mouseout events to the 3D objects.
|
|
|
Example of vertex post-processing for a wavey effect.
|
|
|
|
|
|