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: BitmapFactory.decodeResource compatible 2D Texture Files

  1. #1
    Newbie Newbie
    Join Date
    May 2013
    Posts
    2

    Lightbulb BitmapFactory.decodeResource compatible 2D Texture Files

    I am working with textures on Android, OPENGL ES 2.0 & Java.

    I need to find in the public domain (if possible) 2D texture files that can be applied to my various objects. I am currently using two texture files successfully (Bumpy Bricks & Stone Wall). These .png files are read and processed by the BitmapFactory.decodeResource method.

    My question is: How do I acquire and/or create a 2D compatible texture file for use within my Android app?

    Thanks in advance.
    Ghyrome

  2. #2
    Junior Member Newbie Dave Driesen's Avatar
    Join Date
    Apr 2009
    Location
    Belgium
    Posts
    7
    You can create such textures in Gimp, Photoshop, and many other applications.

    If you want your textures to be tileable then you'll ideally want to retouch them by hand. Takes a little bit of effort but it is very rewarding. There's many guides out there and even plugins that help you achieve your goal.

    For best results, try to stick with so-called "power of two" textures.

    Dave Driesen
    Actually doing some thinking inside the box

  3. #3
    Newbie Newbie
    Join Date
    May 2013
    Posts
    2

    Texture Creation

    Dave :: Thanks for the help. I'll download GIMP. [Ghyrome]


    Quote Originally Posted by Dave Driesen View Post
    You can create such textures in Gimp, Photoshop, and many other applications.

    If you want your textures to be tileable then you'll ideally want to retouch them by hand. Takes a little bit of effort but it is very rewarding. There's many guides out there and even plugins that help you achieve your goal.

    For best results, try to stick with so-called "power of two" textures.

    Dave Driesen
    Actually doing some thinking inside the box

Posting Permissions

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