New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jpeg/png/etc support to android application #4

Closed
deedoc opened this Issue Jan 16, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@deedoc

deedoc commented Jan 16, 2018

Hi there! Thanks for such a great tutorial!
But could you show how to add images (and may be other plugins) support for android builds in order to open models with textures like this one from openscenegraph/OpenSceneGraph-Data repository?

@kornerr

This comment has been minimized.

Contributor

kornerr commented Jan 16, 2018

Hi!
I currently research the use of PNG images, so once this is done (2-3 months), I'll update the article(s) and this issue.

@deedoc

This comment has been minimized.

deedoc commented Jan 16, 2018

@kornerr

This comment has been minimized.

Contributor

kornerr commented Jan 16, 2018

Yeah. You may search for 'native android png' to find libpng ports for Android. Something like this one: https://github.com/julienr/libpng-android
Build it and link with it. That's my plan for now :)

@kornerr

This comment has been minimized.

Contributor

kornerr commented Apr 17, 2018

Hi. I've created the example on how to use PNG image (embedded into application) across platforms, including Android: https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage

@kornerr kornerr closed this Apr 17, 2018

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