View Full Version : texture mapping images
03-17-2001, 11:17 AM
I'm using glut on a mac. I want to texture map an image as background for my project. If you have any suggestions for code or sites where i could find code it would be a big help.
03-18-2001, 05:31 AM
See http://nehe.gamedev.net/opengl.asp ... I think all code samples there is available for the mac, too. Just scroll down to the bottom of each tuturial -- tut's are opened by clicking the image on the left.
I'm new, but I create a background image by drawing a big quad that fills the screen, and then map my texture on it. I made an earlier post under "Alphablending" that shows a snip of the LoadIdentity, Translatef stuff that I use for that purpose.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.