Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 2-Sep-2016 13:44:01

HKai
Member
Registered: 2-Sep-2016
Posts: 7

Android AR_Program problem

Hello,
I am starting to use OoenSpace3d. I tried to create an android app. I follow the steps in the youtube video. If I transfer and install the app, I can start the app. But if the camera recognize the pattern, the picture freezes. What is the problem, that I can not see the dragon and what is the standard key to stop the app.

Offline

#2 2-Sep-2016 16:47:46

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Android AR_Program problem

Hello,

there is no key to close the app, you can define one using the keyboard and close plugit.
otherwise you can just kill the app in the window manager.

what is your phone model and processor ?
can you send me your apk file so I could check what's wrong and correct the issue if I can reproduce it.

Offline

#3 2-Sep-2016 21:48:20

HKai
Member
Registered: 2-Sep-2016
Posts: 7

Re: Android AR_Program problem

Hello,
the processor is an ARMv7 rev 0, Android 4.4.2, Galaxy Tab.
But I don't know how to send the apk-file to you.

Last edited by HKai (2-Sep-2016 21:51:29)

Offline

#4 2-Sep-2016 22:04:53

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Android AR_Program problem

when you export for android and click ok at the end. the export directory open.
you can find the apk file in the bin directory.

galaxy tab is not really efficient with it's camera but it should work.
the possible issue can be the 3D model you use or it's materials.

Offline

#5 3-Sep-2016 09:05:35

HKai
Member
Registered: 2-Sep-2016
Posts: 7

Re: Android AR_Program problem

Hallo arkeon,
I find the file, but I don't find an attachment button in the e-mail or reply section.
I use the drageon from the example in the youtube video.

Offline

#6 3-Sep-2016 11:22:42

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Android AR_Program problem

Hi,
email is under the pseudonym.

Offline

#7 3-Sep-2016 11:45:41

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Android AR_Program problem

can you test on another device ?

Offline

#8 3-Sep-2016 16:32:10

HKai
Member
Registered: 2-Sep-2016
Posts: 7

Re: Android AR_Program problem

Hello,
I checked the program with another device. My smartphone: processor AArch64 rev 4, OS 6.0.1, Galaxy S5 neo, but I have the same problem. The programm only runs on my PC.

Offline

#9 3-Sep-2016 20:48:34

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Android AR_Program problem

please replace the material file content by this

material "edaphosaurus_mat"
{
	technique edaphosaurus_mat_basic_technique
	{
	scheme basic_mat
		pass edaphosaurus_mat_standard
		{
			ambient 1 1 1 1
			diffuse 1 1 1 1
			specular 0 0 0 0 25.5
			emissive 0 0 0 1

			texture_unit edaphosaurus_mat_Diffuse#3
			{
				texture assets/models/library/primitive_world/edaphosaurus/Edaphosaurus_01.jpg
				tex_coord_set 0
				colour_op modulate
			}
		}
	}
}

I was sure I had corrected all the library materials but it seems I miss some of them hmm

Offline

#10 4-Sep-2016 12:25:24

HKai
Member
Registered: 2-Sep-2016
Posts: 7

Re: Android AR_Program problem

Hello arkeon,
now all works very well on both devices.
Now I have an additional question. What is the best resolution and number of bits for marker pictures.

Thank you very much

Offline

#11 4-Sep-2016 13:58:15

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Android AR_Program problem

it all depends of the image you want to track.

I usually set a 640px width marker for fast training and good tracking.

Offline

Board footer

Powered by FluxBB