Hello,
I've been working in FilterMeister for a while, I'm not an expert in the C programming language, although I know it well to some degree, but I'm trying to make a classic filter like the Displace filter in Photoshop, where I would directly copy the content from the desired layer(and not saved as .psd greyscale image then loaded) that will serve as the height map or a displacement map for the other layer that needs to be displaced. For example, I have two layers, one is perlin noise and the other is text. The perlin noise should act as a displacement map for the text to be warped in relation to the dark and light pixels. I think the pointer_to_buffer() function should be used in conjunction with memcpy(), memmove() or memset(). Although I am trying to solve this problem somehow, I will still need your help.
For clearer picture of what I want to achieve, please take a look at Substance Designer's Warp node.
Thanks to anyone who offers to help,
Ladislav