m-r-davari / flutter_3d_controller

The most complete Flutter package for rendering interactive 3D models in various formats (GLB, GLTF, OBJ, FBX), with the ability to control animations, textures, camera, and more.
https://pub.dev/packages/flutter_3d_controller
MIT License
107 stars 14 forks source link

In flutter web, glb file work in local but not on server #24

Closed GoudarzJ closed 1 month ago

GoudarzJ commented 3 months ago

Hi, First of all thank you for your great pacage. In flutter web I load a gb file from asset in it works perfectly in local but when I run it from debian server. glb file will load but nothing will shows.

Please guide me

Korea19800 commented 3 months ago

Can you show your main.dart code?

m-r-davari commented 2 months ago

Hi, Could you please provide more info, because loading models from url will work fine on web as the url sample that existed on example, can your server provide download link without cross origin error?