To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8583
    Camera Positioning —Orion Pobursky
   Maybe someone can point me in the right direction... I have an object with a known bounding box, how do I calculate the position of the camera so that the whole object is shown on a screen of known dimentions? In other words, how to I determine the (...) (21 years ago, 25-Mar-03, to lugnet.cad.dev, lugnet.cad.ray)
   
        Re: Camera Positioning —Kevin Clague
     (...) Hi Orion, The law of similar triangles comes to mind...... not that I consider myself much of a mathemetician. Pick an aribitrary camera distance greater than zero and calculate the size of the bounding box projected into a 2D plane (the (...) (21 years ago, 25-Mar-03, to lugnet.cad.dev, lugnet.cad.ray)
   
        Re: Camera Positioning —Don Heyse
   (...) This document describes a method of scaling to fit a bounding sphere into a viewport, starting somewhere around page 30. (URL) would think you'd have to pick a camera angle first, or fix one of the other variables like the distance to the (...) (21 years ago, 25-Mar-03, to lugnet.cad.dev, lugnet.cad.ray)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR