Hi,
Well, I need to do the following steps:
1º I will load a 3D Object and rotate it three times in different directions, then I'll save the buffers A, B and C ( A= Rotation 1, B= Rotation 2 and C= Rotation 3).... at buffer "A" I'll only let the RED Channel active (i.e. if the pixel "x" is 101,011,111 - it'll change to 101,000,000 ), at buffer "B" only GREEN channel.. and so on;
2º Now, I need to do an OR operation between the RGB Channels from the buffers ( A,B and C) for each pixel and save the result:
Pixel X in Buffer A: R -> (101,000,000)
Pixel X in Buffer B: G -> (000,110,000)
Pixel X in Buffer C: B -> (000,000,010)
----------------------------
Pixel X in Buffer R: RGB -> (101,110,010)
3º Show at screen
Well, the result is a Stereogram of the original 3D Object
=>Is there any other function besides glReadPixels() that will help me doing this?
[This message has been edited by ArkAnjo (edited 12-05-2002).]



Do you mean you're not using double-buffering, and you can see in "live" the objects being painted on screen ?
Do you mean you're not using double-buffering, and you can see in "live" the objects being painted on screen ?