View Full Version : pics in OpenGL
i'd like to know how to paste pictures on the background of the screen or at least manipulate them in opengl
Their is a lot of way to do this. Generaly you
for exemples, before drawing other objects,
disable the Zbuffer with glDepthMask(GL_FALSE);
*) draw your picture with glCopy??(I can't remenber what but it is written in the Red Book at bitmap section).
*) or draw a quad with the image you want to draw as a Quad texture
enable the Zbuffer. glDepthMask(GL_TRUE).
A cool thing is to switch to a cool projection mode like
with this you can specify the x and y of your picture using
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.