MJW Posted October 20, 2013 Share Posted October 20, 2013 To me, one of the most confusing aspects of writing plugins is knowing what the various callable functions do, since, as far as I know, they aren't documented anywhere (I'd be thrilled to be wrong about that). Given the name of this function, and that fact it takes two floating point arguments, I assume it bilinearly interpolates between the four nearest pixels. However, in most examples where I've seen it called, the arguments have been integer coordinates. If I'm correct about what the function does, that would seem to do nothing (other than perhaps automatic clamping) that couldn't be done by directly indexing into the image buffer, and would seem to lose the advantage of bilinear interpolation. So, I guess my question is: Do I correctly understand what GetBilinearSampleClamped does, and if not, what does it do? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.