Document begin3d and end3d. Add links from examples to reference.