Open AAverin opened 9 years ago
Yes, the vtm-android-example contains all the working example code thereis. Some experiments can be found in vtm-playground which I use to test things on the desktop. The poi3d layer is also in playground but requires libgdx.. If you want to try it on osx: the vtm-natives is missing precompiled libs atm; https://github.com/opensciencemap/vtm/blob/master/jni/src/JniBuilder.java
What are the plans for using Gdx? The problem that I see is that it will not be possible to combine Android SDK classes with Gdx classes, so we will either have to go with GdxMap or with AndroidMap. What approach will be used in the future by the library?
No plans for further integration of libgdx from my side. It was mainly useful to get a gl context and input on the desktop, and I used it to see if a port with gwt and robovm were feasable. So, yea, for 3D markers I would actually recommend writing a custom model renderer
Right now I'm more interested in a location marker - couldn't yet make BitmapBucket working to play with Bitmap/Canvas, and I'm not that good with OpenGL do to a real shader-based layer quckly.
I'm trying to build some extensions to the default functionality and I need things like current position dynamic marker (point/arrow/area), current zoom level size in km/m, complex markers for POIs and lots of other stuff. I'm building for Android. Is this the only set of samples? https://github.com/opensciencemap/vtm/tree/master/vtm-android-example/src/org/oscim/android/test
I thought I remember at least 3D position marker somewhere, but can't seem to find it. Any other source code worth checking out for help?