Code Monkey home page Code Monkey logo

artoolkit5's People

Contributors

ankurahlawat avatar boisebaked avatar bryant1410 avatar chrisdaqri avatar danielfrreira avatar eonmarcushultman avatar kig avatar lorenzolightsgdwarf avatar mehdi-saber avatar mhamlet avatar nanocell avatar nodrev avatar nyatla avatar philip-lamb avatar southrop avatar steve3d avatar tbfly avatar thorstenbux avatar tik0 avatar tuwuhs avatar ususdei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artoolkit5's Issues

Android activity resume() 3D bug

Issue by norips
Thursday Oct 13, 2016 at 09:14 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/200


Android examples have a bug, in rendering 3D.

Assuming using ARSimpleProj:
When you launch the app for the first time (with uninstalling it before)
The cube is well rendered :
good
When you put in in background and reopen the activity, the 3D is messed up:
bad

This happens when you use this camera resolution : 320x240
Changing the resolution of camera seems to fix the bug.
Can you reproduce it ?
Do you have any idea how can we fix it ?

Thanks 👍

Android example aRNativeOSG, camera image turned 90 deg clockwise

Issue by peterGraf
Saturday May 14, 2016 at 22:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/122


Hello,

I cloned the latest artoolkit5 and compiled the aRNativeOSG Android example and successfully ran it on my Samsung Nexus 10 (Android 5.1.1, API 22).

When I look at the Hiro marker through my tablet, the marker appears turned clockwise by 90 deg.

Once ARToolKit finds the marker I see the three world axis arrows, the X Y Z labels seem to be mirror images of the letters. But the arrows seem to point in the right directions :-),
X right, Y up and Z towards me.

I do not see any other content, looking at the resources of the project I assume one should see some airplane or something?

Any pointers? Is this caused by the fact that the native orientation of the tablet is landscape, while all phones are portrait?

Turning the tablet keeps the image turned by 90 deg.

Android Camera Color Problem

Issue by felangga
Thursday Sep 24, 2015 at 03:12 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/11


I've tested the ARToolkit examples (ARMovie, ARSimple, etc) and found out the camera has a problem with color. You can see the problem in attachment image, the color seems to be green-ish.
Tested on Nexus 5, Lolipop 5.1.1

Taken with default Android Camera
14653

Taken with ARMovie
14648

160 errors compiling x64 release build

Yeah.. not sure what's going with this. Is the project configured for x64 compilation? I need it for Unity x64 runtime.

Severity  Code  Description Project File  Line  Suppression State
Error LNK1181 cannot open input file 'ARgsub.lib' simple  C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error LNK1181 cannot open input file 'ARosg.lib'  simpleOSG C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error LNK1181 cannot open input file 'ARosg.lib'  optical C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error LNK1181 cannot open input file 'ARgsub.lib' mk_patt C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error LNK1181 cannot open input file 'ARosg.lib'  nftBook C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error LNK1181 cannot open input file 'ARosg.lib'  stereo  C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error LNK1181 cannot open input file 'ARgsub.lib' multi C:\Users\Flux\Documents\projects\artx\VisualStudio\vs2017\LINK  1 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 
Warning C4005 'M_PI': macro redefinition  ARWrapper C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math_defines.h 22  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 72  
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 110 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 112 
Error C2065 'INTMAX_MAX': undeclared identifier ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 27  
Error C2338 integer arithmetic overflow ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\ratio 204 
Error C2794 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C2938 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  769 
Error C3203 'duration': unspecialized class template can't be used as a template argument for template parameter '_Duration', expected a real type  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  772 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2061 syntax error: identifier 'rep'  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  200 
Error C2825 '_Duration': must be a class or namespace when followed by '::' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2510 '_Duration': left of '::' must be a class/struct/union  ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2061 syntax error: identifier 'period' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2238 unexpected token(s) preceding ';' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  201 
Error C2338 duration must be an instance of std::duration ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  203 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  777 
Error C2228 left of '.count' must have class/struct/union ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  782 
Error C2440 '<function-style-cast>': cannot convert from '__int64' to 'std::chrono::system_clock::duration' ARWrapper C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\chrono  788 

Migrating to AppCompat Library

Issue by WladimirDLC
Friday Nov 20, 2015 at 22:48 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/22


I am using the Artoolkit in Android Studio, everything works fine with the current examples. But I would like to modify the example activities in order to use Appcompatactivity instead just Activity. In the arBaseLib (which I am using) the AR Activity extends the Activity. When I change this in order to extend Appcompatactivity, the app crashes. I added the dependencies, imports, etc but id does not work. Someone maybe has changed the AR Activity class with this last library without problems?

Android Camera Color Problem

Issue by felangga
Thursday Sep 24, 2015 at 03:12 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/11


I've tested the ARToolkit examples (ARMovie, ARSimple, etc) and found out the camera has a problem with color. You can see the problem in attachment image, the color seems to be green-ish.
Tested on Nexus 5, Lolipop 5.1.1

Taken with default Android Camera
14653

Taken with ARMovie
14648

Android Cameras get skewed when rotating the device (with fixed orientation)

Issue by plattysoft
Wednesday Sep 16, 2015 at 09:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/10


This is a known Android problem, but it does affect ARTookit. It also seems to be device specific.

I can replicate it on a Nexus 7, so here are my findings.

Steps to replicate:

  • Make ARToolkit use a camera preview with a resolution that fills the screen (1920 x 1080)
  • Make the app to be fixed to use landscape (not rotating)
  • Move the device from landscape to portrait (better if you look at a square-like object to notice the problem)

Expected result:

  • The image gets the same

Actual result"

  • The image gets skewed when moving to portrait.

Now. Some of my findings hoping that it helps.
It looks like the camera on the Nexus 7 has a 3:4 aspect ratio. When you make the camera preview of that resolution the skew does not happen (the larger available resolution of that type on the Nexus 7 is 1024 x 768)
What I think happens when you select another resolution is that the camera image gets stretched to fit into the resolution, with the result of the skewing mentioned before.

A possible solution is to get the image preview to be of the largest resolution and then do a scale without skewing to fit the screen, having image drawn outside of the screen, I've tried that and it seems to work.

I haven't find any parameter that tells you what is the real aspect ratio of the camera so we could use only the resolutions that match it or make sure that the containing window is of the right aspect ratio.

On a side note, I believe ARBaseLib should try to get the best resolution for the camera display and fill the screen instead of reading it from preferences.

marker.dat is not read correctly for European convention

Issue by rafaelhdr
Tuesday Jul 21, 2015 at 18:22 GMT
Originally opened as artoolkit/ARToolKit5#3


I was using multiTest example.
When i execute, it does not work, and the error is

Error processing multimarker config file 'Data/multi/marker.dat', marker definition   1: Lines 2 - 4 must be marker transform.

It works when i edit the original file artoolkit/bin/Data/multi/marker.dat, changing dot to comma.

I think it is a locale problem (i am from Brasil, and the convention here is comma for floats, too)

Migrating to AppCompat Library

Issue by WladimirDLC
Friday Nov 20, 2015 at 22:48 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/22


I am using the Artoolkit in Android Studio, everything works fine with the current examples. But I would like to modify the example activities in order to use Appcompatactivity instead just Activity. In the arBaseLib (which I am using) the AR Activity extends the Activity. When I change this in order to extend Appcompatactivity, the app crashes. I added the dependencies, imports, etc but id does not work. Someone maybe has changed the AR Activity class with this last library without problems?

Stereo display not showing when using stereo camera in Unity

Issue by arthurgiroux
Thursday Oct 08, 2015 at 14:52 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/14


Hi,
when using a stereo camera for the tracking and setting the camera to stereo in Unity I don't get any video stream.

It's caused by this line in the function VideoSource::updateTexture:

   // Extra check: don't update the array if the current frame is the same is previous one.
   if (lastFrameStamp == frameStamp) return false;

https://github.com/artoolkit/artoolkit5/blob/master/lib/SRC/ARWrapper/VideoSource.cpp#L197

Indeed when you are in stereo the lastFrameStamp will be updated by the left camera and for the right camera it will fall into this condition.

A quick workaround is to disable this condition when you work in stereo, a cleaner fix will be to either have two variables for each camera or to check that if we are in stereo we only check this condition for the left camera and not the right.

Android Cameras get skewed when rotating the device (with fixed orientation)

Issue by plattysoft
Wednesday Sep 16, 2015 at 09:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/10


This is a known Android problem, but it does affect ARTookit. It also seems to be device specific.

I can replicate it on a Nexus 7, so here are my findings.

Steps to replicate:

  • Make ARToolkit use a camera preview with a resolution that fills the screen (1920 x 1080)
  • Make the app to be fixed to use landscape (not rotating)
  • Move the device from landscape to portrait (better if you look at a square-like object to notice the problem)

Expected result:

  • The image gets the same

Actual result"

  • The image gets skewed when moving to portrait.

Now. Some of my findings hoping that it helps.
It looks like the camera on the Nexus 7 has a 3:4 aspect ratio. When you make the camera preview of that resolution the skew does not happen (the larger available resolution of that type on the Nexus 7 is 1024 x 768)
What I think happens when you select another resolution is that the camera image gets stretched to fit into the resolution, with the result of the skewing mentioned before.

A possible solution is to get the image preview to be of the largest resolution and then do a scale without skewing to fit the screen, having image drawn outside of the screen, I've tried that and it seems to work.

I haven't find any parameter that tells you what is the real aspect ratio of the camera so we could use only the resolutions that match it or make sure that the containing window is of the right aspect ratio.

On a side note, I believe ARBaseLib should try to get the best resolution for the camera display and fill the screen instead of reading it from preferences.

Compile errors with snprintf macro redefinition

Same errors from https://github.com/artoolkit/artoolkit5 as https://github.com/artoolkit/artoolkit5/issues/379

Error	C1189	#error:  Macro definition of snprintf conflicts with Standard Library function declaration	nftBook	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1933	
Warning	C4005	'snprintf': macro redefinition	simpleOSG	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1931	
Error	C1189	#error:  Macro definition of snprintf conflicts with Standard Library function declaration	
simpleOSG	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1933	
Warning	C4005	'snprintf': macro redefinition	nftSimple	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1931	
Error	C1189	#error:  Macro definition of snprintf conflicts with Standard Library function declaration	nftSimple	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1933	
Warning	C4005	'snprintf': macro redefinition	nftBook	C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h	1931	

It appears to be the definition of snprintf in some of these files. Removing them will allow me to compile correctly:

  • simpleOSG.c line 62
  • nftSimple.c line 62
  • nftBook.c line 63

Android Cameras get skewed when rotating the device (with fixed orientation)

Issue by plattysoft
Wednesday Sep 16, 2015 at 09:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/10


This is a known Android problem, but it does affect ARTookit. It also seems to be device specific.

I can replicate it on a Nexus 7, so here are my findings.

Steps to replicate:

  • Make ARToolkit use a camera preview with a resolution that fills the screen (1920 x 1080)
  • Make the app to be fixed to use landscape (not rotating)
  • Move the device from landscape to portrait (better if you look at a square-like object to notice the problem)

Expected result:

  • The image gets the same

Actual result"

  • The image gets skewed when moving to portrait.

Now. Some of my findings hoping that it helps.
It looks like the camera on the Nexus 7 has a 3:4 aspect ratio. When you make the camera preview of that resolution the skew does not happen (the larger available resolution of that type on the Nexus 7 is 1024 x 768)
What I think happens when you select another resolution is that the camera image gets stretched to fit into the resolution, with the result of the skewing mentioned before.

A possible solution is to get the image preview to be of the largest resolution and then do a scale without skewing to fit the screen, having image drawn outside of the screen, I've tried that and it seems to work.

I haven't find any parameter that tells you what is the real aspect ratio of the camera so we could use only the resolutions that match it or make sure that the containing window is of the right aspect ratio.

On a side note, I believe ARBaseLib should try to get the best resolution for the camera display and fill the screen instead of reading it from preferences.

Unable to run built examples, missing dlls

After building, an error message appears:

"The program can't start because jpeg62.dll is missing from your computer."

Likewise for glut32.dll.

Am I missing a part of the SDK or a platform thing?

Artk 139: Packaging for DEB and RPM

Issue by ThorstenBux
Tuesday Apr 05, 2016 at 22:49 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/pull/93


As PR: https://github.com/artoolkit/artoolkit5/pull/85

is now on master, this one has way less files that need to be merged.

Also it only contains the files needed for packaging now.

Be aware that it is a follow up of PR #79
https://github.com/artoolkit/artoolkit5/pull/79

So #79 needs to go in before this one.


ThorstenBux included the following code: https://github.com/artoolkit/artoolkit5/pull/93/commits

marker.dat is not read correctly for European convention

Issue by rafaelhdr
Tuesday Jul 21, 2015 at 18:22 GMT
Originally opened as artoolkit/ARToolKit5#3


I was using multiTest example.
When i execute, it does not work, and the error is

Error processing multimarker config file 'Data/multi/marker.dat', marker definition   1: Lines 2 - 4 must be marker transform.

It works when i edit the original file artoolkit/bin/Data/multi/marker.dat, changing dot to comma.

I think it is a locale problem (i am from Brasil, and the convention here is comma for floats, too)

2d barcode marker generator code and 2d marker future

Hi,

I'm aware there is a PHP website to generate 2d barcode like 5x5, 6x6 etc. Is there any source code available to generate 2d barcode in the repo?

Is there any plan to support other 2d code that can encode information in it? (Similar to QR code, VuMark, etc.)

Thank you!

Stereo display not showing when using stereo camera in Unity

Issue by arthurgiroux
Thursday Oct 08, 2015 at 14:52 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/14


Hi,
when using a stereo camera for the tracking and setting the camera to stereo in Unity I don't get any video stream.

It's caused by this line in the function VideoSource::updateTexture:

   // Extra check: don't update the array if the current frame is the same is previous one.
   if (lastFrameStamp == frameStamp) return false;

https://github.com/artoolkit/artoolkit5/blob/master/lib/SRC/ARWrapper/VideoSource.cpp#L197

Indeed when you are in stereo the lastFrameStamp will be updated by the left camera and for the right camera it will fall into this condition.

A quick workaround is to disable this condition when you work in stereo, a cleaner fix will be to either have two variables for each camera or to check that if we are in stereo we only check this condition for the left camera and not the right.

marker.dat is not read correctly for European convention

Issue by rafaelhdr
Tuesday Jul 21, 2015 at 18:22 GMT
Originally opened as artoolkit/ARToolKit5#3


I was using multiTest example.
When i execute, it does not work, and the error is

Error processing multimarker config file 'Data/multi/marker.dat', marker definition   1: Lines 2 - 4 must be marker transform.

It works when i edit the original file artoolkit/bin/Data/multi/marker.dat, changing dot to comma.

I think it is a locale problem (i am from Brasil, and the convention here is comma for floats, too)

Migrating to AppCompat Library

Issue by WladimirDLC
Friday Nov 20, 2015 at 22:48 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/22


I am using the Artoolkit in Android Studio, everything works fine with the current examples. But I would like to modify the example activities in order to use Appcompatactivity instead just Activity. In the arBaseLib (which I am using) the AR Activity extends the Activity. When I change this in order to extend Appcompatactivity, the app crashes. I added the dependencies, imports, etc but id does not work. Someone maybe has changed the AR Activity class with this last library without problems?

Stereo display not showing when using stereo camera in Unity

Issue by arthurgiroux
Thursday Oct 08, 2015 at 14:52 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/14


Hi,
when using a stereo camera for the tracking and setting the camera to stereo in Unity I don't get any video stream.

It's caused by this line in the function VideoSource::updateTexture:

   // Extra check: don't update the array if the current frame is the same is previous one.
   if (lastFrameStamp == frameStamp) return false;

https://github.com/artoolkit/artoolkit5/blob/master/lib/SRC/ARWrapper/VideoSource.cpp#L197

Indeed when you are in stereo the lastFrameStamp will be updated by the left camera and for the right camera it will fall into this condition.

A quick workaround is to disable this condition when you work in stereo, a cleaner fix will be to either have two variables for each camera or to check that if we are in stereo we only check this condition for the left camera and not the right.

Android CameraCalibration very laggy

Issue by Death111
Tuesday May 24, 2016 at 12:28 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/131


Hey,

when using the camera calibration app from the appstore and trying to calibrate, the app is very laggy. This is even worse with higher resolutions. Therefore it is not possible to get a good calibration. (Video: https://www.youtube.com/watch?v=ar3yfcKUF9E) This happens with my LG G4, as well as my Mi5 Pro.

This may relate to #125 as he also does not get a good calibration.

How to integrate with Server CMS

Issue by georgeedwards
Wednesday Sep 07, 2016 at 09:31 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/189


Is there, or can we make a tutorial outlining how one might approach having a dynamic marker base, held in a cloud CMS. Similar to Blippar, or this demo from Kudan.
For mobile applications, this seems a bit tricky...

  1. Do you stream the video (could be like very low fps) from the camera to the cloud, where all the markers are kept.
  2. Do you sample the video and upload images to compare.
  3. Do you download the images from the server to the mobile to be compared to the video?

Either way, there is potentially large amounts of data being moved between the server and the handset, potentially not on 4G or 3G?

It strikes me that this isn't an uncommon use case, i.e. not having static markers baked into the application. Are there any docs on this?

gstreamer1.0 support

Issue by tik0
Friday Sep 23, 2016 at 16:04 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/192


Dear dev's,

I still wonder, why you have decided to use the identity plugin to grab images from a gstreamer pipeline.
The point is, that my port to gstreamer1.0 still does not work perfectly.

The common way to get images from gstreamer is using the appsink plugin.
What was your intention behind the decision of not using this plugin?

From my point of view, the artoolkit interface to gstreamer would be much more intuitive that way.
But anyway, if you have some idea to make the gstreamer1.0 port running without the known issues, I could implement the fix: http://gstreamer-devel.966125.n4.nabble.com/Using-identity-causes-memory-leak-Ported-application-from-gstreamer-0-10-to-gstreamer-1-0-td4679488.html

Greetings,
Tiko

glmDrawArrays(): Error loading texture.

Issue by saifookhan
Friday Jul 08, 2016 at 05:52 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/148


Hello, all.

I have tried creating my own OBJ files (with textures and .mtl), but the problem is that textures do not load.
Though the textures are loading on every other external viewer.

As soon as I bring the marker in front of the camera, this pops up but the model still shows without the texture: 07-07 03:21:05.403 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars I/demo: FPS: 29.636711 07-07 03:21:06.123 26870-26870/org.artoolkit.ar.samples.ARSimpleNativeCars E/libARWrapper: ARController (native): [info]Marker 0 now visible 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: No such file or directory 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: glmDrawArrays(): Error loading texture. 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: No such file or directory 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: glmDrawArrays(): Error loading texture. 07-07 03:21:06.253 26870-26870/org.artoolkit.ar.samples.ARSimpleNativeCars I/CameraPreview: Camera capture FPS: 28.942116

And sometimes, (with some other model), I get the 3-D dotted object. The dots are black.

I have another question.

  1. Can we have file formats other than .obj?
  2. Do we need to have the textures in .sgi format or will .jpgs work too?

Here is a screenshot of the object:
http://imgur.com/Sp3p44i

Find the model here:
https://drive.google.com/folderview?id=0B_Yno1EK5jI_ekhudFZQTWFFeHM&usp=sharing

PS. I am building it for Android on Windows AS.
I have tried changing GL_REPEAT to GL_CLAMP_TO_EDGE but it didn't help.

Thanks in advance for help.
Cheers.

glmDrawArrays(): Error loading texture.

Issue by saifookhan
Friday Jul 08, 2016 at 05:52 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/148


Hello, all.

I have tried creating my own OBJ files (with textures and .mtl), but the problem is that textures do not load.
Though the textures are loading on every other external viewer.

As soon as I bring the marker in front of the camera, this pops up but the model still shows without the texture: 07-07 03:21:05.403 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars I/demo: FPS: 29.636711 07-07 03:21:06.123 26870-26870/org.artoolkit.ar.samples.ARSimpleNativeCars E/libARWrapper: ARController (native): [info]Marker 0 now visible 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: No such file or directory 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: glmDrawArrays(): Error loading texture. 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: No such file or directory 07-07 03:21:06.123 26870-27347/org.artoolkit.ar.samples.ARSimpleNativeCars E/libeden: glmDrawArrays(): Error loading texture. 07-07 03:21:06.253 26870-26870/org.artoolkit.ar.samples.ARSimpleNativeCars I/CameraPreview: Camera capture FPS: 28.942116

And sometimes, (with some other model), I get the 3-D dotted object. The dots are black.

I have another question.

  1. Can we have file formats other than .obj?
  2. Do we need to have the textures in .sgi format or will .jpgs work too?

Here is a screenshot of the object:
http://imgur.com/Sp3p44i

Find the model here:
https://drive.google.com/folderview?id=0B_Yno1EK5jI_ekhudFZQTWFFeHM&usp=sharing

PS. I am building it for Android on Windows AS.
I have tried changing GL_REPEAT to GL_CLAMP_TO_EDGE but it didn't help.

Thanks in advance for help.
Cheers.

Android example aRNativeOSG, camera image turned 90 deg clockwise

Issue by peterGraf
Saturday May 14, 2016 at 22:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/122


Hello,

I cloned the latest artoolkit5 and compiled the aRNativeOSG Android example and successfully ran it on my Samsung Nexus 10 (Android 5.1.1, API 22).

When I look at the Hiro marker through my tablet, the marker appears turned clockwise by 90 deg.

Once ARToolKit finds the marker I see the three world axis arrows, the X Y Z labels seem to be mirror images of the letters. But the arrows seem to point in the right directions :-),
X right, Y up and Z towards me.

I do not see any other content, looking at the resources of the project I assume one should see some airplane or something?

Any pointers? Is this caused by the fact that the native orientation of the tablet is landscape, while all phones are portrait?

Turning the tablet keeps the image turned by 90 deg.

Android Camera Color Problem

Issue by felangga
Thursday Sep 24, 2015 at 03:12 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/11


I've tested the ARToolkit examples (ARMovie, ARSimple, etc) and found out the camera has a problem with color. You can see the problem in attachment image, the color seems to be green-ish.
Tested on Nexus 5, Lolipop 5.1.1

Taken with default Android Camera
14653

Taken with ARMovie
14648

Android CameraCalibration very laggy

Issue by Death111
Tuesday May 24, 2016 at 12:28 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/131


Hey,

when using the camera calibration app from the appstore and trying to calibrate, the app is very laggy. This is even worse with higher resolutions. Therefore it is not possible to get a good calibration. (Video: https://www.youtube.com/watch?v=ar3yfcKUF9E) This happens with my LG G4, as well as my Mi5 Pro.

This may relate to #125 as he also does not get a good calibration.

Android CameraCalibration very laggy

Issue by Death111
Tuesday May 24, 2016 at 12:28 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/131


Hey,

when using the camera calibration app from the appstore and trying to calibrate, the app is very laggy. This is even worse with higher resolutions. Therefore it is not possible to get a good calibration. (Video: https://www.youtube.com/watch?v=ar3yfcKUF9E) This happens with my LG G4, as well as my Mi5 Pro.

This may relate to #125 as he also does not get a good calibration.

Artk 139: Packaging for DEB and RPM

Issue by ThorstenBux
Tuesday Apr 05, 2016 at 22:49 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/pull/93


As PR: https://github.com/artoolkit/artoolkit5/pull/85

is now on master, this one has way less files that need to be merged.

Also it only contains the files needed for packaging now.

Be aware that it is a follow up of PR #79
https://github.com/artoolkit/artoolkit5/pull/79

So #79 needs to go in before this one.


ThorstenBux included the following code: https://github.com/artoolkit/artoolkit5/pull/93/commits

Android example aRNativeOSG, camera image turned 90 deg clockwise

Issue by peterGraf
Saturday May 14, 2016 at 22:16 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/122


Hello,

I cloned the latest artoolkit5 and compiled the aRNativeOSG Android example and successfully ran it on my Samsung Nexus 10 (Android 5.1.1, API 22).

When I look at the Hiro marker through my tablet, the marker appears turned clockwise by 90 deg.

Once ARToolKit finds the marker I see the three world axis arrows, the X Y Z labels seem to be mirror images of the letters. But the arrows seem to point in the right directions :-),
X right, Y up and Z towards me.

I do not see any other content, looking at the resources of the project I assume one should see some airplane or something?

Any pointers? Is this caused by the fact that the native orientation of the tablet is landscape, while all phones are portrait?

Turning the tablet keeps the image turned by 90 deg.

Artk 139: Packaging for DEB and RPM

Issue by ThorstenBux
Tuesday Apr 05, 2016 at 22:49 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/pull/93


As PR: https://github.com/artoolkit/artoolkit5/pull/85

is now on master, this one has way less files that need to be merged.

Also it only contains the files needed for packaging now.

Be aware that it is a follow up of PR #79
https://github.com/artoolkit/artoolkit5/pull/79

So #79 needs to go in before this one.


ThorstenBux included the following code: https://github.com/artoolkit/artoolkit5/pull/93/commits

object_t in arViewer.h under ARvrml is NOT compatible with current OpenVRML...

Issue by jiapei100
Sunday Oct 02, 2016 at 13:33 GMT
Originally opened as https://github.com/artoolkit/artoolkit5/issues/195


Looks like in my openvrml/gl/viewer.h , there is NO object_t .
So, I replaced all object_t by void in both file arViewer.h and arViewer.cpp, but still problematic for sure:

...
In file included from arViewer.cpp:55:0:
arViewer.h:100:44: error: ‘background_node’ does not name a type
virtual void do_insert_background(const background_node & n);
^
arViewer.cpp: In constructor ‘arVrmlBrowser::arVrmlBrowser()’:
arViewer.cpp:59:71: error: no matching function for call to ‘openvrml::browser::browser(std::ostream&, std::ostream&)’
arVrmlBrowser::arVrmlBrowser(): openvrml::browser(std::cout, std::cerr)

...

/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^
arViewer.cpp: In member function ‘virtual const string arVrmlBrowser::do_get_resource(const string&)::file_resource_istream::do_type() const’:
arViewer.cpp:109:27: error: call of overloaded ‘next(std::reverse_iterator<__gnu_cxx::__normal_iterator<const char*, std::_cxx11::basic_string > >::iterator_type)’ is ambiguous
|| next(dot_pos.base()) == this->url
.end()) {

...

/usr/include/c++/5/bits/stl_iterator_base_funcs.h:184:5: note: candidate: _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string >; typename std::iterator_traits<_Iter>::difference_type = long int]
next(_ForwardIterator __x, typename
^
arViewer.cpp:113:29: error: call of overloaded ‘next(std::reverse_iterator<__gnu_cxx::__normal_iterator<const char*, std::_cxx11::basic_string > >::iterator_type)’ is ambiguous
find(next(dot_pos.base()), this->url
.end(), '#');

.....

/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^
arViewer.cpp: At global scope:
arViewer.cpp:300:6: error: prototype for ‘void arVrmlViewer::do_insert_background(const openvrml::background_node&)’ does not match any in class ‘arVrmlViewer’
void arVrmlViewer::do_insert_background(const background_node & n)
^
In file included from arViewer.cpp:55:0:
arViewer.h:100:17: error: candidate is: virtual void arVrmlViewer::do_insert_background(const int&)
virtual void do_insert_background(const background_node & n);
^
Makefile:69: recipe for target 'arViewer.o' failed
make[2]: *** [arViewer.o] Error 1
make[2]: Leaving directory '/media/jiapei/Data/Downloads/ar-vr/ARTools/artoolkit5/lib/SRC/ARvrml'
Makefile:38: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/media/jiapei/Data/Downloads/ar-vr/ARTools/artoolkit5/lib/SRC'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2

Any plan to modify artoolkit5 to be OpenVRML compatible?

Cheers
Pei

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.