Hi all,

I got a bit stuck with coordinate transformations and projection method - maybe someone can quickly help me:

With a given view (-vta -vh 180 -vv 180 -vd dx dy dz -vu ux uy uz ), how can I easily (and fast=analytically) determine the pixel coordinates for a direction ax ay az (resolution of the image also given) ? This direction vector is not necessarily a direction used for the pixels (so grepping vwrays output is not an option, would be anyhow too slow). In other words, if I send out a ray with a certain direction, how can I get the pixel coordinates x,y for this direction?

thanks

Jan