Reputation: 768
I'm interested in drawing flight path style curves on a potentially fake sphere in Android. My goal is to show glowing bezier curves radiating out from a single point on the featureless sphere to different locations (potentially on the other side from the viewer's perspective).
What is a good approach to do this? I was thinking that it might be possible to set up a graphics Camera and do some fancy rotations that I can apply to a 2D path in order to draw them on top of a statically rendered sphere, but I'm afraid about how to clip the curves when they go behind the static sphere (/circle), not to mention the ability to draw some depth. It seems like this is actually a non-trivial task with the available APIs (and my failure to remember most of my linear algebra).
Upvotes: 0
Views: 151