Skip to main content

Questions tagged [projection-matrix]

0 votes
0 answers
50 views

I just need to draw a flat mesh (say a 2d graph) on top of everything. What could be easier? create an object, adding it a mesh precalculated in homogenous (-1,+1) coordinates to match ...
Apatity's user avatar
0 votes
1 answer
92 views

I have a green circle: Inside the circle, the white frame moves to wherever P, the projection of the targets 3D position into a 2D point, is. However, outside the circle, the frame will move to the ...
KING MOOSE's user avatar
0 votes
1 answer
251 views

I'm trying to set up perspective projection in OpenGL but it doesn't work ...
DDD's user avatar
  • 11
0 votes
0 answers
131 views

I have been searching around for a solution to this but still haven't been able to use it or find it, the thing is i need the Screen Position of an object that is being seen, for this i have three ...
user57129's user avatar
  • 133
1 vote
0 answers
52 views

I have a 3D scene with a camera. Between the camera and the scene, I have a plane with arbitrary orientation. This plane obscures a portion of the scene from the camera’s perspective (anything behind ...
John's user avatar
  • 131
2 votes
1 answer
685 views

From what I can tell Godot uses Projection for 4x4 matrixes, but I see no way to generate a localtoworldmatrix from a given transform in Godot, how do I do this?
Ethan's user avatar
  • 145
2 votes
0 answers
137 views

I want to rotate a 2D orthographic projection around the centre point of my view. However, something is off (it looks like a translation) but I'm not sure what. To put some concrete values on the ...
junglie85's user avatar
  • 123
0 votes
1 answer
1k views

When I use glm::perspectiveFov(90.0f,512.0f,512.0f,1.0f,256.0f) I receive a working perspective projection with 90° in both x and y, as seen below (camera is in ...
Raildex's user avatar
  • 812
0 votes
0 answers
68 views

I have found this code where they use a cubemap for pointlight shadow and they don't need to retrieve the faceindex and the projection matrix. This greatly improve the FPS. I was wondering if this ...
philB's user avatar
  • 333
1 vote
2 answers
455 views

I have a standard 3D rendering pipeline. Let's say I have a camera looking down at a flat plane that represents the floor. (in my game, z = height, so this is a plane where z == 0), and for ...
Tom Davies's user avatar
0 votes
5 answers
2k views

I'm making my own game engine as an exercise and I've gotten really confused with what I've read so far. When I want to move my camera do I simply just move the world or move the position of the ...
MiguelP's user avatar
  • 103
0 votes
1 answer
68 views

I know the bare minimum to do matrix multiplication and have implemented them from scratch a few times for various purposes, but every time I do, I make sure to be very clear to myself about where are ...
kale hops's user avatar
0 votes
1 answer
430 views

We know that in Oblique Parallel Projection Point (x,y,z) is projected to position (x_p,y_p) on the view plane.Projector (oblique) from (x,y,z) to (x_p,y_p) makes an angle alpha. with the line (L) on ...
S. M.'s user avatar
  • 117
1 vote
0 answers
334 views

I have Intel T265 camera which has a camera coordinates system like following diagram: The camera system has two cameras and the center of the two cameras is the position of the camera system. The ...
Nick X Tsui's user avatar
2 votes
1 answer
7k views

Say we do this: glm::mat4 View = glm::lookAt(glm::vec3(4,3,-3), glm::vec3(0,0,0),glm::vec3(0,1,0)); And after printing to the console with glm tostring (column ...
Ian's user avatar
  • 71

15 30 50 per page
1
2 3 4 5