Sitelet https://github.com/modern-java-graphics/java6-android-glframework/issues/1
Skip to content

createTexture and loadTexture should have ability to specify the number of levels #1

Activity

  1. lamerman commented on Sep 7, 2017

    @lamerman
    Author

    Maybe passing it as argument..
    The problem is I want to generate a mipmap and several layers are required. Currently as I understand it's not possible without recreating the storage of the texture. In my view it would be good to at least remove those 1 numbers and make them configurable.

    About glGenerateMipmap I don't know. When you load the texture, probably you want to generate mipmap immediately, but still it's kind of ok to do it afterwards.

  2. lamerman commented on Sep 7, 2017

    @lamerman
    Author

    It it's ok for you I can provide the PR

  3. typhonrt commented on Sep 8, 2017

    @typhonrt
    Collaborator

    @lamerman thanks for the heads up. I'll be doing an update / test when Android Studio 3 final release is made which I gather is somewhat soon. I'll look into adding mipmap generation support at that time. I'll likely also be switching the license back to MIT as this code is more for getting started / demo purposes than a proper framework. I've been busy with some other OSS efforts in the past couple of years versus continuing to add more to the GL demos.

    I might also add demos on how to use LWJGL w/ Android including Vulkan from Java which is now possible BTW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions