Crystal Space
Welcome, Guest. Please login or register.
November 18, 2017, 01:56:02 am

Login with username, password and session length
Search:     Advanced search
9081 Posts in 2051 Topics by 80357 Members
Latest Member: Instagram285
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  Determining 3D angles from 2D pictures (homography?)
« previous next »
Pages: [1] Print
Author Topic: Determining 3D angles from 2D pictures (homography?)  (Read 5486 times)
Jr. Member
Posts: 53

View Profile WWW
« on: July 03, 2006, 06:33:25 am »

In my project that uses CS (at, I'm trying to accurately create a model of a fictitious building in 3D (the Glass Tower) but only have 2D picture references to go by, taken at different angles.  I know that you can calculate the angles of things such as walls by using line intersections (usually from vanishing points and such) and perspective matrices.  I'm mainly trying to calculate a view of the building looking straight down from directly above the center (in order to have an outline of the perimeter walls) because some of the wall angles that me and others have come up with seem to be incorrect, but I just can't figure out how the stuff works.

Here's one picture that I rotated and marked up (the angles I'm trying to find are marked with the partial circles):
(original is here

Current top-down drawing (originally drawn by someone else; I modified it and added coordinates):

Our angles that seem to be off (after simulating it - pics are on the website) are the 2 angles I marked, which are for the top right triangular setback wall (the one that angles inward), and the bottom left wall (seems to be angled inward more, instead of almost straight).  Here's a small pic of the simulated model (more pics are on the website):

So if anyone could help me figure out how to calculate this stuff, that would be great.

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.397 seconds with 16 queries.