OpenGl help

This is a discussion on OpenGl help within the Game Programming forums, part of the General Programming Boards category; In opengl, lets say you wanted a beach picture. Do you have to make that from scratch or is there ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    50

    OpenGl help

    In opengl, lets say you wanted a beach picture.
    Do you have to make that from scratch or is there a function (using glut or not) that allows you to open the folder, (the picture), and then distort that into your program.
    I'm a little confused, your answer will help
    Thanks
    Jay

  2. #2
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    i'm new to opengl too, so i'm not sure how much help this will be.
    in my opengl book, it talks about defining terrains and drawing terrains using texture-mapping features. i was unable to find anything in regards to embedding images.
    it could be possible, but I have been unable to find it. i wish i could have been of more help.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    The only way to 'embed' an image as you say, is to apply a texture to a quad.

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    50

    but

    whats a quad?

  5. #5
    ---
    Join Date
    May 2004
    Posts
    1,379
    lol

    Go read an OpenGL tutorial.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    69
    Quote Originally Posted by jaylc185
    whats a quad?
    Umm, I recommend you buy the book from Gamedev.net. It will answer all your questions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21