Maybe this is a strange question, but what's the difference between GLSurfaceView
and Sceneform
, and which is better for Android ARCore?
Asked
Active
Viewed 1,230 times
1 Answers
1
About Sceneform
Sceneform
is a high-level 3D framework and satellite of ARCore. Sceneform makes it straight-forward to realistically render 3D scenes for AR and VR android apps using real-time physically based Filament renderer. You don't even have to learn OpenGL discipline. A Sceneform's scene graph API allows you import, view and build 3D assets in .fbx
, .glTF
and .obj
file formats.
About GLSurfaceView
GLSurfaceView
class extends a SurfaceView
parent class and is used for 2D drawing and displaying OpenGL rendering. You can use this view in ARCore app as a custom view for 2D OpenGL rendering.
open class GLSurfaceView : SurfaceView, SurfaceHolder.Callback2
Here's GLSurfaceView's hierarchical place:
kotlin.Any
↳ android.view.View
↳ android.view.SurfaceView
↳ android.opengl.GLSurfaceView
-
Can I use scenform with latest arcore sdk? – Abhay Koradiya Jul 31 '20 at 16:39
-
Yes, you can. https://stackoverflow.com/questions/62453399/google-sceneform-is-it-deprecated-any-replacement/62694454#62694454 – Andy Jazz Aug 04 '20 at 09:46
-
But Sceneform is deprecated. – Abhay Koradiya Aug 04 '20 at 14:25
-
You can still use versions 1.16 and 1.17. Sceneform is not unsupported, however. It's no longer actively maintaining... – Andy Jazz Aug 04 '20 at 14:26
-
1ok, can you tell me why google is not maintaining sceneform? Because I am struggling with latest OpenGL demo from many days. But no luck. Not every person has that much knowledge of OpenGL lol. – Abhay Koradiya Aug 04 '20 at 14:30
-
No one knows why Google does what it does)) Seemingly it prepares a release of new rendering technology... – Andy Jazz Aug 04 '20 at 14:32
-
Can you suggest me Where 3d face mask design available for arcore. Or tutorial for making that exactly. – Abhay Koradiya Aug 04 '20 at 14:45
-
Sorry, I haven't seen any robust Face Tracking tutorials for ARCore. – Andy Jazz Aug 04 '20 at 14:51