List
Custom 3D object Support for native Android development
Posted Date: 2020-09-13 6:28     Edited Date: 2020-11-04 8:59     Writer: inactive

Please provide your development details as below;

1. SDK Version:5.0.2
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS): Native Android
3. Tracker/Scanner: Image Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional): One plus 6
Hi,

Going through the android native sample app there is support for basic 3d objects such as sphere, cube etc but is it possible to import an obj or gltf object in the AR scene ?, there is no gltf renderer or obj renderer to help render a complex object.
We can assist better if you attach screenshots of issues.

Posted Date: 2020-09-14 7:30     Edited Date: 2020-09-14 7:30     Writer: sjkim

Thanks for your interest to our MAXST AR SDK.

 

Sorry,

We don't support related 3D objects Loader.

Therefore, You have to load the 3D model directly with the 3D loader or otherwise draw the 3D model with OpenGL.   

 

If you have other questions, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team

Posted Date: 2020-09-14 8:48     Edited Date: 2020-09-14 8:48     Writer: inactive

Hi ,

What do you mean by loading 3D model directly with 3D loader.

Best regards,

Naman Kulshreshtha

Posted Date: 2020-09-16 1:58     Edited Date: 2020-09-16 1:58     Writer: sjkim

Unfortunatly, We are unable to provide any 3D models.

Therefore, please load the 3D model through the 3D model(obj, fbx, etc) loader.

 

If you have other questions, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team

Posted Date: 2020-10-27 14:08     Edited Date: 2020-10-27 14:08     Writer: inactive

Hi Francisco,

Thanks for the reply, I was going though google filament to render gltf objects but to render that properly filament camera api require's the pose of the virtual camera, going through the maxST android  CameraDevice javadocs there is no way to get that, can you advice in how can i  acquire that?, for reference google arcore provides this value through this method (ARCore Camera )

Regards

Naman Kulshreshtha

Posted Date: 2020-10-29 8:16     Edited Date: 2020-10-29 8:16     Writer: sjkim

Do you wanna get the pose of the tracked target?

You can get the pose through Trackable.getPoseMatrix() function.

 

Please refer to the bottom function list.

https://developer.maxst.com/d/APIRef/v5.0.x/renew/Android/html/classcom_1_1maxst_1_1ar_1_1_trackable.html



Best regards

Francisco

MAXST Support Team

Posted Date: 2020-11-02 8:37     Edited Date: 2020-11-02 8:37     Writer: inactive

Hi Francisco,

No, I dont want to get the pose of the tracked target, instead i want to get the viewMatrix of the camera, is that possible ?

Regards,

Naman Kulshreshtha

Posted Date: 2020-11-04 5:40     Edited Date: 2020-11-04 8:59     Writer: sjkim

You can get the view matrix of the camera using the targetPose variable.

 

Please refer to the bottom code.

                    Trackable trackable = trackingResult.GetTrackable(0);
                    Matrix4f targetPose = trackable.GetTargetPose().inverse;

 

If you have any questions or encounter any issues, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team