1

I want to show .gltf 3d models of all planets in android using java. I don't want to use camera, there will be image of space in the background and planet's 3d model will be on top of that. I also want it to move it like rotating it here. First I was searching for a library so that i can directly integrate it in my app but can't find.

I tried to implement it using Rajawali Renderer but i guess i am doing something wrong. Can anyone help me with this? If any library already available then please suggest otherwise please give me some code implementation of showing 3d model through a view or something.

5
  • Have you seen github.com/javagl/JglTF/tree/master/jgltf-browser? Commented Jan 30, 2024 at 9:53
  • @lance-java Thanks for recommending this but i haven't see this before, how can i use this in android exactly? Commented Jan 30, 2024 at 10:15
  • If you look at this readme it gives a bit more insight. It seems there's two implementations... one based on jogl and the other based on lwjgl Commented Jan 30, 2024 at 11:02
  • @lance-java but i am still unsure of how can i use this in android Commented Jan 30, 2024 at 11:22
  • ah... it seems android doesn't support java.awt so this won't work. Sorry for the noise Commented Jan 30, 2024 at 14:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.