Jump to content
Sign in to follow this  
MaxPower44

Aperture of camera

Recommended Posts

I have place a camera with camcreate to position

[playerx,playery, playerz+200]

I need to know the aperture of the camera to calculate the left top and bottom right pixel that are visible on the screen in map coordinate.

An idea to know that ?

Share this post


Link to post
Share on other sites

The aperture of the camera is usually somewhere past f32. Macro can get blurry, but that's usually due to the texture resolution.

FOV IIRC should be 60 degrees. MAybe 90. Simple trig can measure that. Or just use the FOV camera scripting commands.

Share this post


Link to post
Share on other sites
Guest

FOV isn't aperture...at least not on real cameras....maybe in computing terms it's different...I don't know. In real life aperture affects the amount of light getting to the film (or chip) and the depth of field, but not field of view....that's what zoom is for. tounge.gif

Share this post


Link to post
Share on other sites

Probably, I don't explain me whith good words (I'm french)

With a scheme, it's easier :

shema.JPG

I know  height but not Alpha. perhaps Alpha is different in x an in y.

I know the coordinate of the player (in green)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×