Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: How many types of mapping exist in opengl?

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    18

    How many types of mapping exist in opengl?

    Hello ,

    Im a newbie learning opengl.

    I wanted to know how many types of mapping exist in opengl. I mean...cube mapping, environment mapping...etc.

    Is there a place where I can find the list?

    thanks,
    drmz

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Posts
    513
    Are you asking about automatic texture coordinate generation (glTexGen)?
    These days you can calculate (more or less) whatever you want in shaders, so it's mostly limited by imagination

    If you are asking about something else, I'm afraid I don't understand the question. Can you provide more details on what you consider a "mapping"?

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    18
    Hi Carsten,

    Thanks for the reply.

    I'm not sure if I'm asking about the automatic texture coordinate generation or not.

    My question was I came across about these terms like ... "Cube Mapping, environmental mapping".

    I wanted to know how many of these kinds of effects are there, if at all there are available as a list some where.

    As far as I know I dont think cube map is done with automatic texture coordinate generation.

    I hope Im clear now.

    Thanks.

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    9
    Quote Originally Posted by drmz0counting View Post
    I wanted to know how many types of mapping exist in opengl. I mean...cube mapping, environment mapping...etc.
    • Texture mapping
    • Normal mapping
    • Bump mapping
    • Parallax mapping ( Offset mapping )
    • Parallax occlusion mapping ( Relief Mapping )
    • Dynamic Cube Environnement Mapping
    • Shadow mapping
    • Specular mapping
    • Tone mapping
    • Displacement mapping


    Now I'm pretty sure You ask where do learn about these mapping types.

    Well Google is Your friend

  5. #5
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  6. #6
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    18
    Thanks Indloon and V-man.

    Time for some home work to figure out what are these...

    thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •