Skip to content
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

About Teapot Sample #314

Closed
knvirani opened this issue Oct 21, 2016 · 2 comments
Closed

About Teapot Sample #314

knvirani opened this issue Oct 21, 2016 · 2 comments

Comments

@knvirani
Copy link

knvirani commented Oct 21, 2016

Can you provide a Teapot sample that we can learn below things.

  1. How to use textures with 3D Teapot model with a use of "bitmap" and ".tga" file ?

i mean that how to bind textures with a use of .bmp or .tga files to 3D Model via NDK code.

@ggfan
Copy link
Contributor

ggfan commented Oct 21, 2016

adding @hak

@ggfan
Copy link
Contributor

ggfan commented Aug 17, 2018

less than 2 years, got chance to address this one with #555

Loading file from assets probably is the only one specific to Android; this one avoids the reading from disk because I like to avoid to get too much Java code into it ( Run time permission is only available from Java ).

@ggfan ggfan closed this as completed Aug 17, 2018
ggfan added a commit that referenced this issue Aug 17, 2018
Adding textured-teapot sample for github issue #314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants