Questions tagged [camera]

59 questions
2
votes
0 answers

Why does the camera not remain child of the other camera after adding it in osg?

I am writing an OpenSceneGraph based program that uses two cameras, one to render the preview for the user and one that uses a callback to make screenshots with MRT. The exporter camera is using an orthographic projection and always from the same…
Tare
  • 1,551
  • 7
  • 24
1
vote
1 answer

Equation for camera projection

I am trying to find an equation for a camera projection. The goal is to map the point $P(P_x, P_y, P_z)$ from the world coordinates onto the window coordinates $Q(Q_x, Q_y)$. The eye of viewing is located a distance D from the…
raindrop
  • 113
  • 4
0
votes
1 answer

Understanding of Camera Up Vector

Assume eye position e, gaze direction g, view-up vector t, right-handed base. As the graphs shows: $w=-\frac{g}{||g||}$ $u=\frac{t\times w}{||t\times w||}$ $v=w\times u$ I am really confused about the 2nd equation $u=\frac{t\times w}{||t\times…
AlexWei
  • 237
  • 2
  • 7
0
votes
4 answers

Does an object spanning percentage of the Camera's FoV correlate with the object's image percentage?

I am working on a virtual camera inside a game engine, which provides me with an FoV control, but no Focal length control (and no filming sensor dimensions short of aspect ratio), and I am less than a beginner in photography. Now when I position the…
Physician
  • 115
  • 2