aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Couldn't upload/replace custom 360 image via load texture in visual inspector #508

Open sainithin95 opened 7 years ago

sainithin95 commented 7 years ago

I'd tried uploading a 360 picture using visual inspector by changing src link, but it's not working !! Example: https://aframe.io/examples/showcase/sky/

my a frame

naugtur commented 6 years ago

Same in current, aframe 0.8.0. It's such a great feature with the assets registry browser.

See https://github.com/aframevr/aframe-inspector/issues/494 for a workaround - add tag. Texture chooser works, but the texture won't show up on the sky in the default example.

When I add it, I get


<a-assets><img id="earth_atmos_4096" src="https://aframe.io/sample-assets/assets/images/space/earth_atmos_4096.jpg" crossorigin="anonymous"></a-assets>
 <a-sky color="#ECECEC" scale="0.85 1 1" material="side:double;npot:false;src:[object HTMLImageElement];flatShading:true" geometry="radius:4991.23"></a-sky>

Good news is this only happens on the first use and then tends to work