Hi all,
EDIT (2014/05/05)--Added camera control (elevation and horizontal rotational speed), by means of sliders. Nice results . Will publish following evolutions, if any, in "Test my app" until it becomes something "playable"
I have just published a demo animation which intends to be an unreal planet with four orbiting moons in space. There is no user interaction. It is made with a work-in-progress library that I am writing for pseudo-3D graphics rendering. I say "pseudo" because it will be limited to some basic convex objects..
Find it here: https://play.google.com/store/apps/details?id=com.twouchapps.sphere
The main goal with doing this is learning, and see where can I arrive. It is based on some work that I had done for a previous app and modified it for this purpose.
Limitations: At this moment, it will only work with ARM devices which have a NEON coprocessor. Many phones have it, but I can't find statistics of the actual percentage. In tablets, it seems to be that this percentage is lower, so I have not published the apk for tablets.
The structure of this animation has two parts:
It works quite well, but in my device, from time to time it seems to "stop" and make small jumps. Please test it, and if your device supports it, I would be pleased to know phone model, how smooth it is, and any other things you might consider.
EDIT (2014/05/05)--Added camera control (elevation and horizontal rotational speed), by means of sliders. Nice results . Will publish following evolutions, if any, in "Test my app" until it becomes something "playable"
I have just published a demo animation which intends to be an unreal planet with four orbiting moons in space. There is no user interaction. It is made with a work-in-progress library that I am writing for pseudo-3D graphics rendering. I say "pseudo" because it will be limited to some basic convex objects..
Find it here: https://play.google.com/store/apps/details?id=com.twouchapps.sphere
The main goal with doing this is learning, and see where can I arrive. It is based on some work that I had done for a previous app and modified it for this purpose.
Limitations: At this moment, it will only work with ARM devices which have a NEON coprocessor. Many phones have it, but I can't find statistics of the actual percentage. In tablets, it seems to be that this percentage is lower, so I have not published the apk for tablets.
The structure of this animation has two parts:
- On one side, each planet is "composed" with a rotating texture, static lighting effects, color and local transparency modifiers. Also, there is a set of coordinates which change according to an orbit equation and a rotating camera (still very primitive) pointing at the center of the planet at a constant distance.
- On the other side I compose the scene drawing each of the individual objects and the background onto an AcceleratedSurface, which boosts the speed of the canvas drawing part.
It works quite well, but in my device, from time to time it seems to "stop" and make small jumps. Please test it, and if your device supports it, I would be pleased to know phone model, how smooth it is, and any other things you might consider.
Last edited: