How to map 4 images to the area like this: [ATTACH=CONFIG]1472[/ATTACH]？
The transform will be like using four look-up tables for backward mapping.
The right side rectangle is for vertex shader. I know how to use fragment shader and vertex shader to do fisheye calibration.
BTW, I know how to use texture.
The 4 images’ transforms to the four areas are nonlinear, and each of them is bit different, take one for example: image1 --> area1.
Suggest that there are 100 points,
vertex_position --> texture … vertex_position --> texture;
here vertex position is area1, texture is image1, vertex position’s z is not used and is setting to 0,
I perform the nonlinear transform on texture coordinates,
texture = transform(texture)
I can transform one image, what I want to know is how to transform four images?