Camera Parallel Projection Question

Here is the only camera related code in my test application.

private void setupCamera() {
    cam.setLocation(new Vector3f(0f,147f,0f));
    cam.lookAt(new Vector3f(0f,0f,0f), Vector3f.UNIT_X);

With parallel projection set to false.

With parallel projection set to true.

My goal is to have the Textured Quad positioned as in the top screen, viewed through a parallel projection camera - a top down view without perspective.

Could someone help me understand what I am doing wrong here?

Thank you :slight_smile:

Parallell projection works differently from a normal camera since it doesn’t have perspective. Look at in the examples project to get an idea on how it works. I suspect TestMultiViews will be of interest as well.

Also, depending on what you actually want to do, the gui bucket is already in parallel projection in screen space.

…is this 2D game ? If so, you can just use Picture to keep everything as you want, regardless screen size/camera settings (rescale picture with proper aspect ratio)…