User Tag List

Results 1 to 6 of 6

Thread: Texture extensions

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Nov 2009
    Location
    This side of the equator
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Texture extensions

    The Texture Bank and Texture External extensions can load textures to be used by other OpenGL extensions. The Texture Bank can store a number of images that can be loaded as textures at any time. The Texture External extension can load textures from image files or from other objects such as Actives, Overlays and Surface objects.

    Use this thread for suggestions and general discussion of the Texture extensions.

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Texture extensions

    maybe as part of the loading action there could be a couple of parameters for adding transparent padding pixels to the x and/or y of the texture (probably with the texture 'pinned' to the upper left)

    they could probably take the values:
    -1: pad to nearest power-of-two larger than or equal to current size
    0: don't pad (current behavior)
    >0: pad to this size if larger than current size (doesn't necessarily have to be POT)

    assuming it's possible to modify the incoming image data though

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Nov 2009
    Location
    This side of the equator
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Texture extensions

    This is very much possible, but isn't it quite easy to manually pad using an image editing tool?

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Texture extensions

    yes, but it would be nice for a game/app to accept images from the end-user or from other sources where they can't be guaranteed to already be in power-of-two format; the latter case because you can't do much about it, and the former case where the scaling is basically transparent to the user as they don't know it's happening but the application can correctly handle it

    i didn't think of it when i made that post but there would probably also need to be "original width/height" expressions that are set before padding so it would be possible to generate scaling factors for texture coordinates

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Nov 2009
    Location
    This side of the equator
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Texture extensions

    I see your point, perhaps the best solution would be to have an option to automatically scale image height/width to the nearest power of two, since that wouldn't mess up texture repeating ( also no need for original width/height expressions. ) I'll add it to my todo list! (:

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Apr 2007
    Posts
    208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Texture extensions

    When you go to change the name of a texture in the texture bank and press enter, the window closes but the name isn't saved. Would be nice if it did save

    You can't choose the mipmapping mode (there are several methods that vary in computational effort). I would like to choose pixels from one texture or the other, not average between them. I imagine this could be implemented by replacing the mipmap check box with a dropdown list, with "no mipmaps", followed by the alternative modes, not that I can remember them off the top of my head.

    You cannot edit the mipmap textures at the moment. This would be a nice feature as simply resizing the textures beforehand doesn't always produce the desired effect. I imagine just having some buttons with "Edit mipmap texture 1" ... etc would work well enough. You may want to add a checkbox that toggles between auto-generated mipmaps and user defined mipmaps, and warns the user when the mipmaps are being regenerated and overwriting their custom mipmaps.

    Those are just my suggestions anyway.

Similar Threads

  1. Texture Overlay
    By Nobuyuki in forum Shader Development
    Replies: 3
    Last Post: 27th November 2012, 08:03 PM
  2. [bug] Texture tearing
    By colej_uk in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2012, 05:36 PM
  3. Texture synthesizer
    By SEELE in forum File Archive
    Replies: 12
    Last Post: 3rd February 2010, 09:14 PM
  4. Fill Shape with Texture
    By DizzyDoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th March 2008, 01:06 AM

Posting Permissions

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