Code Monkey home page Code Monkey logo

droidar's People

droidar's Issues

Couple of Questions-

1.  What is the best way to present a GeoObj with text associated with it?  In 
looking @ the demoSetups, I add a MeshComponent to the GeoObj, but I dont see 
an example of how to also put a text description with it.

2.  How can I control how large the the VirtualCamera can "see" into the World 
object?  I am putting some GeoObjs in the World.  Some of these objects may be 
miles away from the current location of the phone, thus current Camera, so the 
user cannot see those objects. When I move the VirtualCamera(with 
EventManager.setPosition) close to the GeoObj, it appears, but I need a way to 
scale the camera so the user knows those items are in the world with out my 
moving the VirtualCamera close by.  

3.  Other frameworks(Mixar) have the concept of a RadarView that helps the user 
frame up the items.  And give some context to the GeoObjs in the World.  Any 
plans on implementing something like that to help the user navigate through the 
world object?

I hope someone can help us...we have a few project in the pipeline...and really 
want to use DroidAR...but the docs are kinda light.

Thanks

Original issue reported on code.google.com by [email protected] on 8 Oct 2011 at 8:21

Textures are disappearing after onResume

When loading a Texture in _b_addWorldsToRenderer 

localBitmap = BitmapFactory.decodeResource(myTargetActivity.getResources(), 
R.drawable.info8);

and using it with 

MeshComponent newTexturedSquare(String bitmapName, Bitmap bitmap,float size)

The Textures are displayed the first time it loads but after putting a new 
Activity on the Stack and returning to the Activity there is only a white 
square.

The Issue might be related to 
http://stackoverflow.com/questions/5213145/reload-opengl-textures-after-onresume
-in-glsurfaceview/5247390#5247390 except for the Solution.

Original issue reported on code.google.com by [email protected] on 10 Jul 2011 at 11:02

use 3d object loaded using libgdx

i am having problem in using 3d object loaded using libgdx project in droidar 
project to view a 3d object. please help me out,
thanks in advance.
Regards

Original issue reported on code.google.com by [email protected] on 10 Nov 2011 at 3:01

Need some clarifications on Geo

I am using droidAR to show some GeoObjects.

Below is the code how i spawn the objects.


I am defining a mesh as MeshComponent mesh = GLFactory.getInstance()
                            .newTexturedSquare("mytext",
                                    IO.loadBitmapFromView(mylayout), 3);
                    mesh.addChild(new AnimationFaceToCamera(camera, 0.5f));
                    mesh.setScale(new Vec(10, 10, 10));

GeoObj x = new GeoObj(pos, mesh);
and world.add(x)


Can you please clarify these points.

1. I have spawned 5 pints . one at current location, second at 10m from current 
position , 3rd at 100 meters , 4th at 1 kn 
Now when i open the AR view, which of these point will be visible. ie where am 
i setting the radius for camera visibility 

2. I want to listen to location update and update AR view automatically . Is 
this possible and the default behaviour ? I saw the event handler for location 
update defined in the setup . WIll this take care of lo9cation update or should 
we override / implment any function.


Thanks a lot for your answers. It will be really helpful for me.


Original issue reported on code.google.com by [email protected] on 21 Aug 2012 at 8:38

Altitude not being used

Simon-
In using droidar, we noticed that the altitude was not displaying right.  In 
looking at the code-
/*
             * The altitude should be set to a certain position too. This can be
             * done by using location.getAltitude() TODO first think of all
             * consequences!
             */
            final double altMet = 0;// location.getAltitude(); TODO
And-

    private void updateCamera(double latDistMet, double longDistMet,
            double altDistMet) {
        // myCamera.setNewPosition((float) latDistMet, (float) longDistMet,
        // (float) altDistMet);
        myCamera.setNewPosition((float) latDistMet, (float) longDistMet, 0);
    }

I see you are setting the altitude to zero(0) in purpose.

Any idea when this will get implemented?  Or am I just looking in the wrong 
spot?

Thanks
Palmer


Original issue reported on code.google.com by [email protected] on 11 Oct 2011 at 12:58

Using JDK 1.5

Hi!

I'm trying to use your engine (by the way, nice work), but I've founded may 
errors when I import your code due to the @Override tag, you are using JDK 1.5, 
aren't you? because if you use 1.6 the tag "@Override" produce many errors :(

Original issue reported on code.google.com by [email protected] on 15 May 2011 at 10:35

Rotation of images in coordinate plane obscures them

I'm trying to display images at various GPS locations using GeoObj. The problem 
is that some images get thinned down, since they are along the axis. Because of 
this, it's hard to see them.
I also don't want images which are further away to be smaller.
Can you point me to where in your code do you rotate and resize the images so I 
can remove it, or is this just a feature of GL?

Also, I wanted to add text under the image to show how far away the object was, 
which should update as you move closer to the object. Any hints on how to do 
this?

Thanks a lot.

Original issue reported on code.google.com by [email protected] on 1 Apr 2012 at 5:16

Loading external 3d Objects

Hi, i've tried your new demo for loading external 3d objects using the tutorial 
video (multiple times actually) but it just won't work. It doesn't seem to want 
to load the texture and the 3d objects even with the unmodified example. i've 
tried modifying and setting different path types but with no success. Is this 
an issue or is it something wrong with my environment? If you need more details 
i'll provide them happily.


Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 12:42

Colorpicking on HTC Hero

Color picking does not work on the HTC Hero eg. Check color order and adapt 
auto fixing method in ColorPicker

Original issue reported on code.google.com by simon.heinen on 9 Jul 2011 at 9:33

TwitterSetup Example

Has anyone done a TwitterFeed Setup?  And is willing to share an example?

We are looking to feed a world from a GeoLocated Twitter Feed.  Having the 
Lat/Long info, we want to display the feed in real time to a droidar world.  
Then letting the user click on the drawable, taking them to the actual tweet in 
the browser(or whatever intent).





Original issue reported on code.google.com by [email protected] on 28 Sep 2011 at 10:52

ModelLoaderAdapters - crashes when model selected

What steps will reproduce the problem?
---------------------------------------
1. Install ModelLoaderAdapters from Eclipse
2. Select one of the models
3. The AR view starts - click the icon on top-left to cancel accuracy-detection 
- click on prompt to cancel accuracy-detection
4. Red screen with error log appears

What is the expected output? What do you see instead?
---------------------------------------
Expected to see the model (robot, head etc.) - instead I see a red-screen with 
an error

Following is part of the log from Eclipse:

03-18 19:18:16.595: D/ActionWaitForAccuracy(2682): Required accuracy was 
reached!
03-18 19:18:16.675: D/MeshComp(2682): Enabling picking for: Shape 
gl.scenegraph.Shape@40582ac0
03-18 19:18:16.675: V/MeshComp(2682):    > Sending 
(r:0.8023216,g:0.83700716,b:0.3781279,a:1.0) to ColorPicker
03-18 19:18:16.675: V/Object Picker(2682):    > New Color byte[]: {-52, -43, 
96, -1}
03-18 19:18:16.685: V/Object Picker(2682):    > New Color key: -52-4396
03-18 19:18:16.685: V/MeshComp(2682):    > 
myPickColor=(r:0.8023216,g:0.83700716,b:0.3781279,a:1.0)
03-18 19:18:16.685: V/World(2682): Adding worldData.Obj@4056cfa0 to 
worldData.World@4053a448
03-18 19:18:16.705: W/dalvikvm(2682): Exception 
Ljava/lang/UnsatisfiedLinkError; thrown while initializing 
Lcom/badlogic/gdx/backends/android/AndroidApplication;
03-18 19:18:16.705: D/AndroidRuntime(2682): Shutting down VM
03-18 19:18:16.715: W/dalvikvm(2682): threadid=1: thread exiting with uncaught 
exception (group=0x4001d5a0)
03-18 19:18:16.715: E/ErrorHandler(2682): A wild 'Uncaught exeption' appeares!
03-18 19:18:16.715: W/System.err(2682): java.lang.ExceptionInInitializerError
03-18 19:18:16.715: W/System.err(2682):     at 
de.rwth.GDXConnection.<init>(GDXConnection.java:28)
03-18 19:18:16.725: W/System.err(2682):     at 
de.rwth.GDXConnection.init(GDXConnection.java:236)
03-18 19:18:16.725: W/System.err(2682):     at 
de.rwth.ModelLoaderSetup.addObjectsTo(ModelLoaderSetup.java:77)
03-18 19:18:16.725: W/System.err(2682):     at 
system.DefaultARSetup.callAddObjectsToWorldIfNotCalledAlready(DefaultARSetup.jav
a:117)
03-18 19:18:16.725: W/System.err(2682):     at 
system.DefaultARSetup$1.minAccuracyReachedFirstTime(DefaultARSetup.java:106)
03-18 19:18:16.725: W/System.err(2682):     at 
actions.ActionWaitForAccuracy.callFirstTimeAccReachedIfNotYetCalled(ActionWaitFo
rAccuracy.java:98)
03-18 19:18:16.735: W/System.err(2682):     at 
actions.ActionWaitForAccuracy.access$3(ActionWaitForAccuracy.java:94)
03-18 19:18:16.735: W/System.err(2682):     at 
actions.ActionWaitForAccuracy$3.onClick(ActionWaitForAccuracy.java:165)
03-18 19:18:16.735: W/System.err(2682):     at 
android.view.View.performClick(View.java:2533)
03-18 19:18:16.735: W/System.err(2682):     at 
android.view.View$PerformClick.run(View.java:9320)
03-18 19:18:16.735: W/System.err(2682):     at 
android.os.Handler.handleCallback(Handler.java:587)
03-18 19:18:16.735: W/System.err(2682):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-18 19:18:16.735: W/System.err(2682):     at 
android.os.Looper.loop(Looper.java:150)
03-18 19:18:16.735: W/System.err(2682):     at 
android.app.ActivityThread.main(ActivityThread.java:4385)
03-18 19:18:16.735: W/System.err(2682):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-18 19:18:16.735: W/System.err(2682):     at 
java.lang.reflect.Method.invoke(Method.java:507)
03-18 19:18:16.735: W/System.err(2682):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
03-18 19:18:16.735: W/System.err(2682):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
03-18 19:18:16.735: W/System.err(2682):     at 
dalvik.system.NativeStart.main(Native Method)
03-18 19:18:16.745: W/System.err(2682): Caused by: 
java.lang.UnsatisfiedLinkError: Couldn't load gdx: findLibrary returned null
03-18 19:18:16.745: W/System.err(2682):     at 
java.lang.Runtime.loadLibrary(Runtime.java:429)
03-18 19:18:16.745: W/System.err(2682):     at 
java.lang.System.loadLibrary(System.java:554)
03-18 19:18:16.745: W/System.err(2682):     at 
com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:116)
03-18 19:18:16.745: W/System.err(2682):     at 
com.badlogic.gdx.backends.android.AndroidApplication.<clinit>(AndroidApplication
.java:59)
03-18 19:18:16.755: W/System.err(2682):     ... 19 more
03-18 19:18:16.755: E/ErrorHandler(2682): Starting error activity
03-18 19:18:16.795: D/dalvikvm(2682): GC_CONCURRENT freed 223K, 45% free 
3118K/5639K, external 28K/512K, paused 3ms+10ms
03-18 19:18:16.795: E/ErrorHandler(2682): Starting from 
system.ArActivity@4053c4a8 to class system.ErrorHandler
03-18 19:18:16.815: D/Process(2682): killProcess, pid=2682
03-18 19:18:16.815: D/Process(2682): 
dalvik.system.VMStack.getThreadStackTrace(Native Method)
03-18 19:18:16.815: D/Process(2682): 
java.lang.Thread.getStackTrace(Thread.java:745)
03-18 19:18:16.815: D/Process(2682): 
android.os.Process.killProcess(Process.java:797)
03-18 19:18:16.815: D/Process(2682): 
system.ErrorHandler.showErrorActivity(ErrorHandler.java:237)
03-18 19:18:16.815: D/Process(2682): 
system.ErrorHandler.uncaughtException(ErrorHandler.java:345)
03-18 19:18:16.815: D/Process(2682): 
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
03-18 19:18:16.815: D/Process(2682): 
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
03-18 19:18:16.815: D/Process(2682): dalvik.system.NativeStart.main(Native 
Method)


What version of the product are you using? On what operating system?
-------------------------------------------------------------------
1. Checked out or updated-to-HEAD latest (Mar 18, 2012) versions of:

trunk/droidar/DroidAR
trunk/extensions/model-loaders/model-loaders
trunk/gdx (and all dependent gdx dependecies)

2. Using Eclipse Version: Indigo Service Release 1 - Build id: 20110916-0149

3. HTC Desire HD with Android 2.3.5

4. Windows 7, Java 1.6

Please provide any additional information below.
-------------------------------------------------------------------
Tried the same thing yesterday - but model would not load - only a grey circle 
shape would appear but the model and texture gave a "not found" error - today 
model-loading functionality itself crashed...

Original issue reported on code.google.com by [email protected] on 18 Mar 2012 at 2:27

load 3d obj to the MultiMarket project

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Hi,
my project contain the multimarker project and the modelLoaderAdapter, i can 
load the 3d obj, but i can't use them on the Marker project, i get null 
MeshComp all the time. what am i doing wrong?

Original issue reported on code.google.com by [email protected] on 20 Aug 2012 at 10:55

Not able to see the java doc

I have downloaded the svn project and added to my app as a library . I am not 
able to see the documentation for the apis. How can i get the javadoc for the 
droidar project.




Original issue reported on code.google.com by [email protected] on 21 Aug 2012 at 6:32

Was it tested with Eclipse Indigo? jdk 64 bit is supported?

What steps will reproduce the problem?
1. Try to use DroidAr with Eclipse Indigo and 64-bit JDK.
2. Try to follow the youtube droidAr tutorial.
3. There is no way to 'Add SVN repository'

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Windows 7, Eclipse Indigo 3.7.0, jdk 7 64-bit.

Please provide any additional information below.
I know it's not a DroidAR problem, but I'd like to know if it's possible to use 
with Eclipse Indigo, even if it's in 32 bit mode. Also, if JDK 64 bit is 
supported. 

If it's mandatory for DroidAR to use older version of Eclipse, it would save 
time to developers to know this in advance, same with JDK 64 bit.

Thanks in advance for the info. 
Best regards.


Original issue reported on code.google.com by [email protected] on 10 Oct 2011 at 12:35

Attachments:

How to avoid camera apect ratio issue

Hi all,

I currently testing the DroidAR lib, however I've got an issue with the camera 
aspect ratio:

When moving the phone I can see the aspect ratio changing and the video feed 
seems to be stretched. Is there anyway to lock the orientation maybe in order 
to avoid this behavior?

Thanks for the great work.

Hidden


Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 11:26

Check if camera is available before using it

Find way to avoid:

java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.<init>(Camera.java:258)
at android.hardware.Camera.open(Camera.java:235)
at system.CameraView.surfaceCreated(CameraView.java:39)
at android.view.SurfaceView.updateWindow(SurfaceView.java:543)
at android.view.SurfaceView.dispatchDraw(SurfaceView.java:348)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6883)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at android.view.ViewGroup.drawChild(ViewGroup.java:1646)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6883)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:186
2)
at android.view.ViewRoot.draw(ViewRoot.java:1522)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1258)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)


Original issue reported on code.google.com by simon.heinen on 1 Sep 2011 at 10:01

How to make constant object size

Hi all,

I'm currently trying to make some "droidar object" based on location of real 
object. Is it possible to make constant "droidar object" size? because when the 
distance of my object from become more far then my object become more small.


I try to read the code but may I'm little bit lost :s
I think there is a simply way to do this.

Thanks for your answer.

Original issue reported on code.google.com by [email protected] on 24 May 2012 at 5:11

  • Merged into: #34

problem visualizing graphics "sometimes" (even in the library demo program)

What steps will reproduce the problem?
1. Execute ANY program using droidar (even the test program on library)
2. only shows the buttons at bottom (if any)
3. Re Execute the program several times. 
4. it finally shows graphics. 

What is the expected output? What do you see instead?
I expected to see the graphics in the world but I only see the buttons at 
bottom (if any)

What version of the product are you using? On what operating system?
I compile the last source code, I'm running it in android 2.1-samsung galaxy 
S-not rooted

Please provide any additional information below.
*the problem is present even if I the objects aren't in movement (so it's not 
that I don't see them, its just they aren't)
*I think the problem may be because of lack of memory, but i'm not sure.
*The library app shows that my phone pass all test
*There is just one case where the app always works fine, it's the collecting 
items setup

pS: very good work, finnally some library that really understand what AR is all 
about

Original issue reported on code.google.com by [email protected] on 18 May 2011 at 12:01

MultiMarkerSetup

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
Hi, 
When i use the MultiMarker setup, when he recognize the Marker he put the obj 
on the Marker but when i remove the marker, the obj stays in the world. i tried 
to clear the world in the method onUnrecognizedMarkerDetected, but it didn't 
work. 
how can i do it?

Original issue reported on code.google.com by [email protected] on 24 Jul 2012 at 9:20

Saving 3d image

Hello Sir,

I've loaded 3d object following your tutorial.. Can you please help me out in 
saving coordinates of that 3d image...So that if I want to reopen the 3d image, 
it shows on the same previous position..

Thanks...

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 6:39

Screenshot?

Hi all,

I'm currently trying to add a screen-shot function to DroidAR. However I only 
have a black image.

I added my code in the onDrawFrame function but it's maybe not the right 
location for it.

Please find enclosed, my GLRenderer.java override. I know that the call to this 
feature is working because I can get an image (but a black...).

Thanks,

Hidden

Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 1:52

Attachments:

how do I use CommandShowInfoScreen to display some info on the screen?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I want to display 3-4 lines of brief info when clicking on a POI in my AR view. 
 how do I do this using CommandShowInfoScreen?

What version of the product are you using? On what operating system?
current version with eclipse on mac

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Jul 2011 at 4:00

How to add object by angle

Hello
    From Issues 11 now I want to add textObj on ar world but Vec(...) is hard to me.
In this case.I try to put object to my left hand side. I change x,y,z value but 
it not work.
I look up for some function like 
"world.add(objectFactory.newTextObject("test3", new Vec(distanceToObj,angle,0), 
MainActivity.this,getCamera()));"
     can you help me again. thank...




Original issue reported on code.google.com by [email protected] on 6 Sep 2011 at 4:39

Shape not face camera

What steps will reproduce the problem?
1. object Shape cannot face to camera

What is the expected output? What do you see instead?
object shape still not facing camera though I already addChild(new 
AnimationFaceToCamera(glCamera,0.5f)); or addAnimation(new 
AnimationFaceToCamera(glCamera));

Please provide any additional information below.
I want to make the object Square face to camera.


thx

Original issue reported on code.google.com by [email protected] on 19 Jul 2012 at 7:29

Does droid AR support showing route map

I want to show route map based on AR from current location to a specific 
location.  Is this possible with droidAR . Is there any example illustrating 
similar requirement.

Thanks in advance for the support


Original issue reported on code.google.com by [email protected] on 22 Aug 2012 at 11:59

Override droidar geolocation

Hi, I want to know where I can find DroidAR geolocation code so I can take a 
look and understand how it works. Besides, I'd like to know if this code can be 
overriden by a custom class or method. If so, how should I do it? Is it 
possible to toggle DroidAr's location on and off? How?

I'd also like to know if it's possible to override the default layout that 
DroidAR offers with a custom one.

Thanks in advance.




Original issue reported on code.google.com by [email protected] on 1 Jun 2012 at 6:47

GPS recognition

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?

Please provide any additional information below.
Hi,
I'm trying to put GeoObj on a specific GPS location, but only when the user is 
in this location and remove it when the user is no longer in this location.
the problem is that i get the object on the specific GPS location, but then he 
stays on the layout.
what can i do?


Original issue reported on code.google.com by [email protected] on 18 Jun 2012 at 5:29

GPS stays on (no way to remove listener?)

What steps will reproduce the problem?
1. Created an own Setup-Class which extends Setup
2. Using ArActivity with an instance of the custom Setup-Class
3. Starting the Application, going to the ArActivity, switching back to another 
activity.

What is the expected output? What do you see instead?
The location updates should be turned off and the GPS module should turn off as 
well.

What version of the product are you using? On what operating system?
Current version, Android 2.2.1

Please provide any additional information below.
I can't see a way to turn off the location updates by hand. The event manager 
should recognize when there isn't any listener left and should tell the 
LocationManager to turn off updates.

Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 11:18

tutorial doesn't work

What steps will reproduce the problem?
1. follow tutorial on youtube "How to use the DroidAR framework in your own 
application"
2. app run fine but no solar system
3. note: my method addObjectTo has 'renderer' parameter like below
public void addObjectsTo(GLRenderer renderer, World world,
                            GLFactory objectFactory)
but on tutorial doesn't.

What is the expected output? What do you see instead?
get camera view but no solar system

What version of the product are you using? On what operating system?
nexus s ,android 2.3.4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Aug 2011 at 8:00

Error when clean project

i'm beginer!
I see clip: How to use the DroidAR framework in your own application
when i clean project then error like picture in attach file.
Help me !

Original issue reported on code.google.com by [email protected] on 16 Oct 2011 at 8:39

Attachments:

How to draw some text with position ?

Hello.

From this video
http://www.youtube.com/watch?v=MFbEvkWJOV0&feature=player_embedded

I want to add text to ar word , I look for some function like


    world.add(objectFactory.newTextobj("text Input",new Vec(10, 0, 0)));

How I can do it?

help me please..

                                             Thank you..


Original issue reported on code.google.com by [email protected] on 4 Sep 2011 at 4:50

How to draw a 2d image

Hi!

I would like to draw a simple 2D images to with droidar engine, but I don't 
know how to do that, could you help me please?

Thanks and good job!

Original issue reported on code.google.com by [email protected] on 4 Jun 2011 at 10:23

Cannot build Project "MarkerDemos"

What steps will reproduce the problem?
1. new Eclipse Workspace -> add Projects to Workspace -> [DroidAr, ArMarker, 
MarkerDemo]
2. check libary links and correct them if nessesary
3. click on Eclipse's "run MarkerDemos" 

What is the expected output? What do you see instead?
should install and run the App MarkerDemos, but getting an Exception on start:

------------------------------------------------
04-03 16:03:07.762: E/AndroidRuntime(1752): 
java.lang.ExceptionInInitializerError
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
markerDetection.MarkerDetectionSetup.<init>(MarkerDetectionSetup.java:53)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
de.rwth.MultiMarkerSetup.<init>(MultiMarkerSetup.java:28)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
de.rwth.Main.onCreate(Main.java:26)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2717)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.access$2500(ActivityThread.java:129)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2117)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.os.Looper.loop(Looper.java:143)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.main(ActivityThread.java:4717)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.reflect.Method.invokeNative(Native Method)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.reflect.Method.invoke(Method.java:521)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
dalvik.system.NativeStart.main(Native Method)
04-03 16:03:07.762: E/AndroidRuntime(1752): Caused by: 
java.lang.UnsatisfiedLinkError: Library opencv not found
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.Runtime.loadLibrary(Runtime.java:461)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.System.loadLibrary(System.java:557)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
nativeLib.NativeLib.<clinit>(NativeLib.java:55)
---------------------------------------------

What version of the product are you using? On what operating system?
latest Version (r304) Xubuntu 11.10

Please provide any additional information below.
I tried on 3 Different Phones:
Samsung Nexus S
Motorola Droid
Htc Wildfire
with the exact same Exception

Original issue reported on code.google.com by [email protected] on 3 Apr 2012 at 1:59

How to display Grid or Bitmap in BBox around the user

Hi!
As the topic sais, i am trying to display raster data on a certain BoundingBox 
around the user position.
The raster data is a result of an interpolation with green-red color gradient.
The user should find himself "standing" on this raster data, hope you know what 
I mean...
With the newGrid method I was able to get this effect, by setting the camera 
perspective to Vec(0,0,1). 
But I see no way to fill the faces inside the Grid, cause they are just lines...
Unfortunately I am not able to get the Textured2dShape with my Bitmap to the 
same effect as the grid (lying on the floor).

Can you tell me how this could be possible?
Also if its possible to scale the Bitmap to certain BBox?

Thanks alot!

Original issue reported on code.google.com by [email protected] on 5 Oct 2011 at 10:29

TexturedSquare bug

What steps will reproduce the problem?
1. creating a texturedsquare with a bitmap with the glfactory.
2. adding it to the world.

What is the expected output? What do you see instead?
A square. a triangle.

What version of the product are you using? On what operating system?
260 DroidAr, 243 ARMarker

Please provide any additional information below.
-

Original issue reported on code.google.com by [email protected] on 9 Feb 2012 at 7:38

NPE on Unable to start activity ComponentInfo since r252

What steps will reproduce the problem?
1. moved from r230 to r252
2. I extend the FarAwayPOIScenarioSetup and call it, for instance, MyOwnSetup
3. then instantiate like this ArActivity.startWithSetup(MainMenu.this, new 
MyOwnSetup()); 

What is the expected output? What do you see instead?
launch of the ARActivity is expected, I get NPE instead:
java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.example.ctfar/system.ErrorHandler}: 
java.lang.NullPointerException

What version of the product are you using? On what operating system?
currently r253

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Jan 2012 at 7:27

Attachments:

How to make the MeshComponent to face camera without animation?

What steps will reproduce the problem?

What is the expected output? 
MeshComponent face the camera without animation

What do you see instead?
the MeshComponent face the camera with animation

What version of the product are you using? On what operating system?


Please provide any additional information below.
I just want to know how to make the MeshComponent to face camera without 
animation. (without AnimationFaceToCamera)

Original issue reported on code.google.com by [email protected] on 22 Jul 2012 at 3:14

Use GL View using xml layouts

Hi!

I think that if you want to use the xml layout, you should add this constructor 
to the CustomGLSurfaceView class, if no it will not compile


public CustomGLSurfaceView(Context context, AttributeSet attrs) {
        super(context, attrs);
        if (DEBUG_OUTPUT_ENABLED) {
            // Turn on error-checking and logging
            setDebugFlags(DEBUG_CHECK_GL_ERROR | DEBUG_LOG_GL_CALLS);
        }
        this.setFocusableInTouchMode(true);
        myGestureDetector = new GestureDetector(context,
                new CustomGestureListener(this));
    }

Original issue reported on code.google.com by [email protected] on 15 May 2011 at 12:20

Cannot see solar system on Desire HD

What steps will reproduce the problem?
-----------------------------------------------------
1. Followed tutorial "How to use the DroidAR framework in your own application" 
here: http://www.youtube.com/watch?v=MFbEvkWJOV0&feature=related

What is the expected output? What do you see instead?
-----------------------------------------------------
The app loads successfully and shows me a button
Clicking the button should show a solar system - instead I just see the regular 
camera video output - and there is a graphic if I point the camera down - it's 
a thin angled line that is green on one end and red on the other end

What version of the product are you using? On what operating system?
-----------------------------------------------------

2. Used:
  a. Eclipse Indigo Service Release 1
  b. JDK jdk1.6.0_29 (32-bit) on Windows 7
  c. DroidAR, droidArDemo (test project) with "compiler compliance level = 6"
  d. Built against Google API 1.6

3. Running on Desire HD running Android 2.3.3

Please provide any additional information below.

Project is attached here - also I've seen this 
(http://code.google.com/p/droidar/issues/detail?id=9&can=1&q=not) - the solar 
system is not behind me

Original issue reported on code.google.com by [email protected] on 26 Jan 2012 at 10:50

Attachments:

Display 2D images/text and real time refresh

Hey !

I would like to implement some information view like you can see in AR 
application like wikitude where you see the far POI and a information display 
in 2D rectangle which is no affect by distance in real world (ie rectangle 
keeps his aspect).

You can see in this image.

http://media.smashingmagazine.com/wp-content/uploads/images/first-person-user-in
terface/wikitude.jpg

I am not  comfortable with all opengl stuff so what i have done : (GLText is a 
bit simple for what I want to do)

- Make a FrameLayout add TextView in it.
- Use util.IO.loadBitmapFromView to get bitmap of FrameLayout
- Make a mesh with newTexturedSquare and the bitmap
- Then use this mesh

But I need to refresh the text.

What I will to do ?

- Delete mesh
- Remake a mesh with new text

But I don't know if it is optimal, I think not.

Do you have hints to do what I want to do ?

Actually I need to do farAwayObject effect but with the refresh of text.

Thank you.

PP.

Original issue reported on code.google.com by [email protected] on 23 May 2012 at 5:17

Not able to add title text to the spawned object

When spawning an object , i wanted to show an image for the object along with a 
title. I tried calling spawnobject as below
Bitmap icon = 
BitmapFactory.decodeResource(getApplicationContext().getResources(),
                        R.drawable.myimage);
                spawnObj(poi, GLFactory.getInstance().newTexturedSquare("MYIcon",icon,5));

This will place the "icon" when object is spawned . But do not showany text . I 
expect "MYIcon" text also displayed along with the icon.

Can you please look in to this issue and please give a solution.

I am using real device with android version 2.3.5


Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 7:32

suggestion for the text

What steps will reproduce the problem?
GLtext or GLFactory.getInstance().newTextObject not show the expected text 
perfectly. sometimes the text displayed only half.

Please provide any additional information below.
I suggest to combine the droidar with Android CBFG BFF Loader 
(http://www.codehead.co.uk/cbfg/ ---> OpenGL ES port of render code for 
Android: http://www.codehead.co.uk/blog/?cat=5)

thx

Original issue reported on code.google.com by [email protected] on 27 Jun 2012 at 11:54

Camera orientation

Hi,

First thank you for your work, it really nice framework.

I want to use DroidAR in portrait mode so I change the flag in manifest.xml but 
it changed only the gui overlay view. In portrait mode it's like camera is 
rotated by 90 counter clockwise . I try to read the code but I a bit lost :s

I think there is a simply way to do this.

Thank you for you answer.

PP.

Original issue reported on code.google.com by [email protected] on 22 May 2012 at 5:18

ARGo example source code

I had some questions about the ARGo sample project. I wanted to create an app 
that combines two ideas from these to videos

http://youtu.be/brlNkKmw8IY
http://youtu.be/fEd0HORzStQ

I want to create an app that will allow arrows(instead of hexagons) to 
represent different locations. So when users click on the arrows, a simple 
alert dialog box will appear that will allow users to get more information 
about the location.

1)I was wondering if there is any sample source code of the ARGo.apk that I can 
look at to get an idea of how it works? Which setup do you recommend for this 
type of project?

2)If wanted to overlay a simple dialog box similar to the one in the ARGo 
example, should I use the DroidAR framework or should I use a surfaceview on 
top of a camera preview window?

Thanks


Original issue reported on code.google.com by [email protected] on 12 Apr 2012 at 5:33

following "How to use framework in your own application" just seeing two green and red lines

What steps will reproduce the problem?
1. following the video
2. running the app
3.

What is the expected output? What do you see instead?
should see a solar system as the video shows , I see two green and red lines 

What version of the product are you using? On what operating system?
windows 7 64bit

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Mar 2012 at 2:06

How to run a new activity from a setup

What steps will reproduce the problem?
1. Trying to launch a new activity from a setup by pressing on an object 


What is the expected output? What do you see instead?

I want to launch a new activity from a setup by clicking on an object. I've 
created a new Command and within the execute tried to launch a startActivity 
but I allways have a null pointer exception error when trying to launch an 
intent with startActivity. I've extended the Setup class with Activity so I 
could be able to do that, any sugestions on how to do that? 

What version of the product are you using? On what operating system?
Latest version on Windows 7.

Please provide any additional information below.

I know this isn't really an issue, but I've been trying to achieve this for 
some time without any success, if you could help me I'd be most appreciated!

Original issue reported on code.google.com by [email protected] on 6 Feb 2012 at 3:24

Add my own view to the overlay

What steps will reproduce the problem?
I implemented the "_e1_addElementsToOverlay" method in my own setup class, and 
I want to draw a rectangle on the screen in my view instance. 

Here is the code:
public void _e1_addElementsToOverlay( FrameLayout overlayView, Activity 
activity ) {

        overlayView.addView( new FrontSightView( activity ) );
        super._e1_addElementsToOverlay( overlayView, activity );
    }

The FrontSightView works fine in a normal Android activity. However, it does 
nothing in the ar case. Do you have any clue?
Thanks a million!

Original issue reported on code.google.com by [email protected] on 23 Oct 2011 at 2:21

Cannot build actual revision 167

What steps will reproduce the problem?

1. Checkout of Droidar Project like told in tutorial video
2. Clean Project like told in video
3. Build Project


What is the expected output? What do you see instead?
I expected, that the project would be build normally after cleaning it like in 
the tutorial video, but it doesn't. Instead I'm getting about 256 error items, 
which seems all to have a problem with the @override annotation. I can't use 
droidar as a library, if the droidar project can't be built.

For example: 
Description Resource    Path    Location    Type
The method getView(Context) of type DoubleModifier must override a superclass 
method  DoubleModifier.java /DroidAR/src/gui/simpleUI/modifiers line 24 Java 
Problem


What version of the product are you using? On what operating system?

Latest Revision of DroidAR (167) out of the trunk folder. Eclipse Indigo and 
latest android-sdk. Windows Vista 32 bit.


Please provide any additional information below.

The Attached Picture shows a litttle bit of the errors.

Original issue reported on code.google.com by [email protected] on 25 Oct 2011 at 8:41

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.