Questions tagged [model-viewer]
88 questions
0
votes
1 answer
Can I change a model-viewer texture using an uploaded file? (client side)
The challenge
The goal is to allow users to upload their textures to preview on the model-viewer model.
What I tried so far
I made it work but instead of using .
I can make an uploaded image display as a
…

PabloMCProjects
- 13
- 3
0
votes
1 answer
How to add multiple 3d objects to one modelviewer
how to add multiple 3d objects in a modelviewer.
I tried this https://github.com/google/model-viewer/issues/482#issuecomment-551268896
but it didn't work.
code

lunix
- 151
- 1
- 14
0
votes
2 answers
google/model-viewer with nuxt
I'm a bit clueless with integrating the @google/model-viewer into a nuxtjs project:
This is my model-viewer.js in the plugins folder
import Vue from "vue";
import modelViewer from "@google/model-viewer";
Vue.use(modelViewer);
The part in my…

zero2579
- 218
- 2
- 8
0
votes
1 answer
Modelviewer: how to limit the area so that you cannot look under the 3D-object?
I'm new to web development.
I’ve been experiencing with Modelviewer for a while now and putting a 3D map model on a live server. However, what bothers me is that it is possible for the user to look 'under the map.' Tips on how to implement? Didn't…

Asheline
- 26
- 4
0
votes
1 answer
Samsung S22 Ultra show black screen background with
We have developed an AR experience with model-viewer, and it works ok with iOS and all Android models we have tested, except the Samsung S22 Ultra, on which the AR experience seems to work (show the AR placemente symbol and the 3D object ), but the…

cuicmex
- 23
- 1
- 5
0
votes
1 answer
modelviewer flutter No 'Access-Control-Allow-Origin' header is present on the requested resource
"Access to fetch at 'https://github.com/Moeenuddin178/3dmodels/blob/e35c8f7d0c228c49232e2df61a7aab2383c116ad/CAR%20Model.glb' (redirected from 'http://127.0.0.1:37483/model') from origin 'http://127.0.0.1:37483' has been blocked by CORS policy: No…

Moeenuddin178
- 39
- 1
- 9
0
votes
1 answer
How to display AR model_viewer on iOS with file extension .glb (Flutter)
I'm using the model_viewer 0.8.1 lib to render AR for Flutter devices, but I'm facing the problem that I can't render AR on iOS, and it works fine on Android.
In the model_viewer lib there is a property of iosSrc to show AR on iOS, but now the…

Phu Tran
- 1
0
votes
2 answers
Google Model Viewer is not displaying output
So, I used Google's Model Viewer for displaying GLB files. But it seems to be throwing these errors:
>Access to fetch at 'file:///C:/Users/User/Desktop/Untitled.glb' from origin 'null' has been blocked by CORS policy: Cross origin requests are only…

lunix
- 151
- 1
- 14
0
votes
0 answers
View a 3D-Model in Vue 3
I'm looking for a way to embed my 3D-Model (.glb, .gltf, fbx. doesn't matter) onto my website, which i built in vue 3.
However, I am unable to find any package or work around to do so. The only npm-package i could find was vue-3d-model, sadly it's…

Joschua Rothenbacher
- 11
- 3
0
votes
0 answers
How to get the coordinates of where on the model the user clicked in model-viewer
I have just started using model-viewer and it fits my use case perfectly. However when I visited the section for annotation no where could I find how can I add annotations dynamically. I want my users to have the ability to add annotations by…

Angad_Srivastav
- 13
- 3
0
votes
1 answer
What Does sketchfab or thangs use to show model?
I built a site that serves as a library for a specific category of 3d models. I currently use modelviewer to show glb files of 3d models but on mobile devices the performance isn't good. Often times the page will crash and randomly reload, and the…

user2002220
- 115
- 1
- 1
- 10
0
votes
1 answer
load js file in requirejs-config.js in magento2
how to load this js file in requirejs?
my requirejs-config.js file=?
var config = {
paths: {
modelviewer:…

Ajith
- 55
- 5
0
votes
2 answers
Model Viewer for web doesn't show View in AR button when passing Private Signed URL or Public URL from AWS S3
I started using ModelViewer 1.9.2 by google in my angular project to render the 3d model. Possibly surface detection to augment the objects for now. Initially i used 3d models inside application assets to augnment, which went fine and i am able to…

Raveendra
- 15
- 8
0
votes
1 answer
React useState conversion
I made a static webpage app that I have been slowly converting to React (MERN stack) to make it more dynamic/so I won't have to configure each and every HTML document. It's a product configurator that uses Google's model-viewer.
I'm fairly new to…

Wade Morrison
- 62
- 8
0
votes
1 answer
Google Model Viewer Variant Dropdown List Conversion
I am trying to create a product configurator for the company I work for, and so far I have Google's Model Viewer doing just what I want! I am able to change the size and color of the product, however, I am wanting to change the "dropdown" of the…

Wade Morrison
- 62
- 8