Doom Vertical Stretch Formula
The Doom engine and Doomsday Engine stretches everything on screen vertically. What i'm looking for is some kind of percentage that it is stretched.
I need to make a mathemagical formula to figure out how much stretch (or vertical squish rather) I need for my 3d Models so i don't have to eyeball it every time I'm putting in a new model.
I have squash/stretch control over "depth, height, width". So "1, 1, 1" will end up looking stretched because the doomsday engine uses the default Doom vertical stretch and to fix this I would do something close to "1, 0.8, 1". Simple, but i'm not mathemagical so the moment I need to change the depth or width I have to spend a painful amount of time eyeballing it to find an approximate height that looks right.
Is there already a formula out there for this?
I need to make a mathemagical formula to figure out how much stretch (or vertical squish rather) I need for my 3d Models so i don't have to eyeball it every time I'm putting in a new model.
I have squash/stretch control over "depth, height, width". So "1, 1, 1" will end up looking stretched because the doomsday engine uses the default Doom vertical stretch and to fix this I would do something close to "1, 0.8, 1". Simple, but i'm not mathemagical so the moment I need to change the depth or width I have to spend a painful amount of time eyeballing it to find an approximate height that looks right.
Is there already a formula out there for this?
Comments
For example, if i needed to squish the width and depth to 0.52 (.52, .?, .52), how would I figure the vertical squish? Sorry, i'm mathematically challenged.