Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9011343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:42:13+00:00 2026-06-16T02:42:13+00:00

I am confused on how to convert world space coordinates to camera coordinates. My

  • 0

I am confused on how to convert world space coordinates to camera coordinates.

My current understanding is that I would need to calculate the camera space vector where

n = eyepoint – lookat

u = up(0,1,0) X n(normalized)

v = n X u

Then once I have < U, V, N > would I simply multiply each point by ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:42:14+00:00Added an answer on June 16, 2026 at 2:42 am

    Lets assume:

    • Eye position is E=(e_x, e_y, e_z),
    • Viewing direction is D=(d_x, d_y, d_z)
    • Up-Vector is UP=(up_x, up_y, up_z)

    Now first construct an orthonormal frame:

    • R = D X UP
    • U = R X D
    • Now normalize D,R,U and you have an orthonormal frame for the camera (D,R,U)

    In order to transform the global coord frame into the cam-coord frame you can apply the following matrix M_R:

    • | R_x, R_y, R_z, 0 |
    • | U_x, U_y, U_z, 0 |
    • | -D_x, -D_y, -D_z, 0|
    • | 0.0, 0.0, 0.0, 1.0|

    If your cam is not positioned at global origin you also have to apply a translation M_T:

    • | 1, 0, 0, -e_x |
    • | 0, 1, 0, -e_y |
    • | 0, 0, 1, -e_z|
    • | 0, 0, 0, 1|

    In the end your complete transformation matrix from global to cam-coords is:

    • M = M_R * M_T
    • | R_x, R_y, R_z, (R dot -E) |
    • | U_x, U_y, U_z, (U dot -E) |
    • | -D_x, -D_y, -D_z, (D dot E)|
    • | 0.0, 0.0, 0.0, 1.0|
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to convert from u'\\u795d\\u798f' to u'\u795d\u798f'? I'm quite confused.... u'\u795d\u798f' is 祝福 in
I am confused here, even though raw strings convert every \ to \\ but
Mildly confused. I have a combobox that is databound to a list of strings.
I have a following ArrayList, [Title,Data1,Data2,Data3] [A,2,3,4] [B,3,5,7] And I would like to convert
I'm a bit confused with these C++ pointers and I would like to know
Is there a utility that will convert POSIX to PCRE for PHP? I'm somewhat
I'm wanting to convert a Java application that I've written into an applet. The
I am trying to use a Canvas to display objects that have world location
I am trying to convert some code that is meant to remove all non-numeric
i am so confused about Parallel.ForEach. would you please help me to rewrite the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.