erez
02-11-2003, 05:58 AM
Hi All ,
I want to do the following task and i want to know if OpenGL has some support to do it.
Let say that i have 3 buffers SOURCE,TRANSFORM and DESTINATION.All buffers have the same width & height.
now lets say that the buffers SOURCE & DESTINATION are pictures and the buffer TRANSFORM will represent the transformation between the source and the destination.
The transformation rule is:
for each valid i,j
DESTINATION[i,j] = SOURCE[ TRANSFORM[i,j] ]
the value TRANSFORM[i,j] is the offset of the pixel in the buffer SOURCE.
Thanks in advanced ,
Feigenbaum Erez
I want to do the following task and i want to know if OpenGL has some support to do it.
Let say that i have 3 buffers SOURCE,TRANSFORM and DESTINATION.All buffers have the same width & height.
now lets say that the buffers SOURCE & DESTINATION are pictures and the buffer TRANSFORM will represent the transformation between the source and the destination.
The transformation rule is:
for each valid i,j
DESTINATION[i,j] = SOURCE[ TRANSFORM[i,j] ]
the value TRANSFORM[i,j] is the offset of the pixel in the buffer SOURCE.
Thanks in advanced ,
Feigenbaum Erez