Questions tagged [camera]
The camera tag has no summary.
61 questions
0
votes
0
answers
55
views
Need help with portal rendering
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 ...
0
votes
1
answer
221
views
Vulkan 2D Orthographic Camera
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 ...
0
votes
1
answer
143
views
Create a tight frustum around a 3D model bounding volume
Tight frustum
I intend to create a tight frustum around a 3D model:
I have these variables:
Inputs:
3D model bounding box or bounding sphere or bounding volume.
To be determined:
Eye distance and ...
0
votes
0
answers
100
views
Ray Tracing in Camera-World Space
I am trying to implement rendering in "Camera-World" space following PBRT-V4's camera implementation in my Rust ray tracer. I Have been trying to solve that for days
I read these multiple ...
1
vote
1
answer
518
views
Convert between screen and world coordinates in isometric 3D
I'm working on a a simple 3D scene in WebGL. The purpose is to:
Implement an isometric viewing angle in orthographic 3D
Translate between XY screen coordinates and XY world coordinates
Codepen: ...
-1
votes
1
answer
171
views
How to implement camera translation arround object using gluLookAt?
I'm trying to move my camera around the object, a house, using some keyboard keys and the gluLookAt() function.
...
1
vote
1
answer
125
views
What is the name for a film overlay where there is an array of crosses?
I've seen this in a lot of animations of spaceships, as well as the intro sequence to The Expanse which I've attached a screenshot of. https://vimeo.com/734114243 is also an example.
The above ...
0
votes
1
answer
164
views
Position a 3D camera directly above or below the target
I'm trying to setup a 3D camera in WebGL. The camera is setup with the help of a lookAt function. The lookAt function takes cameraTarget, ...
1
vote
1
answer
636
views
Move the camera in orthographic 3D
I'm trying to figure out how to move a camera in orthographic 3D. The scene is orthographic in the sense that an object looks the same regardless of position. The only thing that may affect the size ...
0
votes
0
answers
129
views
How to setup a 3D camera
I'm trying to figure out how to setup a 3D camera in WebGL. This is my first swing at 3D so a lot of the matrix stuff is new to me.
Code
The code can be reviewed in this CodePen: https://codepen.io/...
1
vote
1
answer
103
views
Unknown array of floating point numbers. View matrix?
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 ...
1
vote
0
answers
67
views
how to fix this strange effect when editing image?
G'day,
I have this strange effect when editing my image. It seems to happen a lot on photos with the sky in it, but in the CR2 file it doesn't show, only when i open it in the software i am using does ...
1
vote
0
answers
137
views
Mapping a box to an inverse frustum
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 ...
0
votes
0
answers
131
views
Trouble getting a raytracer camera representation for different aspect ratios
I am trying to make my camera representation work for images whose aspect ratio isn't 1 (640x480, 1920x1080...), but I am having some trouble getting it to work.
The camera model is pretty simple, as ...
0
votes
1
answer
172
views
OpenGL - How to increase view space coordinate range in X and Y axis
I'm trying to render some objects but apparently X and Y coordinates need to be really small in-order to get something on screen. See this example of 2 lines
The world space coordinates for these ...