z will not rotate the
rather the camera position will be changed.
A simple procedure can help to set up the projection parameters:
First, set the
2d size of the picture, e.g.
Next, import some of the modules, that support
Start with some values for the camera position, imagine that this is a corner of the box, from which you are looking at the origin.
Place a simple object to start, e.g. a unit coordinate lines at the origin:
Now, you can run this
asy -V sample.asy > ocamera.asy. An interactive viewer will let you
change the view point as you like, and then
right-double-click will bring a menu. Click
Camera and current camera settings will be saved in
ocamera.asy file, looking something like:
which can be copied into sample.asy and edited, for example, like this:
This will give you a starting point.