Thank you, that worked nicely!
I have one followup question. I am now capturing the model view, and storing it as a .jpg, and I want to add a marker projection based on this 2D image. However, the coordinate of the marker in this viewpoint image does not seem to correspond to the coordinate in the actual image in a way which I comprehend. A toy example is as follows:
1. All camera dimensions are set at 2000x2000
2. Model viewer dimensions are set at 500x300
3. I "look through" camera 0
4. I capture the 500x300 image from the model viewpoint
5. I label a point on that 500x300 image
At this stage I want to be able to take that labelled point from the 500x300 viewpoint image and map it to the corresponding point on the 2000x2000 image.