Scales

how these number come
9/3*4 i do not understand this part at all
how this will convert form 4:3 to 16:9
plz help me?

Hi,

The height remains consistent in Unity when you change the aspect ratio.

aspectRatio = width / height
height = width / aspectRatio
h = 9 / (4 / 3) = 9 * (3 / 4) = 6.75

newAspectRatio = newWidth / height
newWidth = newAspectRatio * height
newWidth = (16 / 9) * 6.75 = 108 / 9 = 12

We could replace 6.75 by 9 * (3 / 4), see the first calculation.
newWidth = (16 / 9) * 9 * (3 / 4) = 9 * (16 / 9 ) * (3 / 4) = 9 * ((16 / 4) * (9 / 3)) = 9 * (4 / 3) = 9 / 3 * 4

Hopefully, this makes sense.


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms