Open GoogleCodeExporter opened 9 years ago
try to use World.remove(GeoObj)
Original comment by Yosafat...@gmail.com
on 1 Jul 2012 at 6:17
I tried that already.
It's put the obj for a second and remove it.
I want to remove it only when im not longer in the location obj
Maybe I'm not using it right ?
Original comment by o...@fetch-app.com
on 1 Jul 2012 at 6:49
what do you mean with "when im not longer in the location obj"?
Original comment by simon.heinen
on 2 Jul 2012 at 7:05
When I create the obj I give him specific coordinate(from google earth) and the
obj appeare only when I get to that specific place.
But I want to remove the obj from the world when I'm not longer in that place
Original comment by o...@fetch-app.com
on 3 Jul 2012 at 6:40
so you want to collect it?;) there is a example setup for this. the object can
react to the user when he gets close to it (e.g. the object can remove itself
from the world).
Original comment by simon.heinen
on 3 Jul 2012 at 1:18
but the collect item setup, remove the obj when the user get close to
it.(that's what i understand from the code)
i want the the user to see the obj when he close to it, but remove the obj when
he is far away(for example 20 meter) from the obj.
what i want is that the user will see the obj only if he is in the radios of 20
meter from the obj, otherwise he will not see it
Original comment by o...@fetch-app.com
on 24 Jul 2012 at 8:43
hm you could use the quadtree, take a look at the LargeWorld setup, there the
objects are only rendered if the user is close to them to allow very many
objects in the world.
it depends if you want the object to be updated even in it is not shown?
Original comment by simon.heinen
on 25 Jul 2012 at 6:48
Yes, I want the object to update even it is not shown.
For example if you are in Eiffel Tour, you will see the object only when u are
in a 20 meter radios from it. Else u want see it. And I want the ability to
update the object all the time
תודה רבה,
אורית ברדה
ב-25 ביול 2012, בשעה 09:48, droidar@googlecode.com כתב/ה:
Original comment by o...@fetch-app.com
on 25 Jul 2012 at 7:21
hm then the best solution would be to create your own version of the
quadtreecontainer (the one from the largeWorldsetup)
Original comment by simon.heinen
on 27 Jul 2012 at 9:34
Hi...! How are you?!
I really need your help with something:
My project contain the DroidAR project and the MultiMarker project, i am
trying to load my own 3D object to my project, so i insert the
ModelLoaderAdapter (who works fine) to my project, but i get this error:
08-13 09:28:08.867: W/dalvikvm(5636): Exception
Ljava/lang/UnsatisfiedLinkError; thrown while initializing
Lcom/badlogic/gdx/backends/android/AndroidApplication;
08-13 09:28:08.878: D/AndroidRuntime(5636): Shutting down VM
08-13 09:28:08.878: W/dalvikvm(5636): threadid=1: thread exiting with
uncaught exception (group=0x40015578)
08-13 09:28:08.878: E/ErrorHandler(5636): A wild 'Uncaught exeption'
appeares!
08-13 09:28:08.878: W/System.err(5636):
java.lang.ExceptionInInitializerError
08-13 09:28:08.878: W/System.err(5636): at
de.rwth.GDXConnection.<init>(GDXConnection.java:28)
08-13 09:28:08.882: W/System.err(5636): at
de.rwth.GDXConnection.init(GDXConnection.java:235)
08-13 09:28:08.882: W/System.err(5636): at
de.rwth.ModelLoaderSetup.addObjectsTo(ModelLoaderSetup.java:76)
08-13 09:28:08.882: W/System.err(5636): at
system.DefaultARSetup.callAddObjectsToWorldIfNotCalledAlready(DefaultARSetup.jav
a:118)
08-13 09:28:08.882: D/MeshComp(5636): null will now be removed from mesh
because it is finished (returned false on update())
08-13 09:28:08.882: D/RenderList(5636): Item gl.LightSource@40530bf8 will
now be removed from RenderList because it is finished (returned false on
update())
08-13 09:28:08.882: W/System.err(5636): at
system.DefaultARSetup$1.minAccuracyReachedFirstTime(DefaultARSetup.java:103)
08-13 09:28:08.882: W/System.err(5636): at
actions.ActionWaitForAccuracy.callFirstTimeAccReachedIfNotYetCalled(ActionWaitFo
rAccuracy.java:99)
08-13 09:28:08.882: W/System.err(5636): at
actions.ActionWaitForAccuracy.access$4(ActionWaitForAccuracy.java:95)
08-13 09:28:08.882: W/System.err(5636): at
actions.ActionWaitForAccuracy$4.onClick(ActionWaitForAccuracy.java:191)
08-13 09:28:08.886: W/System.err(5636): at
android.view.View.performClick(View.java:2538)
08-13 09:28:08.886: W/System.err(5636): at
android.view.View$PerformClick.run(View.java:9152)
08-13 09:28:08.886: W/System.err(5636): at
android.os.Handler.handleCallback(Handler.java:587)
08-13 09:28:08.886: W/System.err(5636): at
android.os.Handler.dispatchMessage(Handler.java:92)
08-13 09:28:08.890: W/System.err(5636): at
android.os.Looper.loop(Looper.java:123)
08-13 09:28:08.890: W/System.err(5636): at
android.app.ActivityThread.main(ActivityThread.java:3687)
08-13 09:28:08.890: W/System.err(5636): at
java.lang.reflect.Method.invokeNative(Native Method)
08-13 09:28:08.894: W/System.err(5636): at
java.lang.reflect.Method.invoke(Method.java:507)
08-13 09:28:08.894: W/System.err(5636): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
08-13 09:28:08.894: W/System.err(5636): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
08-13 09:28:08.894: W/System.err(5636): at
dalvik.system.NativeStart.main(Native Method)
08-13 09:28:08.894: W/System.err(5636): Caused by:
java.lang.UnsatisfiedLinkError: Couldn't load gdx: findLibrary returned null
08-13 09:28:08.898: W/System.err(5636): at
java.lang.Runtime.loadLibrary(Runtime.java:429)
08-13 09:28:08.898: W/System.err(5636): at
java.lang.System.loadLibrary(System.java:554)
08-13 09:28:08.898: W/System.err(5636): at
com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:116)
08-13 09:28:08.898: W/System.err(5636): at
com.badlogic.gdx.backends.android.AndroidApplication.<clinit>(AndroidApplication
.java:59)
08-13 09:28:08.902: W/System.err(5636): ... 19 more
08-13 09:28:08.902: E/ErrorHandler(5636): Starting error activity
08-13 09:28:08.902: E/MeshComp(5636): Request to add NULL object as a child
to Shape gl.scenegraph.Shape@4056a828 was denied!
I think the problem is that on compilation time, the files
libandroidgl20.so and libgdx.so deletes automaticly from my project. we try
to understand why but we don't really know how the compiler works in this
case. maybe it has a connection to the Android.mk or to the apk file?
thanks for all you help!
Original comment by o...@fetch-app.com
on 13 Aug 2012 at 9:29
Original issue reported on code.google.com by
o...@fetch-app.com
on 18 Jun 2012 at 5:29