A bit more on how to set up the projection matrix, and "stealing" code from DSRV.js.