I think transforming to NDC is the correct approach, that’s also what i’ve been doing “`cpp @P = toNDC(chs(“camera”), @P); @P.x = @P.x * 2.0 – 1.0; @P.y = (@P.y * 2.0 – 1.0) * (chf(chs(“camera”) + “/resy”) / chf(chs(“camera”) + “/resx”)); @P.z = 0; “`