Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I examined several quite popular games to determine what perspective angle they are using. For the purpose I created a grid that is 45 and 60 degrees isometric viewed and put it onto a screenshot (of Diablo II in this case). None of these grids fit to the game's perspective. So I tried to find the angle that fits best to the perspective and it is close to 53.5 degrees. However, this number seems like coming from nowhere and I believe there is a strong logic behind the number that defines the perspective angle. I tried 9/16 * 90 degrees and 3/4 * 90 degrees (coming from ratios of screens resolution 16:9 and 4:3) but none of my assumptions seem to be correct. Here are screenshots of what I mean:

60 degrees enter image description here

45 degrees enter image description here

Something between the two - 53.5 degrees - quite near to the real number enter image description here

I really need to know what the real degrees are and where it derives from. Any help is quite appreciated! Thank you!

share|improve this question
4  
Traditionally the angle would have been a side-effect of choosing a pixel size for the tiles, and not the other way around. This is why the bit in Sam's answer about integer values is important. The original Diablo's tiles appear to be approximately 56x42 which would fit the 5x4 ratio. –  Kylotan Jan 10 '13 at 18:18

2 Answers 2

up vote 15 down vote accepted

I believe your intuition was correct, just not your formula.

atan(4 / 3) = 53.1301024 degrees

This ratio can be useful because it forms a Pythagorean triangle, meaning that the length of the diagonal is an exact integer value.

Pythagorean

share|improve this answer

The camera angle used by most "isometric" games is actually 30 degrees (a true isometric view where the x, y, and z axis have the same length is 35.264 degrees). The reason for this angle is so that the width of the tile ends up being twice its height. This way you can get an even 2:1 ratio when drawing the diagonals so the tiles line up neatly without any gaps.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.