Announcement

Collapse
No announcement yet.

Augmented Reality for UE4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by AdamHorvath View Post
    I successfully reproduced the problem on a borrowed LG phone. Now working on fixing the issue. I'll get back to you ASAP.
    In UpdatesForAndroid\UnrealEngine4\4.10\Source\Runtime\Launch\Private\Android\AndroidJNI.cpp

    remove this line (739):
    LocalJNIEnv->ReleaseByteArrayElements(data, buf, JNI_ABORT);

    It solved the problem for me.
    AR plugin for UE4
    AR Virtual Mirror plugin for UE4
    Red Alert 2 VR remake
    Armed Island VR RTS

    Comment


      Originally posted by AdamHorvath View Post
      Open the demo project, and edit the ARToolkitBase blueprint. You will find a node Init. Try to change the dev num property from the default 1 to some other id.
      I tried but the problem still happening
      HeXentic Games
      Creative Director
      http://hexentic.com/

      Comment


        Originally posted by Taurustar View Post
        I tried but the problem still happening
        Please make sure to not have any special characters in your project path.

        Can you send me you logs from PROJECT_PATH/Saved/Logs to info@unreal4ar.com ?
        AR plugin for UE4
        AR Virtual Mirror plugin for UE4
        Red Alert 2 VR remake
        Armed Island VR RTS

        Comment


          Originally posted by AdamHorvath View Post
          Traditional shadow, but it's a little tricky. Everything can be created with standard UE4 blueprints.
          I am planning to do a tutorial about it.
          I look forward your tutorial. I am trying to do something similar for an isometric game and I could not have shadows as good as you. I tried with keying but got a greenish shadow ...

          Comment


            Originally posted by AdamHorvath View Post
            In UpdatesForAndroid\UnrealEngine4\4.10\Source\Runtime\Launch\Private\Android\AndroidJNI.cpp

            remove this line (739):
            LocalJNIEnv->ReleaseByteArrayElements(data, buf, JNI_ABORT);

            It solved the problem for me.
            I have the same problem with Unreal Engine 4.10 and with a Samsung Galaxy S6 With Camera error... I'll copy the log here:

            Code:
            D/UE4     (23758): [2016.01.06-13.22.26:213][  0]LogModuleManager:Warning: ModuleManager: Module 'GameplayDebugger' not found - its StaticallyLinkedModuleInitializers function is null.
            D/UE4     (23758): [2016.01.06-13.22.26:213][  0]LogAIModule: Creating AISystem for world ARToolkitAdvanced
            D/UE4     (23758): [2016.01.06-13.22.26:214][  0]LogWorld: Game class is 'Mouse_GameMode_C'
            D/UE4     (23758): [2016.01.06-13.22.26:217][  0]LogWorld: Bringing World /Game/Maps/ARToolkitAdvanced.ARToolkitAdvanced up for play (max tick rate 0) at 2016.01.06-10.22.26
            D/UE4     (23758): [2016.01.06-13.22.26:218][  0]LogWorld: Bringing up level for play took: 0.002389
            D/UE4     (23758): [2016.01.06-13.22.26:219][  0]LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating
            D/UE4     (23758): [2016.01.06-13.22.26:221][  0]ARToolkit: Init started
            D/UE4     (23758): [2016.01.06-13.22.26:222][  0]ARToolkit: Param load start
            D/UE4     (23758): [2016.01.06-13.22.26:222][  0]ARToolkit:Error: Camera parameter load error !!
            D/UE4     (23758): [2016.01.06-13.22.26:223][  0]LogBlueprintUserMessages: [ARToolkitBaseAdvanced_91] Webcam init error!
            D/UE4     (23758): [2016.01.06-13.22.26:235][  0]LogInit:Display: Game Engine Initialized.
            D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroid: Passed GEngineLoop.Init()
            D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroidEvents:Display: DequeueAppEvent : 9, 0
            D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
            D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 12, 0
            D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 6, 0
            D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
            D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 0, 4106950664
            D/UE4     (23758): OnAppCommandCB cmd: 6
            D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 11, 0
            D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroid: Case APP_CMD_GAINED_FOCUS
            D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroidEvents:Display: DequeueAppEvent : 11, 0
            D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroidEvents:Display: ExecWindowCreated
            D/UE4     (23758): [2016.01.06-13.22.26:706][  0]LogRenderer: Reallocating scene render targets to support 1280x720 (Frame:2).
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.60)
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.80)
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.90)
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 31.00)
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
            D/UE4     (23758): OnAppCommandCB cmd: 12
            D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 12, 0
            D/UE4     (23758): OnAppCommandCB cmd: 13
            D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 6, 0

            About my previous error I'll send you an email later... I don't have my laptop here
            HeXentic Games
            Creative Director
            http://hexentic.com/

            Comment


              Originally posted by Taurustar View Post
              I have the same problem with Unreal Engine 4.10 and with a Samsung Galaxy S6 With Camera error... I'll copy the log here:

              Code:
              D/UE4     (23758): [2016.01.06-13.22.26:213][  0]LogModuleManager:Warning: ModuleManager: Module 'GameplayDebugger' not found - its StaticallyLinkedModuleInitializers function is null.
              D/UE4     (23758): [2016.01.06-13.22.26:213][  0]LogAIModule: Creating AISystem for world ARToolkitAdvanced
              D/UE4     (23758): [2016.01.06-13.22.26:214][  0]LogWorld: Game class is 'Mouse_GameMode_C'
              D/UE4     (23758): [2016.01.06-13.22.26:217][  0]LogWorld: Bringing World /Game/Maps/ARToolkitAdvanced.ARToolkitAdvanced up for play (max tick rate 0) at 2016.01.06-10.22.26
              D/UE4     (23758): [2016.01.06-13.22.26:218][  0]LogWorld: Bringing up level for play took: 0.002389
              D/UE4     (23758): [2016.01.06-13.22.26:219][  0]LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating
              D/UE4     (23758): [2016.01.06-13.22.26:221][  0]ARToolkit: Init started
              D/UE4     (23758): [2016.01.06-13.22.26:222][  0]ARToolkit: Param load start
              D/UE4     (23758): [2016.01.06-13.22.26:222][  0]ARToolkit:Error: Camera parameter load error !!
              D/UE4     (23758): [2016.01.06-13.22.26:223][  0]LogBlueprintUserMessages: [ARToolkitBaseAdvanced_91] Webcam init error!
              D/UE4     (23758): [2016.01.06-13.22.26:235][  0]LogInit:Display: Game Engine Initialized.
              D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroid: Passed GEngineLoop.Init()
              D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroidEvents:Display: DequeueAppEvent : 9, 0
              D/UE4     (23758): [2016.01.06-13.22.26:505][  0]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
              D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 12, 0
              D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 6, 0
              D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
              D/UE4     (23758): [2016.01.06-13.22.26:506][  0]LogAndroidEvents:Display: DequeueAppEvent : 0, 4106950664
              D/UE4     (23758): OnAppCommandCB cmd: 6
              D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 11, 0
              D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroid: Case APP_CMD_GAINED_FOCUS
              D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroidEvents:Display: DequeueAppEvent : 11, 0
              D/UE4     (23758): [2016.01.06-13.22.26:545][  0]LogAndroidEvents:Display: ExecWindowCreated
              D/UE4     (23758): [2016.01.06-13.22.26:706][  0]LogRenderer: Reallocating scene render targets to support 1280x720 (Frame:2).
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.60)
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.80)
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 30.90)
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): nativeBatteryEvent(stat = 5, lvl = 100, t = 31.00)
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): Battery: status = 5, rawlevel = 100, scale = 100
              D/UE4     (23758): OnAppCommandCB cmd: 12
              D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 12, 0
              D/UE4     (23758): OnAppCommandCB cmd: 13
              D/UE4     (23758): LogAndroidEvents: EnqueueAppEvent : 6, 0

              About my previous error I'll send you an email later... I don't have my laptop here
              D/UE4 (23758): [2016.01.06-13.22.26:222][ 0]ARToolkit:Error: Camera parameter load error !!

              Seems like data files are not copied to your phone. Did you use launch on device in the editor or installed from the packaged APK ?
              AR plugin for UE4
              AR Virtual Mirror plugin for UE4
              Red Alert 2 VR remake
              Armed Island VR RTS

              Comment


                Hi

                I have the personal version, and I can not compile on android.

                Here are the error which is also reproduced on the EU4 compilation:

                http://img15.hostingpics.net/pics/99...eurplugins.jpg

                Comment


                  Originally posted by dreamerwolf View Post
                  Hi

                  I have the personal version, and I can not compile on android.

                  Here are the error which is also reproduced on the EU4 compilation:

                  http://img15.hostingpics.net/pics/99...eurplugins.jpg
                  To solve this problem you need to run visual studio in administrator mode.
                  AR plugin for UE4
                  AR Virtual Mirror plugin for UE4
                  Red Alert 2 VR remake
                  Armed Island VR RTS

                  Comment


                    Hi Adam,

                    Your plugin is working great! In our studio, we just made few test and we are looking for bringing this technology working with our stuff. The first case is to bring it on a Xperia Z5, we failed to launch our AR project on it, it seems Unreal can't recognize the apparel.
                    The second case is to lauch our AR project on 1080 HD camera (logitech C920), we don't get result for now. Can you tell us more about futur implementation of this stuff?
                    Thank you.

                    Comment


                      Originally posted by AdamHorvath View Post
                      D/UE4 (23758): [2016.01.06-13.22.26:222][ 0]ARToolkit:Error: Camera parameter load error !!

                      Seems like data files are not copied to your phone. Did you use launch on device in the editor or installed from the packaged APK ?
                      I already Packaged de APK and installed it...
                      HeXentic Games
                      Creative Director
                      http://hexentic.com/

                      Comment


                        Originally posted by AdamHorvath View Post
                        To solve this problem you need to run visual studio in administrator mode.
                        Simply one... thank !

                        Work perfectly on tablet Nvidia shield

                        Comment


                          Can you please re-post the ARSample:
                          http://get.fitnect.hu/download.php?f...Sample_1_1.zip

                          The original link does not seem to exist anymore:
                          File does not exist. Make sure you specified correct file name.

                          Thank you.
                          -how

                          Comment


                            Originally posted by blksrfc View Post
                            Can you please re-post the ARSample:
                            http://get.fitnect.hu/download.php?f...Sample_1_1.zip

                            The original link does not seem to exist anymore:
                            File does not exist. Make sure you specified correct file name.

                            Thank you.
                            -how
                            There is a newer version on UNREAL4AR.COM
                            AR plugin for UE4
                            AR Virtual Mirror plugin for UE4
                            Red Alert 2 VR remake
                            Armed Island VR RTS

                            Comment


                              Originally posted by dreamerwolf View Post
                              Simply one... thank !

                              Work perfectly on tablet Nvidia shield
                              Cool! I am glad it is working on nVidia Shield!
                              AR plugin for UE4
                              AR Virtual Mirror plugin for UE4
                              Red Alert 2 VR remake
                              Armed Island VR RTS

                              Comment


                                Originally posted by arnaudparel View Post
                                Hi Adam,

                                Your plugin is working great! In our studio, we just made few test and we are looking for bringing this technology working with our stuff. The first case is to bring it on a Xperia Z5, we failed to launch our AR project on it, it seems Unreal can't recognize the apparel.
                                The second case is to lauch our AR project on 1080 HD camera (logitech C920), we don't get result for now. Can you tell us more about futur implementation of this stuff?
                                Thank you.
                                Thanks! I am glad it's working for you!

                                Logitech 920C

                                Should work on any standard web camera at least in 4:3 resolutions like 640x480 or 960x720.
                                Did you try to use a different device id ? What kind of problem do you experience with it ?

                                I am also using a Logitech camera for development without any problems. (Logitech C910)

                                Xperia Z5

                                On Xperia Z5, can you run adb logcat -s UE4 -s Debug ? Maybe you can get an error message that highlights the problem.

                                Regarding the future....

                                Currently I am working on :

                                v1.4 is coming soon (maybe this week) with many bug fixes, improvements :

                                - android apk + obb fixes
                                - controlling the camera with markers instead of the subject
                                - documentation of each nodes / tutorial videos / docs about compiling the plugin for each platform
                                - downloadable mobile demos
                                AR plugin for UE4
                                AR Virtual Mirror plugin for UE4
                                Red Alert 2 VR remake
                                Armed Island VR RTS

                                Comment

                                Working...
                                X