Thread: OpenGL + BumpMapping

  1. #1
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    OpenGL + BumpMapping

    Hi Guys!
    I'm starting OpenGL now, and I really like it. IT's not as complicated as I immaginned it would be at first. However, I'm wondering if there's any way to apply bump-mapping in OpenGL using Real Time.
    Also, wondering if you can do reflections in OpenGL. I've been trying to figure this one out for a while...

    greetz...


    Sunny

  2. #2
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    It's not complicated? Lol .. I really tought it was .. so where did you get your first ever tutorial on OpenGL?
    what does signature stand for?

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    there's a bump map tutorial on Nehe if I'm not mistaken.

    nehe.gamedev.net
    always looking, make an offer. get me out of this place.

  4. #4
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    The question was kinda for Sunny
    what does signature stand for?

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    273

    Cool

    so was my answer
    always looking, make an offer. get me out of this place.

  6. #6
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Lol sorry
    what does signature stand for?

  7. #7
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    well, there might be an easier way to do reflections in OpenGL, I don't know it, although I wish I did (: But the way that real time reflections are frequently done is with different types of environment mapping, which basically involves setting up the camera to be at the point you are figuring out the reflection of, looking out from the point at the vector of reflection (mirror of the view vector over the normal of the face at that point) After you have the camera set up like that, you render that frame real fast (don't display it) and use that frame as the texture at the point you are making reflective. Then you render with the camera back in the original position with the other frame as the texture for that point, and you display that. Sorry if that didn't make any sense, I condensed a buncha reading into a little bit (: If you're still interested and don't find an easier/better way, search for environment mapping on Google or your favorite graphics programming sites.
    Away.

  8. #8
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Cool Thanks

    Yes...I see now. Yeah, the reflection explanation makes sense to me, but unfortunately I won't dare try it out on this PC (2 Mb Video Mem).
    Thanks for the Bump Map. Yeah, I'l try out Nehe then.

    <Rusky>
    I first picked up OpenGL thanks to no-one who gave me this link to www.gametutorials.com. There's a really nice tutorial there!

    Thanks a lot ppl.

    Have a lot of Fun!

    Sunny

  9. #9
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    But before you started... Did you know C++ inside out??
    what does signature stand for?

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, 07: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, 10:01 PM