pawelrutkow / andar

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

AndAR model viewer doesnt show any model - only camera works #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. launch app
2. select model
3. camera starts but no model on marker

What is the expected output? What do you see instead?
to see some 3d rendering, none of that

What version of the product are you using? On what operating system?
AndAR version - nowhere to be found easily in the main application :-(

Android 3.0.1  ( On Motorola XOOM Tablet)

Please provide any additional information below.

AndAR works great by its self, however the model viewer does not even with the 
same markers and lighting.

Could some more options please be added for more control over the application? 
like sensitivity settings for identifying the markers.
and it would be very nice to have some control over the camera (at least 
brightness/contrast).

Thanks you for bringing to life an awesome concept. once perfected i will use 
this daily!!!

Original issue reported on code.google.com by Grant.Ol...@gmail.com on 22 Mar 2011 at 7:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The same is true for the Acer A500 tablet running 3.0.1.

Original comment by cain.n...@gmail.com on 16 Jun 2011 at 6:34

GoogleCodeExporter commented 8 years ago
Same for me. I'd love to see this work on Honeycomb. Thanks.

Original comment by bake...@2college.nl on 24 Jun 2011 at 1:04

GoogleCodeExporter commented 8 years ago
the same in asus eee pad transformer running android 3.1

Original comment by rd...@iuma.ulpgc.es on 20 Jul 2011 at 12:13

GoogleCodeExporter commented 8 years ago
Same for lenovo tab k1 with android 3.1

Original comment by goodhard...@yahoo.com on 30 Oct 2011 at 12:25

GoogleCodeExporter commented 8 years ago
Same for Samsung Galaxy Tab 10.0 (Honeycomb 3.1)

Original comment by micheled...@gmail.com on 31 Oct 2011 at 5:09

GoogleCodeExporter commented 8 years ago
I've made some test about. Seems that the Artoolkit class, in the 
DetectMarkerWorker thread, always reports a value of currNumMakers=0.
So no markers are detected even if the camera correctly is viewing a marker.

Original comment by micheled...@gmail.com on 11 Nov 2011 at 6:36

GoogleCodeExporter commented 8 years ago
SO can this be coded to work around this?

My Galaxy Tab 10.1 3.1 just stares at the target...no models ever.

Original comment by rbbrown1...@gmail.com on 17 Nov 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Asus Eee Pad Transformer, same here but with a funny outcome... if I take a 
snapshot, surprise surprise... the model suddenly appears in the shot, but 
still no live rendering of any model.... any comments about it?
Running the new OTA released version of Android 4.0.3 and still no luck on the 
subject...

Original comment by danazkari on 24 Feb 2012 at 9:34

GoogleCodeExporter commented 8 years ago
I have the same problem too. Using Samsung galaxy tab. It is able to show the 
model during first time startup of the application. After press Home button and 
go to Application again. Model is not shown on top of marker. When take 
screenshot, model appears!!!

Original comment by shadyso...@gmail.com on 3 May 2012 at 11:03

GoogleCodeExporter commented 8 years ago
I had the same problem when using a Motorola Xoom tablet, although, it worked 
perfectly on two phones, a Samsung Galaxy 5 and an HTC phone(not sure about 
what model).

What I noticed is that, using the tablet, when the application first starts, it 
reads the model(sometimes not even the first time), but when the activity is 
changed and then changed back to the camera mode, it doesn't work, ever.

Original comment by fiel...@gmail.com on 29 Jun 2012 at 3:31

GoogleCodeExporter commented 8 years ago
Same here... Asus eee pad transformer prime.

I realized that I do not see the model but when I press the "back" button the 
model appears for less than a second and then I go to the "select model" screen.

Snapchots do show the model though (like other people here).

No response or solution yet?

Original comment by pablolic...@gmail.com on 26 Jul 2012 at 7:47

GoogleCodeExporter commented 8 years ago
If you use the tablet in vertical mode it works! you see the model there!

ASUS PRIME TRANSFORMER 

Original comment by pablolic...@gmail.com on 3 Aug 2012 at 7:34

GoogleCodeExporter commented 8 years ago
A glare of hope! Thank you very VERY much!!!

Original comment by danazkari on 3 Aug 2012 at 7:36

GoogleCodeExporter commented 8 years ago
That is AMAZING thanks for pointing out what should have been obvious

Original comment by neilwint...@googlemail.com on 4 Aug 2012 at 12:51

GoogleCodeExporter commented 8 years ago
Yes... it finally worked. It will be great to be able to use it on horizontal 
mode also.... but at least we can start experimenting with our models!

glad others got it working also.

Original comment by pablolic...@gmail.com on 4 Aug 2012 at 2:50

GoogleCodeExporter commented 8 years ago
I had the same problem. I will post my fix here in case it may help others or 
shed new light on the problem. 
When I change in AndARActivity.java the OnCreate method by adding after
        frame.addView(glSurfaceView);
        frame.addView(previewSurface);
the following line:
        frame.bringChildToFront(glSurfaceView);
then the model viewer works for me.

Unfortunately however, doing this brakes the AndARSampleProject example.
That example works on the other hand with:
        frame.bringChildToFront(previewSurface);

Another thing I noticed is that setting a break point in the AndARRenderer 
onDrawFrame method will freeze te camera live preview in the 
AndARSampleProject, but not in the AndARModelViewer project.

Original comment by m.geile...@gmail.com on 28 Dec 2013 at 4:13

GoogleCodeExporter commented 8 years ago
"If you use the tablet in vertical mode it works! you see the model there!" 

works for me

that SHOULD BE documented

Original comment by 1911gene...@gmail.com on 19 Mar 2014 at 9:34