opengl flip horizontal?


We’ve got the collada and artoolkit examples from this forum working together. One thing we want to do is flip the display so the viewer sees themselves “mirrored”. I can flip the camera feed no problem, but how do I do the same to the collada 3D model that gets displayed?

Thanks in advance.


if you do ofScale( -1, 1, 1 ) that should flip the X axis. you might have to ofTranslate( ofGetWidth(), 0, 0 ), or ofTranslate( -ofGetWidth(), 0, 0 ) to see anything (as the scaling may flip the objects out of the visible frame…)

1 Like