Look at frustum and fov calcs in wiki Sent from my iPhone
On Oct 27, 2010, at 3:19 PM, pallzoltan <[email protected]> wrote: > ok, i've drawn it: http://www.symbio.cz/camera/camera.jpg > you're describing alpha, and i am looking for beta > > On Oct 27, 3:00 pm, Michael Iv <[email protected]> wrote: >> If I get you ,you need an angle of rotation of the camera relative to the >> center point at which it looks ,right? >> You can write the initial rotations of the camera before it was rotated and >> then calculate delta rotation for each axis when you rotate the camera.This >> is easiest . >> >> >> >> >> >> >> >> >> >> On Wed, Oct 27, 2010 at 2:56 PM, pallzoltan <[email protected]> wrote: >>> nono, look here: >>> http://upload.wikimedia.org/wikipedia/en/7/72/Angle_of_view.svg >>> i need the vertical angle (from top to bottom). i need it because i'm >>> building a panorama viewer and the loaded images always have different >>> ratio. therefore i need to know how much i can rotate the camera on >>> the X axis >>> maybe you can think of an easier way? >> >>> Z. >> >>> On Oct 27, 2:51 pm, Michael Iv <[email protected]> wrote: >>>> do you mean camera forward look view angle relative to some object ? use >>>> dot product >> >>>> On Wed, Oct 27, 2010 at 1:50 PM, pallzoltan <[email protected]> >>> wrote: >>>>> hello there :) >> >>>>> i can't seem to figure out what the view angle of the camera is, and >>>>> this seems to be such a basic need that i feel like i've surely missed >>>>> something. i guess it's somehow calculated from the camera's >>>>> parameters (fov, focus, zoom) >> >>>>> thanks for any kind help >>>>> Z. >> >>>> -- >>>> Michael Ivanov ,Programmer >>>> Neurotech Solutions Ltd. >>>> Flex|Air >>> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// >>> www.meetup.com/GO3D-Games-Opensource-3D/ >>>> Tel:054-4962254 >>>> [email protected] >>>> [email protected] >> >> -- >> Michael Ivanov ,Programmer >> Neurotech Solutions Ltd. >> Flex|Air >> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup.com/GO3D-Games-Opensource-3D/ >> Tel:054-4962254 >> [email protected] >> [email protected]
