2

I am trying to find approaches on stamping multiple textures on an object (3D .obj) Android. But, I am unable to do so, I have tried min3d but not sure if it is the right way to do it?

Is there anything available around which is similar to this? Or How Should I approach this UI? Below is the UI of model and how I want to stamp an "image"/texture on it, in addition I want to change the color of the model / add text on it.

In addition, I am planning to give touches on it, by stamping username/label/textview at the back of the model by using rotation through touches.

Please guide, which SDK should I use on Android, what is the best approach to do it.

Actual Model

This is how I want?

Reno Jones
  • 1,979
  • 1
  • 18
  • 30

2 Answers2

0

What you want is basically just rendering textures on a given 3D mesh, as far as I can see. You could take multiple approaches for this: The simplest being just texturing the actual object, but a more complicated approach could involve rendering the object and "stamp"&text textures separately, giving the illusion of being overlayed (Not preferable though, as this will be difficult to manage correctly). For texturing, you can either attempt rendering different textures after each other (First the background, then the stamp, then the text), or combining the different elements into one texture (pre-processing) before rendering.

I recommend having a look at the following posts and articles:

You did not provide any code displaying your current attempts, so it is difficult to say what exactly your problem is, and how to solve it. If you edit your question you might receive more concrete solutions besides just links to potentially helpful resources.

Fly
  • 810
  • 2
  • 9
  • 28
-1

Perhaps working with the OpenGL ES 2.0 api might be an option. Take a look this repo here called the Android 3D Model Viewer which makes use of it, it might help you out.

Raimo
  • 1,494
  • 1
  • 10
  • 19