Quote:
Originally Posted by cujo30227
Hi,
I want to add a simple meshed ground surface to my camera view (as overlay, similar as in the Layar app, but without the gps-POI's). The ground surface should stay aligned with the actual ground level as seen in the camera (using accelerometer info as done in the GLGravity sample app).
Is OpenGL the only way to go here? Do you have suggestions for sample projects or a good tutorial which fit my purpose to some extend and which I can use to build onto (e.g. creating a meshed surface in openGL and mapping it to the camera as overlay))?
Thanks a lot!
Cujo
|
Yes, I'd say openGL is your best bet. Creating a mesh is not that difficult, in the abstract. Collecting elevation data for your area, turning it into a mesh, and scaling it and projecting it to match the phone's position/view direction is a much different story. I would not know how to go about that.