The projection tag has no wiki summary.
3
votes
1answer
1k views
Can a 4x4 matrix describe a camera's perspective?
I'm working with a closed-source 3D engine, and it only allows you to set the view projection via a 4x4 matrix. Can this matrix describe the camera's translation, rotation & perspective?
I turned ...
2
votes
1answer
577 views
How to create projection/view matrix for hole in the monitor effect
Lets say I have my XNA app window that is sized at 640 x 480 pixels. Now lets say I have a cube model with its poly's facing in to make a room. This cube is sized 640 units wide by 480 units high by ...
2
votes
2answers
979 views
How should I calculate world and projection matrices in this scenario?
I'm trying to understand transformation matrices. Suppose I use the camera from this StackOverflow answer, this is how my view matrix would look:
Matrix.Identity *
...
14
votes
3answers
1k views
Faking isometric graphics in a 2D space game
First off, I know exactly what my drawing problem is, and I have various ideas on how to approach solving it. I am here to figure out how to adjust which frame is drawn so that the isometric ...
7
votes
1answer
352 views
Projected trajectory of a vehicle?
In the game I am developing, I have to calculate if my vehicle (1) which in the example is travelling north with a speed V, can reach its target (2). The example depict the problem from atop:
There ...
8
votes
3answers
1k views
What is the name of perspective of Age of Empires II?
One would describe Age of Empires 1's "perspective" as a 2D sprite game (screenshot).
Below is a screenshot of Age of Empires II. How would you describe the "perspective"? Is it also a 2D sprite ...
0
votes
0answers
797 views
Setting up perspective projection on Opengl ES 2.0 makes objects disappear
I'm working on a project using opengl-es 2.0, and I'm having some trouble setting up perspective projection.
If I don't set up the perspective projection and simply multiply the object-to-world ...
8
votes
1answer
393 views
Downprojecting an imaginary 4D mesh to the screen
As a mental exercise, I'm trying to imagine projecting an arbitrary 4D mesh onto the screen (2D).
I'm guessing a single 4D triangle would still consist of only 3 points, however each of those 3 ...
12
votes
5answers
2k views
Do I need the 'w' component in my Vector class?
Assume you're writing matrix code that handles rotation, translation etc for 3d space.
Now the transformation matrices have to be 4x4 to fit the translation component in.
However, you don't actually ...
0
votes
0answers
240 views
Dynamic enviroment map using pincushion Curvilinear Perspective Projection possible?
I'm wondering if it is possible to generate a dynamic spherical environment map using a single frame render using a pincushion Curvilinear Perspective Projection Matrix (phew that's a mouthful).
...
3
votes
2answers
529 views
XNA - Non perspective projection?
For a section of my game, instead of having a perspective projection, i would like to display an isometric view of an object.
So i don't want things to appear smaller if in a distance, etc.
...
6
votes
1answer
4k views
Help understanding gluLookAt()
I am fairly new to openGL( 3 months ) and am asking for assistance in understanding the fundamentals behind gluLookAt().
Currently I have spent most of my time with openGL modeling scenes with fixed ...
7
votes
2answers
418 views
Portal Projection
Ok ok I admit, I'm bored and toying with a portal script like the one on steam.
I've figured out the following:
relative positioning of the mirrored cameras
render to texture for the portal (the ...
1
vote
1answer
941 views
Restoring projection matrix
I am learning to use FBOs and one of the things that I need to do when rendering something onto user defined FBO, I have to setup the projection, modelview and viewport for it. Once I am done ...
7
votes
3answers
754 views
Inverted textures
I'm trying to draw textures aligned with this physics body whose coordinate system's origin is at the center of the screen. (XNA)Spritebatch has its default origin set to top-left corner.
I got the ...
1
vote
2answers
715 views
Rotate around a 3d Object (Software Renderer)
I have a simple 3d software renderer (SDL / C++) which can load a 3ds Model and render it (shaded) and rotate it around X Y Z - Axis.
Now I would like to rotate / move around the object, meaning, the ...