Tagged Questions
0
votes
3answers
95 views
How to calculate size of object depending of its height on the screen?
I am programming a mostly 2D game on Android (with Andengine), but the player is a bouncing ball (kinda in 3D).
I wanted to make the bouncing of the ball the most realistic possible, using quadrilic ...
2
votes
1answer
180 views
How to do perspective projection “parallax” but without changing the scale or offset of objects?
Hello everyone I have this problem that I have tried everything I could think of. The problem: I am making a 2D game with parallax effect but I am using 3d space so am not simulating the parallax but ...
2
votes
1answer
259 views
Position Reconstruction from Depth by inverting Perspective Projection
I had some trouble reconstructing position from depth sampled from the depth buffer. I use the equivalent of gluPerspective in GLM. The code in GLM is:
template
GLM_FUNC_QUALIFIER detail::tmat4x4 ...
3
votes
2answers
432 views
Trying to understand 2D vector -> projection space conversion
I'm trying to understand how I can transform 2D vectors (x, y) to projection space. Something hasn't quite clicked for me yet. As per my previous question, here's the effect I'm trying to achieve:
...
4
votes
2answers
856 views
Matrix for 2D perspective
I'm trying to determine whether what I'm attempting to achieve is even possible mathematically. I'm obviously not a seasoned game developer so I'm having trouble even coming up with the terminology to ...
6
votes
2answers
828 views
Vector games (Wireframe, Elite-like) theory and implementations?
I'm interesting in knowing more about how vector games like Elite and Star Wars Atari were built from grounds up. The question is not how to implement vector graphics with modern 3D APIs like OpenGL ...