7
$\begingroup$

first a bit of background. I am primarily a pixel artist, and I tend to work in the 3/4 perspective usually seen in old SNES-era games, like so:

enter image description here

That's something I pixeled up. Now, I'm trying to achieve a similar effect in Blender, to create a pseudo-3d/pseudo-2D pre-rendered look. I could just do it all with traditional 2D tiles, but going the 3D route saves me time when having to reorient stuff for combat-sequences in an isometric projection (think similar to the Breath of Fire series).

When doing that pseudo-isometric view, it works fine. What I want to know though, is how to achieve the 3/4 perspective view in the first image. Right now, I can achieve something like this:

enter image description here

In that, I'm using assets I pixeled up previously, textured onto simple geometries. I've set the camera to orthographic with a scale of 16. The X/Y/Z rotations are 45/0/0. My problem though is that the tiles are turning out rectangular and not perfect squares. In the pixel art, the front of the cabinet is exactly two tiles across and two tiles high. The top of the cabinet is exactly two tiles wide and one tile high. In the render though, it's not lining up perfectly.

Is there a way to set up the camera (or something else, perhaps) to get the perfect squares that I'm looking for?

Thanks in advance for any help, it's most appreciated.

$\endgroup$
4
  • 1
    $\begingroup$ I think the main problem here stems from the fact that the perspective you want to achieve is not a real 3D projection,and thus is not geometrical possible to achieve directly from a 3D model, I think $\endgroup$ Oct 20, 2016 at 3:22
  • $\begingroup$ I don't have the answer, but Duarte may be right : after all, using a camera results in a perspective, whereas what you are looking for is not a perspective but an axonometric (there are no vanishing points and thus all objects within same plane look parallel). $\endgroup$
    – ccamara
    Oct 20, 2016 at 4:39
  • $\begingroup$ Have a look at this $\endgroup$
    – sambler
    Oct 20, 2016 at 11:34
  • $\begingroup$ Ah, interesting, hadn't considered that might be the case. Also, that link is an interesting read, definitely helpful, thanks! $\endgroup$ Oct 20, 2016 at 13:08

2 Answers 2

7
$\begingroup$

Keep your camera angle 45° and have your geometry dimensions like this:

enter image description here

Then you will get the perfect squares:

enter image description here

$\endgroup$
3
  • $\begingroup$ I haven't read the @user47789 's question to the end, so had to delete my answer. I tested yours and it works like a charm. May be very helpful for me also. Thanks! $\endgroup$
    – Paul Gonet
    Oct 20, 2016 at 12:25
  • $\begingroup$ Ah, I see. So if I'm understanding correctly, it's not exactly possible to use perfectly square geometries and still get perfectly square renders using the angle I want to achieve? Hmm, that might take some wrangling, but doable I suppose. $\endgroup$ Oct 20, 2016 at 13:10
  • $\begingroup$ @lakan-inocencio yes, correct $\endgroup$ Oct 20, 2016 at 13:59
8
$\begingroup$

You can change the Aspect X under Scene->Dimensions to account for the 45 degree camera rotation. When testing, I found that $\sqrt{2} \approx 1.4142$ worked to create perfect squares given your constraints. This way you don't have to modify your actual geometry, just the final output image.

enter image description here

Here is an example render where I overlayed checker patterns to verify we indeed have perfect squares.

sample render

$\endgroup$
1
  • $\begingroup$ In Blender 3.6 aspect ratio can be found under: Output -> Scene -> Format $\endgroup$
    – m0ncld
    Sep 3 at 11:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .