An approximate representation, on a flat surface, of an image as it is seen by the eye.

learn more… | top users | synonyms

0
votes
1answer
193 views

How can I prevent the viewport from stretching/distorting?

Basically, I want to know how I can remove distortion or stretching of the rendered image when the viewport/window size changes. The following images exemplify the distortion/stretching I'm talking ...
0
votes
0answers
90 views

Tunnels in pseudo 3D racing game

How would one go about doing tunnels in a pseudo 3D racing game ? The main problem I have at the moment is perspective - I cant think of a way, beyond having to Z sort the sprites and tunnel ...
0
votes
0answers
15 views

3D Perspective scrolling background [duplicate]

I'm not sure exactly how this is called, I'm talking about that kind of background, where your character is supposed to walk towards the center of your screen to the horizon, while in reality he is ...
0
votes
1answer
122 views

Distorted LookAt When Looking Up or Down?

I have a weird problem and I have no idea what's going on with it. Recently started doing some OpenGL programming, going pretty well, hit some rough spots but worked my way through them and otherwise ...
0
votes
0answers
139 views

Correct way to calculate Perspective Matrix [duplicate]

I have seen at least 3 different ways to calculate the perspective matrix and I'm confused as to which one I should be using and what the differences are? OpenGL says to do it this way: f = ...
0
votes
1answer
2k views

perspective camera with libgdx

I am trying to setup a viewport using perspective camera. I am trying to render a scene like this I read an official blog post about the cameras and found a few tests within gdx test suits. ...
-1
votes
1answer
567 views

How to fix OpenGL Co-ordinate System in SFML?

My OpenGL setup is somehow configured to work like so: (-1, 1) (0, 1) (1, 1) (-1, 0) (0, 0) (1, 0) (-1, -1) (0, -1) (1, -1) How do I configure it so that it works like so: (0, 0) (SW/2, 0) (SW, 0) ...
-1
votes
2answers
375 views

How do I draw tile in a side-on perspective? [closed]

All the tutorials I've found regarding using tiles in game engines refer to games with an isometric or top-down view, much like this: I want to make a "beat em up"-game, where the view is tilted. ...