THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/06/2008 at 03:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform:
Language(s) : C++ ;
---------
Hey folks,
Is it possible to gain (read out a value, calculation, a.s.o) the amount of pixel along the fov ?
Background is this formula (http://www.pascucci.org/pdf-papers/IEEE-TVG-2002.pdf, page 9, bottom left) :
lambda = (w/2*tan(fov/2)) with w=the amount of pixel along the field of view.
Lambda is used for visibility check of a vertexpoint (seen by camera or not). I found out that w is very dependent on the distance between vertex and camera (at a distance ~18k to vertex w is ~27k) position. Has there anyone an idea how to calculate w?
Thanks in advance again
Cheers
Sascha