Results 1 to 2 of 2

Thread: texture mapping images

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2002
    Location
    asdas
    Posts
    13

    texture mapping images

    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.

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2001
    Posts
    16

    Re: texture mapping images

    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.

Similar Threads

  1. projective texture mapping and shadow mapping
    By phoenix_gl in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-08-2012, 08:00 PM
  2. Sliced images mapping a displacement mesh
    By offon in forum OpenGL: GLSL
    Replies: 0
    Last Post: 02-01-2011, 04:14 AM
  3. Repeating sub texture images
    By crouchingchicken in forum OpenGL: General
    Replies: 13
    Last Post: 03-03-2007, 11:18 AM
  4. Texture Images usage in glsl
    By imported_Ffelagund in forum OpenGL: GLSL
    Replies: 6
    Last Post: 05-18-2004, 04:51 AM
  5. 3D Models with Texture Coordinates and Texture images
    By dimensionX in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-15-2004, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean