
Set the value of the src attribute to the URL of your image. Now, to make your image appear on the plane, you can use the src attribute.

Instead of scaling the plane to "30 30 30", I'm going to set the width and height attributes to set the dimensions of the plane. I don't want the green color anymore, so I'm going to remove the color attribute. You can use this color picker to find the hex value of any color you want. Right now, my floor is a green a-plane element that looks like this: What's up with the value of the color attribute? What you see there, #00800, is actually the green color! When you see a color formatted this way, you're using something called a hex value. You are welcome to use that texture, or you can use any image you want! Once it's in your Glitch assets folder, copy its URL. I'm going to use this wood floor texture because I want to give my scene a wood floor. png) into the assets folder of your Glitch project. Be sure to look around!įirst drag an image file (.jpg or. Paste it where you need it Check out how the photosphere looks in my project. Click the "copy URL" button to get its URL 4. For the value of the src attribute, we use the the URL of our photosphere: Remember, to find the URL of any of the files you've uploaded to your Glitch assets folder, here are the steps: 1. Then, to make the photosphere the background of our scene, we can add an a-sky element to our scene and we give it a src attribute. First, drag the image file into the assets folder of your Glitch project, just as you did with the file for your 3D model. We're going to bring photospheres into our project in the same way that we brought in 3D models.
#Add 3d text to vr photo download
Download the photosphere: it has to be a. Feel free to find your own (or use the one I found!).

I found this photosphere and I'm going to use that in my example.
#Add 3d text to vr photo full
Here's a Flickr library full of equirectangular images! You can also do a search on google images or Wikimedia Commons for "equirectangular" for more examples. There are lots of places where you can find equirectangular photospheres if you're looking for some to play with in your project. A-Frame works best with photospheres that are equirectangular. They provide an easy way to give a nice background to your VR scene or to transport viewers to a particular place you want to showcase.

You can take photospheres with special cameras or by stitching together lots of regular images. Photospheres are images captured in every possible viewing direction.
