I've been googling around all day and I can't really find an answer to this issue. I'm trying to create an image composed to multiple images. I have a person in the foreground who's height gives the viewer perspective for a painting hanging on the wall in the background.
bad rendering to give an example: poor rendering
I have a couple constants in this poor drawing. A is the height of the person, B is the distance between the person and the wall, and C is the actual height of the painting. Edit: Lets also say I have D which is the distance from the wall to the camera.
If anyone could point me in the right direction on how to solve this I'd be super greatful. Thanks.
Is there a specific formula I should be looking for or is there some reading that might help me with this?