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 3 of 3

Thread: 2D textures & API question

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2004
    Posts
    1

    2D textures & API question

    Is there support for displaying and manipulating 2D flat textures in open GL?

    Also im looking for good API reference for OpenGL. Is there a clean, searchable refrence for OpenGL, im looking for basically a java-doc style documentation.

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    570

    Re: 2D textures & API question

    Is there support for displaying and manipulating 2D flat textures in open GL?
    yeah...map the texture to a quad and draw the quad.

    what do you mean by manipulating a texture?
    load the image data into system memory and then do whatever you want with it.

    this is probably the best reference you can get your hands on:
    http://www.opengl.org/documentation/red_book_1.0/

  3. #3
    Junior Member Regular Contributor
    Join Date
    Feb 2004
    Location
    Magdeburg, Germany
    Posts
    118

    Re: 2D textures & API question

    Originally posted by Kullgen:
    Is there support for displaying and manipulating 2D flat textures in open GL?

    Also im looking for good API reference for OpenGL. Is there a clean, searchable refrence for OpenGL, im looking for basically a java-doc style documentation.
    Maybe you should read the OpenGL Programming Guide before you try something. Don't take this old version on the net. Try to get a newer one.
    From your question I believe that you haven't understand OpenGL, so a API reference would help you. And yes, there ist some stuff to do that you want. But I believe its much more low level as what you want.

Posting Permissions

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