i want to read the content of the jpeg image.
(i.e)
1.I have drawn monochrome wireframe cube on a black
background screen.
2.I have performed the rotation upon the 3D cube.
3.Using the "mkopengljpeg"utilities i have captured the
whole screen as a jpeg file.
4.Now i want to get only the position and value of the
pixels of the rotated cube which is in the jpeg image.(i.e)process
should be only done on the jpeg image which is captured using the
step3.
5.If i get these pixels then i should redraw it again in
the same position of the opengl screen from which it has already
caught and rotate the cube again.
If i use textures,then the whole image will be bind as a
texture and rotation will be done upon the the whole image not only on
the cube .
I have done the first three steps.Now my question is
1.How can i do the step 4?
2.Is there any possiblities to directly draw the cube from the
captured image to the screen?.