perspectivecamera Questions

2

Solved

In the pinhole camera model there is only one focal length which is between the principal point and the camera center. However, after calculating the camera's intrinsic parameters, the matrix cont...

2

Solved

I have fov angle = 60, width = 640 and height = 480 of window, near = 0.01 and far = 100 planes and I get projection matrix using glm::perspective() glm::perspective(glm::radians(fov), width / he...

3

Solved

I want to calculate perspective transform (a matrix for warpPerspective function) starting from angles of rotation and distance to the object. How to do that? I found the code somewhere on OE. Sa...
Neveda asked 13/6, 2013 at 12:45

2

Solved

I'm using OpenCV+Python+Numpy and I have three points in the image, I know the exact locations of those points. (P1, P2); N1 I am going to transform the image to another view, (for example I am...

1

Solved

In THREE.js we construct a camera using the following function const camera = new THREE.PerspectiveCamera(75, width / height, 0.1, 1000); We know from optics that the field of view of a camera i...
Meaty asked 21/12, 2018 at 8:50

1

I'm trying to computing the exact prospective transformation of a 3D object starting from a vanishing points and horizon line of a picture. What I want is, fixed the vanishing points and horizon...
Manifestative asked 13/11, 2018 at 20:52

1

Solved

I try to detect current zoom level ( or something like this ) in Three.js scene. I mean "zoom" (dolly) applied by mouse wheel action for example: simple scene contain : perspectiveCamera + orbit...
Footpath asked 23/10, 2018 at 8:36

3

I am trying to make a 3D viewer for building models. We have the model loaded and are trying to make some sort of interaction with the model. Therefor we are using OrbiControls for rotating, pannin...
Griffie asked 26/2, 2016 at 16:44

1

Solved

I'm learning OpenGL, and currently I'm writing a shader, but I'm confused as to why the gl_Position variable is a vec4 instead of a vec3, as I'd expect. I'd expect this of course because it uses 3D...
Crier asked 11/4, 2018 at 18:29

1

Solved

I try to switch between Perspective and Orthographic cameras in my script. I want object on some depth to keep it's projection size. I gave up to understand the geometry... Could you provide some l...

1

Solved

I need to obtain the correct Three.JS camera FOV after the browser window size has changed. I have viewed the following questions, but can't seem to find an answer for my question: How to calcula...
Alexalexa asked 8/11, 2017 at 16:1

1

I made a small three.js app that moves a bunch of circles from the bottom of the canvas to the top: let renderer, scene, light, circles, camera; initialize(); animate(); function ...
Purveyance asked 5/10, 2017 at 5:36

1

Solved

I am having trouble with my scene in OpenGL. Objects that are supposed to be further away are drawn closer etc AND front facing triangles are being culled instead of back facing ones. They are draw...
Kirkland asked 15/9, 2017 at 12:0

1

Solved

I'm currently working on an Augmented reality application. The targetted device being an Optical See-though HMD I need to calibrate its display to achieve a correct registration of virtual objects....
Phenylalanine asked 12/9, 2017 at 18:3

1

Solved

I currently have a screen consisting of two areas: (Values are just assumed for this particular example and may of course vary depending on screen). The screen in total is 1080x1432px (WxH) and c...
Lisabethlisan asked 11/9, 2017 at 20:50

3

I am writing a deferred shader, and am trying to pack my gbuffer more tightly. However, I cant seem to compute the view position given the view space depth correctly // depth -> (gl_ModelViewMa...
Convolvulaceous asked 30/6, 2012 at 20:39

2

I am trying to set restrictions on the movement of a camera in JavaFX such that when it moves, it does not allow the user to move in such a way that only the content of the subscene is visible. Cur...
Cathcart asked 17/8, 2017 at 9:45

1

Solved

I have a sphere centered in front of my camera with a known radius and distance from the camera. How can I adjust the camera's field of view (FOV) to exactly fit the the camera to the sphere within...
Taurus asked 30/6, 2017 at 15:20

1

Solved

I wrote a sample app that allows the Android user to take a picture and have the text content from a view as an overlay on the image and saved to a gallery album: What I would like to to is tran...

1

Solved

I'm working on depth map with OpenCV. I can obtain it but it is reconstructed from the left camera origin and there is a little tilt of this latter and as you can see on the figure, the depth is "s...
Theall asked 2/1, 2017 at 13:54

1

Solved

I am recording a video of a users eye, and then using computer vision to track their eyes in an attempt to estimate their gaze, however the angle I am able to record the user at is not straight on ...
Repulsion asked 6/8, 2016 at 10:0

1

Solved

I am having quite a lot of trouble thinking of how to make a four camera bird's eye view like that seen in luxury cars. Here is the original that I will be using as an example for this question... ...
Headway asked 2/6, 2016 at 21:24

2

Recently, I have been studying the pinhole camera model, but I was confused with the model provided by OpenCV and the "Multiple View geometry in computer vision" textbook. I know that the followi...
Em asked 8/4, 2014 at 13:23

1

Solved

I display with Three.js a scene of size 700x700. In this scene, I generate a system of particles with random positions between -250 and 250 (for x,y,z), so the box is 500x500 size. to compute the ...
Hackney asked 2/8, 2015 at 3:3

2

Solved

All matrix libraries for WebGL have some sort of perspective function that you call to get the perspective matrix for the scene. For example, the perspective method within the mat4.js file that's p...
Juliennejuliet asked 2/2, 2015 at 20:21

© 2022 - 2024 — McMap. All rights reserved.