forked from drydart/model_viewer.dart
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is it possible to display multiple 3d models? #29
Comments
I'm having the same issue, it also persists when navigating to different pages. Whatever is the first model I load into the app is the one that is displayed everywhere. |
Foldblade
added a commit
to Foldblade/model_viewer_plus.dart
that referenced
this issue
Jun 22, 2022
### Changed - `README.md`: `import 'package:model_viewer_plus/model_viewer.dart';` -> `import 'package:model_viewer_plus/model_viewer_plus.dart';` - `lib\html_builder.dart`: fix typos and uncomment `debugPrint` for more debug info - `lib\model_viewer_plus_mobile.dart`: uncomment `debugPrint` for more debug info - `lib\model_viewer_plus_web.dart`: unique viewType to fix [omchiii#29](omchiii#29) - Update `assets/model-viewer.min.js` to v1.20.0
Merged
Hello @kibu7 @jamesninnes, guessing you both using I think I've found the problem: #31 |
hey @Foldblade, yes im using it on Web |
omchiii
added a commit
that referenced
this issue
Jun 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is it possible to display multiple 3d models?
I have two ModelViewer but both are diplaying the same model
My code:
SizedBox( height: 300, width: 300, child: ModelViewer( src: 'https://modelviewer.dev/shared-assets/models/Astronaut.glb', alt: "A 3D model of an astronaut", ar: true, autoRotate: true, cameraControls: true, ), ), SizedBox( height: 500, width: 500, child: ModelViewer( src: 'https://modelviewer.dev/shared-assets/models/NeilArmstrong.glb', alt: "A 3D model of an astronaut", ar: true, autoRotate: true, cameraControls: true, ), ),
is there a way to displaying mutliple or can i just display one 3d model?
thank you for tips
The text was updated successfully, but these errors were encountered: