To zoom in or out, click and drag up or down correspondingly. Zooming in the 3D view is equivalent to walking forward or backward.