I want to display a 3D model in my application (whose file format is .obj) on my page. The user can rotate this model, like iOS's SceneKit, but I don't have any idea for this. Can anyone help me with how to handle 3D objects in flutter?
2 Answers
Can I build 3D (
OpenGL
) apps with Flutter?Today we don’t support for 3D via OpenGL ES or similar. We have long-term plans to expose an optimized 3D API, but right now we’re focused on 2D.
https://flutter.io/docs/resources/faq#can-i-build-3d-opengl-apps-with-flutter
you can check out this repo, but the performance is not really good. I think you can consider using texture to implement.
-
1Rather than linking to external URL, please add relevant code and explanation in the answer. Commented May 16, 2019 at 3:33