Results 1 to 2 of 2

Thread: GL 32bit texture cookie cut, with Alpha?

  1. #1

    GL 32bit texture cookie cut, with Alpha?

    What is the quickest way to create/cookie cut a texture from a larger texture.

    This would result in a new smaller texture, with its texture being made up from a small section copied from the larger texture.

    And most importantly, preserving all the Alpha channel data.

    Thanks in advance.

  2. #2

    GL 32bit texture cookie cut, with Alpha?

    Actually it would be the best way to leave the tex in one piece.
    To control which part of the tex is shown on your quad use texture
    coordinates.

    If you still need to copy a special section you could also do it manually
    since a picture is nothing else than a stream of (4) bytes.
    Note: OpenGL isn't designed for image processing. What you need
    is ImageMagick

Bookmarks

Posting Permissions

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