jpct

integrating JPCT-ae with QCAR(vuforia)

醉酒当歌 提交于 2020-01-04 11:02:34
问题 i know what i am going to ask is already discussed sometimes but after going through all of them i can't found my complete answer so i am asking a new question when i tried integrating JPCT-ae with QCAR all goes well as expected, i got my modelview matrix from renderframe from jni and successfully transferred that in java to jpct model is shown perfectly as expected. but when i tried to pass this matrix to JPCT world camera my model disappear. my code:in onsurfacechanged: world = new World();

vuforia sdk + android failed to initialize Vuforia with permission exception

本秂侑毒 提交于 2019-12-25 04:48:09
问题 App crashes after running the program with failed to initialize Vuforia with permission exception Android version is <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" /> testing on device 4.1.1 (api level 16) with front camera only. Permission included in manifest file: <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.INERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses

Rendering a model basic on JPCT-AE with ARToolkit in Android

不问归期 提交于 2019-12-24 14:13:01
问题 i want to render model via JPCT-AE and use the ARToolkit to realizing AR Application. so , i inject the code as below into the ARToolkit Project: Matrix projMatrix = new Matrix(); projMatrix.setDump(ARNativeActivity.getProjectM()); projMatrix.transformToGL(); SimpleVector translation = projMatrix.getTranslation(); SimpleVector dir = projMatrix.getZAxis(); SimpleVector up = projMatrix.getYAxis(); cameraController.setPosition(translation); cameraController.setOrientation(dir, up); Matrix

how to add 3d models dynamically in glsurface view renderer in android

扶醉桌前 提交于 2019-12-08 12:13:13
问题 In my Augmented reality application I need to render 3D model over a marker. with predefined/ initialized 3d model i can show teapot over a marker detecion. but now I want to replace it with another 3d model dynamically from sd card on some trigger event like button click. is there any suggestion or guideline how i can implement it? I am using JPCT-AE for 3d models. Thanx 回答1: After so much research and trial and errors finally i got it to work. When I asked this question I wanted to display

Looping Error on Android Emulator

匆匆过客 提交于 2019-11-27 12:18:25
I can't seem to launch any of my apps in my Android emulator because every ~2 seconds this error pops up, and I believe this is making my app crash... Note: I've never once tried to record audio, which I think it's trying to do... so why is it displaying this? Though I was trying to open a 3D model into JPCT-AE with an inputstream that never worked! The error: 04-01 21:02:29.798 2160-2160/com.google.android.googlequicksearchbox:search I/MicroDetectionWorker: Micro detection mode: [mDetectionMode: [1]]. 04-01 21:02:29.798 2160-2160/com.google.android.googlequicksearchbox:search I