Questions tagged [3dcamera]

Anything pertaining to the techniques for creating a 3d-camera effect in an application dealing with 3d-graphics (a game, a simulator, a 3d CAD program, etc.). A 3d-camera effect reproduces the effect of a camera that can move in the virtual 3-dimensional space modeled by the application and can be used to "observe" the virtual environment from different point of views.

34 questions
3
votes
4 answers

3d Camera Position given some points

Heyo, I'm currently working on a project where I need to place the camera such that the full motion of a character would be viewable without moving the camera. I have the position where the character starts, as well as the maximum distance that the…
Will Mc
  • 244
  • 2
  • 9
3
votes
1 answer

JavaFX Rotating Camera Around a Pivot

Last year I posted a similar question, but due to it not being very descriptive and overall a mess I decided to rewrite it completely. I am making a simple 3D editor in JavaFX that has a camera movement similar to Blender or pretty much any other…
Mysterious Wolf
  • 373
  • 1
  • 5
  • 22
3
votes
0 answers

Qt3D How to move the rotation axis to the centre of the object?

I am working on a simple 3D application where I am rotating the 3D object based on the Quaternion values that I read from the MPU6050 sensor. I used the below code from simple-qml example as reference: Entity { id: sceneRoot property real x:…
jxgn
  • 741
  • 2
  • 15
  • 36
3
votes
1 answer

Structure from Motion, Reconstruct the 3D Point Cloud given 2D Image points correspondence

Use-case An object is rotating around it’s center in varying speed A fixed camera is looking at the object Given 2D Image points correspondence reconstruct the 3D Point Cloud As the object rotates so a different part of it is seen to the Camera,…
NadavRub
  • 2,520
  • 27
  • 63
3
votes
1 answer

FPS style camera target calculation in XNA

What I need is to calculate where my lookat 3d vector would be based upon the camera position, the Y rotation and Z rotation, I would assume that any number greater than 0 would be sufficient for the distance from the camera to look at. Here is the…
TotalJargon
  • 147
  • 2
  • 2
  • 14
2
votes
1 answer

Equation of line from center of camera to plane in ThreeJS

I am working on a fork of threeJS editor and for a particular functionality, I need to get the world point where the center of camera is pointing at. I believe that if I am able to get the equation of line from center of camera in the direction it's…
2
votes
2 answers

OpenGL: creating my own camera

I'm trying to create a camera to move around a 3d space and am having some problems setting it up. I'm doing this is Java, and apparently using gluPerspective and gluLookAt together creates a conflict (the screen starts flickering like…
Zepee
  • 1,640
  • 3
  • 20
  • 40
2
votes
6 answers

Determining camera location from 3 known points

I'm new here - so please bear with me if I make a faux pas! My question is, is there a good algorithm for determining the 3d location and orientation of a camera based on where 3 (or more) known 3d points end up on an image as viewed from that…
user284403
2
votes
2 answers

Will this cause gimbal-lock?

I making a very simple 3d scene, having 5 points in world coordinates. I'd like to navigate across the scene so I'm defining a camera with both an UP and OUT vector. With this information I generate a rotation matrix in every frame, which I'll apply…
Al.
  • 1,811
  • 4
  • 15
  • 8
1
vote
1 answer

Glut glLoadMatrixf camera equivalent

In my glut application I'm simulating a plane with the camera. When the planes speed is low I intend to have the nose start to point towards the ground as the camera falls. My first instinct was to just change the pitch until it was pointed…
Bolt_Head
  • 1,453
  • 5
  • 17
  • 26
1
vote
0 answers

I am using open3d, my task is to crop an open cloud but , I am struck with not knowing the indices of the required area to be cropped

There are lot of objects in a point cloud and my task is to crop a particular object. I would like someone to help me on knowing the indices of points associated with the object and to crop it. I have seen the documentation in open3d site which…
sree-9
  • 11
  • 1
1
vote
1 answer

How is point cloud data acquired from the structured light 3D scanning?

I am trying to understand the 3D reconstruction of Object using 3D structured Lighting scanner and I am stuck at the point where a method of decoding set of camera and projector correspondences to use to reconstruct a 3D point cloud. How exactly is…
techno
  • 101
  • 1
  • 1
  • 8
1
vote
1 answer

Unable to run tune_blockmatcher and image_to_pointcloud programs

I am able to capture images on webcams and calibrate them well using StereoVision library from erget. But, while trying for execution of tune_blockmatcher and images_to_pointcloud, i found below errors as StereoBM and StereoSGBM classes are unable…
1
vote
2 answers

(Processing)How to move a 3D object according to the screen's XY axis, instead of the world's X,Y,Z(PeasyCam)

Im writing a 3D sketch in which the user rotates the camera with peasyCam while left clicking and moving the mouse. The thing is that I want to move the objects while right click is pressed so that the user can drag the object across the screen's X…
1
vote
1 answer

SceneKit - Fix screen frame to camera edges

I'm working on a app that renders a 3D scene that simulates a real space into an iPhone making its screen become a hollow box, as seen in the sketch below: (note the camera position order down below) The problem is on how to calculate the camera…
Ramon Balthazar
  • 3,907
  • 3
  • 25
  • 34
1
2 3