Posted By: 3run
Aspect ration and ISOMETRIC view - 07/11/17 10:52
Hey
I'm trying to keep proper view boarders (left, right, top, bottom) for my ISOMETRIC view, when I change screen resolution (other ways view get's a bit stretched), but with no luck. Maybe you guys have ideas how do I get this done? Where do I dig?
Thank you in advance.
Greets.
I'm trying to keep proper view boarders (left, right, top, bottom) for my ISOMETRIC view, when I change screen resolution (other ways view get's a bit stretched), but with no luck. Maybe you guys have ideas how do I get this done? Where do I dig?
Code:
var cam_x_boarder = 800; var cam_y_boarder = 600; var cam_dist_factor = 0.4; camera->left = -cam_x_boarder * cam_dist_factor; camera->right = cam_x_boarder * cam_dist_factor; camera->bottom = -cam_y_boarder * cam_dist_factor; camera->top = cam_y_boarder * cam_dist_factor;
Thank you in advance.
Greets.