I am working on a very simple program to display and manipulate 3d objects in a virtual 3d environment.
The problems I am having are around pinhole cameras and how to use them to project the scene to the screen.
I know the area is quite complex but as it stands my code only supports a fixed viewpoint on one of the axis with simple perspective projection.
The next clear step is to create a camera class and use it to project the scene from its viewpoint taking into account its location and orientation.
I know roughly how to do this but would like to know more on this area. In fact this area quite interests me and so I am wandering if anyone can recommend a good book on the subject or a book that covers it.