RE: 10yd or less shots from a tree.
Basically, you ignore the issue of how high you are for pin selection. You choose your pin based on how far away horizontally the deer is from you. If I had a deer at 5 horizontal yards, I'd use my ten yard pin and aim a smidge low.
If the deer is really close, say at the base of the tree, you're talking about a spine shot (which I'm not adept enough for) and you'll want to wait until the deer if facing straight toward or straight away from you. Then, all you have to do is worry about not missing left and right. If you're high or low, whether or not pin selection/distance is a factor, you still hit spine.
If you want specific distances for adjustment, you need to practice and test because the specific numbers will vary depending on the setup (bow, arrows, broadhead weight, etc.) I'm shooting an older bow so my arrows don't fly nearly as fast as those shot by friends with more modern bows. In fact, my bow is so much slower than modern bows that my 10 yard pin is close to the top of my sight circle, my 20 yard is in the middle and my third pin is closer to the bottom though not sighted in and not far enough down yet for 30 yards!