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.
Originally posted by erez:
[b]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[/b]
Hi
you should go for NV_texture_shader or NV_ARB_fragment_program with dependent texure reads and dS/dT textures
Bye
ScottManDeath
[This message has been edited by ScottManDeath (edited 02-11-2003).]