Hello,

I'm creating 3D game for android and I want it to use maps. I'd like to use rendered map tiles as textures for 3D objects in OpenGL ES 2.0 (I want to make an impression like the player was walking on the map - in fact, on the 3D object covered with map texture). As far as I know, it is possible, but I have completely no idea where to start and I can't find any tutorial. Everything I've found is about using MapView in osm-using APIs and it's not what I mean.

asked 26 Oct '13, 21:30

PhantomyMalloph's gravatar image

PhantomyMalloph
11112
accept rate: 0%

edited 27 Oct '13, 01:40

aseerel4c26's gravatar image

aseerel4c26 ♦
32.0k16238549

1

Hi you have a lot of uncertainties; your question is there for not OSM specific.

(27 Oct '13, 00:53) Hendrikklaas

As far as OSM is concerned, see Tiles. There you can see how you can calculate tilenames if you have coordinates (please note the usage policies of the tile services!). Tiles are just bitmaps.

How you can render bitmaps on 3d objects on Android is out of OSM help's scope, sorry. Maybe the game with OSM maps Supertuxkart is of some help to you.

permanent link

answered 27 Oct '13, 01:49

aseerel4c26's gravatar image

aseerel4c26 ♦
32.0k16238549
accept rate: 17%

1
(28 Oct '13, 19:14) stephan75
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×229
×161
×108
×1

question asked: 26 Oct '13, 21:30

question was seen: 3,921 times

last updated: 28 Oct '13, 19:14

powered by OSQA