Kel123 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

3-D / 2,5-D osmdroid for isometric perspective #470

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm working on a "2,5-D", kind of isometric perspective with a MapView of 
osmdroid.
I'm rotating around the x-axis to create the isometric look on the 2-D map 
while increasing the size of the MapView to make it bigger than the screen and 
reposition it but that's really not the solution I'm aiming at, 
performance-wise and visually.
The problem is that there is no 3-D native support by osmdroid.

I want to start from this:
http://i.imgur.com/3gzfKa8.png

leading to this(with the green part filled with map tiles, maybe lower 
resolution for better performance):
http://i.imgur.com/gMmzKPy.png

(if possible) including 3-D card material.

Are there any plans to include 3-D in osmdroid or are there forked projects to 
use OpenGL or the like with osmdroid?
I'm trying to achieve something similar to this project:
http://www.osg-explorer.com

I'm currently using osmdroid 3.0.8 with Android 4.3.

Original issue reported on code.google.com by alj...@gmail.com on 26 Aug 2013 at 4:01

GoogleCodeExporter commented 8 years ago
We'd love to see 2.5D/3D maps! We don't currently have any effort underway to 
do this and I am not aware of any forks that implement this.

One thing that may help is turning on hardware acceleration - see issue 413. It 
would make the 2.5D solution and it's associated skew/rotate/scale operations 
run much faster since they would all be hardware accelerated. A full OpenGL 
solution would probably be a major rewrite.

Original comment by kurtzm...@gmail.com on 26 Aug 2013 at 8:46

GoogleCodeExporter commented 8 years ago
Thanks for the quick response.
I'd be very interested in taking part in a project aiming for 2,5D/3D osmdroid.
But as you mentioned it would be a major rewrite so I definitely need help for 
this.
Anyone interested in taking on this project with me?

Original comment by alj...@gmail.com on 27 Aug 2013 at 12:38

GoogleCodeExporter commented 8 years ago
As the documentation of osmdroid is a bit "thin", I'm looking for the right way 
to provide a lower resolution for the tiles that I will load in the green part 
of the screen at the top. Can anyone point me in the right direction where to 
change the tilesize per tile and perhaps even where to load additional tiles 
off-screen for the 2,5D perspective.
Any advice would be very much appreciated.

Original comment by alj...@gmail.com on 6 Sep 2013 at 10:07