Skip to main content

Questions tagged [camera-matrix]

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

I've been working on this hobby game engine in C and Sokol with CGLM for a short while now, and I've ran into a bit of a snag regarding portal rendering. It works as it should when the player camera's ...
swlfur's user avatar
  • 1
1 vote
1 answer
70 views

I know the real value of my view matrix, which is composed of a 3$\times$3 rotation $R$ and a translation vector $\mathbf{t}$ $$ R=\left( \begin{matrix} 0.935002 & 0.0608577 & 0.349381 \\ 0....
ElPotac's user avatar
  • 41
0 votes
1 answer
221 views

I'm new to graphics programming, trying to learn Vulkan using C and CGLM for math. I'm having trouble understanding camera projections. I'm drawing a rectangle, but when I use anything other than ...
user1505570's user avatar
0 votes
0 answers
98 views

I want to convert a projection matrix in the following form: $$ {\bf P} := \begin{pmatrix} \frac{f}{a \tan\left(\frac{f}{2}\right)} & 0 & 0 & 0 \\ 0 & \frac{f}{\tan\...
loryruta's user avatar
-1 votes
1 answer
71 views

Suppose I have vectors in a 3D space (their starting points, dx, dy, and dz), and I would like to project them onto a camera, which I already have as a 3x4 projection matrix. I can of course project ...
erik's user avatar
  • 1
0 votes
1 answer
116 views

My goal is to project 3D bounding boxes to an image. For those who are not familiar with what 3 Dimensional Bounding Boxes are, they are basically boxes defined by eight corners encapsulating an ...
Yusuf Ziya Güleray's user avatar
0 votes
1 answer
140 views

I am trying with no avail to create a camera path that follows a lemniscate shape as shown in the figure. I do it in 3D but just set the vertical dimension (y) to a fixed number so really is 2D. the ...
ElPotac's user avatar
  • 41
0 votes
0 answers
134 views

I'm trying to use Instant NGP on a synthetic image dataset. I have image sequences of a moving object with the following information: I have the object's xyz and the camera's xyz positions in a void. ...
Thom's user avatar
  • 1
0 votes
0 answers
186 views

My world has the base unit of 1024. Each tile is 1024x1024 units. When the camera is at the center of a tile, the tile ranges from -512 to 512 in view space (no rotation). Does it make sense (and is ...
Raildex's user avatar
  • 173
1 vote
1 answer
103 views

I want to control the camera in an old game using head tracking (TrackIR, opentrack, etc.), such control was not provided by the game engine. I'm trying to find the camera coordinates and rotation ...
F4rrell's user avatar
  • 13
1 vote
0 answers
46 views

I am trying to re-implement the paper "A fresh perspective" In this paper there is one paragraph on secion 2 that reads: Usually, $z_s = z$ is the depth value of the point $P$, unchanged by ...
Makogan's user avatar
  • 1,891
1 vote
0 answers
104 views

I have a cube with 8 vertices representing the $[-1,1]^3$ cube vulkan uses for device coordinates. The perspective projection matrix takes a frustum and maps it onto this cube. It thus makes sense ...
Makogan's user avatar
  • 1,891
1 vote
0 answers
137 views

I have a non AA, non cubic, box living happily in 3D. I have a frustum defined by 2 squares. one square is the square defined by [-1, 1]^2 and the other square can have any size, there is also a ...
Makogan's user avatar
  • 1,891
0 votes
0 answers
127 views

I'll start with the coordinate system I'm trying to use: If I were standing on the ground, facing north, the x axis is a line moving from the west to the east (positive X is east). Positive y is ...
Helpful's user avatar
  • 101
0 votes
1 answer
90 views

Unfortunately, I always had problems with math and was never good at it. I'm currently trying to combine math with my knowledge and my passion for programming. Brief introduction: In math, we have ...
mardari's user avatar

15 30 50 per page