How to setup the rendering and camera for isometric gameworld projection? And specifically how do i get the images exactly the right size?
What angles to use to get the exact 2/1 isomtric view? Methods to set the camera on the right position? Options to set like anti alias off.
I have tried many things, 45, 30, 35.264 degree angles. What i do is set the angle of the camera, then place the camera in front of the model then use dolly/fov/lens settings to get the left and right edge of the model lined up with the save frame. Then adjust camera height so the bottom lines up with the bottom of the save frame. But i keep getting jagged edges and not the isometric style 2 width one height.
Answer
Firstly, a 2:1 ratio is not isometric. It is a similar-looking dimetric projection (where two of the three axes are equally foreshortened, and the vertical axis is slightly less so)
Isometric projection is when all three axes are equally foreshortened. An axis-aligned square tile lying in the horizontal plane has an isometric projected width:height ratio of sqrt(3):1 (like two equilateral triangles stuck together)
For both projections, you want your camera to make an angle of 45° with each axis in the horizontal plane (yaw of 45).
For a 2:1 dimetric projection, the camera should be angled (pitched) down 30° from the horizontal. For true isometric, the angle is atan(1/sqrt(2)) which is about 35.264° (this aligns it with an axis drawn through two opposite corners of an axis-aligned cube).
Secondly, ensure you've configured your camera to use orthographic projection (as opposed to perspective projection - you don't want lines to converge & objects to shrink into the distance).
You can find additional information about isometric vs 2:1 dimetric projection here.
No comments:
Post a Comment