Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
403 views
in Technique[技术] by (71.8m points)

augmented reality - AR - Google Scene Viewer - How did FCA do this?

Recently I came across FCA Website for CES 2021 and at a point, when you click on the first car you get a QR code. By flashing this QR code you are redirected to this page.

By decoding the URL and looking at how it was made, I first thought it was very easy to do. I removed some parts and tried to replace the models by one I did on Blender very easily.

Here is the decoded url:

https://arvr.google.com/scene-viewer/web?enableColorPicker&file=https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.glb&title=2021+Jeep+Wrangler+4XE&referrer=google.com:AUTOS:ces-c9&colorableMesh=Paint_Color_BD&card_content=https://scene-viewer-preview.appspot.com/scene-viewer/web/infocard?enableColorPicker&thumbnail=https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.png&file=https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.glb&title=2021+Jeep+Wrangler+4XE&colorableMesh=Paint_Color_BD&colorBaseUrl=https://storage.googleapis.com/search-ar-vehicles/colors/&referrer=google.com:AUTOS:ces-c9&carousel=[{"file":"https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.glb","title":"2021+Jeep+Wrangler+4XE","thumbnail":"https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.png"},{"file":"https://storage.googleapis.com/search-ar-vehicles/OK578yP7NrDgowmRIfYK4mu.glb","title":"2020+Jeep+Wrangler","thumbnail":"https://storage.googleapis.com/search-ar-vehicles/OK578yP7NrDgowmRIfYK4mu.png"},{"file":"https://storage.googleapis.com/search-ar-vehicles/FuLIQjyCrEVWMh4qu3cgaRf.glb","title":"2020+Jeep+Cherokee","thumbnail":"https://storage.googleapis.com/search-ar-vehicles/FuLIQjyCrEVWMh4qu3cgaRf.png"},{"file":"https://storage.googleapis.com/search-ar-vehicles/ZsKQhfMNeiRD52Wu9cKKxqB.glb","title":"2020+Jeep+Compass","thumbnail":"https://storage.googleapis.com/search-ar-vehicles/ZsKQhfMNeiRD52Wu9cKKxqB.png"},{"file":"https://storage.googleapis.com/search-ar-vehicles/Mct7cEaDUJhpiIZ9bUuShQA.glb","title":"2020+Jeep+Renegade","thumbnail":"https://storage.googleapis.com/search-ar-vehicles/Mct7cEaDUJhpiIZ9bUuShQA.png"}]&iosFile=https://storage.googleapis.com/search-ar-vehicles/JhwKxj5FWvWq0XvZuDb4mZ7.usdz&quicklookEnabled=true

But by replacing the model, I get an access denied from Google. I think it is due to the referrer parameter (here google.com:AUTOS:ces-c9) but then here I come to the actual question: How do you get your own referrer? Did anyone try to do this recently? Is the access denied really due to the referrer?

Here is what I tried

https://arvr.google.com/scene-viewer/web?file=https://filebin.net/kvl7eh5cvmkjossg/test.glb?t=s42h134s&referrer=google.com:AUTOS:ces-c9&iosFile=https://filebin.net/kvl7eh5cvmkjossg/test.usdz?t=cxc71ics&quicklookEnabled=true

Thanks :)

question from:https://stackoverflow.com/questions/65943682/ar-google-scene-viewer-how-did-fca-do-this

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...