diff --git a/content.md b/content.md index 11e8218..e0a59c3 100644 --- a/content.md +++ b/content.md @@ -190,7 +190,7 @@ network have access to your local server ## Start with *Hello, WebVR* > A-Frame provides easy-to-use HTML elements for starters called -[primitives](https://aframe.io/docs/0.5.0/primitives/). In the sections below, +[primitives](https://aframe.io/docs/0.7.0/introduction/html-and-primitives.html#primitives). In the sections below, we'll modify basic meshes through HTML attributes (e.g., change colors, positions, rotations, scale) and get a feel for the workflow. @@ -240,14 +240,14 @@ and give it a rotation to see relative rotations ## Start with *Hello, WebVR* — Add Primitives -> Add primitives the scene by adding HTML elements under ``. [Read -> about primitives](https://aframe.io/docs/0.5.0/primitives/). +> Add primitives to the scene by adding HTML elements under ``. [Read +> about primitives](https://aframe.io/docs/0.7.0/introduction/html-and-primitives.html#primitives). Remix Lesson on Glitch -1. Add [``](https://aframe.io/docs/0.5.0/primitives/a-torus-knot.html) to the left -2. Add [``](https://aframe.io/docs/0.5.0/primitives/a-dodecahedron.html) to the right -3. Add [``](https://aframe.io/docs/0.5.0/primitives/a-text.html) aligned in the center +1. Add [``](https://aframe.io/docs/0.7.0/primitives/a-torus-knot.html) to the left +2. Add [``](https://aframe.io/docs/0.7.0/primitives/a-dodecahedron.html) to the right +3. Add [``](https://aframe.io/docs/0.7.0/primitives/a-text.html) aligned in the center @@ -259,7 +259,7 @@ and give it a rotation to see relative rotations > We'll be adding image textures to meshes to more appearance than a flat color. > [Find your own images -> online](https://aframe.io/docs/0.5.0/introduction/faq.html#where-can-i-find-assets), +> online](https://aframe.io/docs/0.7.0/introduction/faq.html#where-can-i-find-assets), > and upload them through the assets section in Glitch or through the uploader on > [cdn.aframe.io](https://cdn.aframe.io). Wherever else you may upload, make sure > it's being served with @@ -276,7 +276,7 @@ assets section (pictured above). ## Add Textures — Image Textures > Fill in the `src` HTML attributes with image URLs. [Read about applying an -> image texture](https://aframe.io/docs/0.5.0/guides/building-a-basic-scene.html#applying-an-image-texture). +> image texture](https://aframe.io/docs/0.7.0/guides/building-a-basic-scene.html#applying-an-image-texture). Remix Lesson on Glitch @@ -297,7 +297,7 @@ assets section (pictured above). > Hit **` + + i`** on **any** A-Frame scene to pop open a visual > editor, just like your browser's Dev Tools! Try the Inspector on some of the > [homepage examples](https://aframe.io/examples/). [Read about the -> Inspector](https://aframe.io/docs/master/guides/using-the-aframe-inspector.html). +> Inspector](https://aframe.io/docs/0.7.0/introduction/visual-inspector-and-dev-tools.html). @@ -347,14 +347,14 @@ assets section (pictured above). Remix Lesson on Glitch -[geometry]: https://aframe.io/docs/0.5.0/components/geometry.html -[material]: https://aframe.io/docs/0.5.0/components/material.html +[geometry]: https://aframe.io/docs/0.7.0/components/geometry.html +[material]: https://aframe.io/docs/0.7.0/components/material.html 1. Convert `` to `` with [geometry component][geometry] and [material component][material]. Configure the geometry component to be `primitive: box` 2. Convert `` to `` with geometry component and material component. Configure the geometry component to be `primitive: sphere` 3. Convert `` to `` with geometry component and material component. Configure the geometry component to be `primitive: cylinder` 4. Convert `` to `` with geometry component and material component. Configure the geometry component to be `primitive: plane` -5. Convert `` to `` with geometry component and material component. Configure the geometry component to be `primitive: sphere` with a large `radius: 3000`, and configure the material component to be `shader: flat` so we don't do expensive lighting calculations when we just need a flat color +5. Convert `` to `` with geometry component and material component. Configure the geometry component to be `primitive: sphere` with a large `radius: 3000`, and configure the material component to be `side: back` so we see the interior of the sphere only, and `shader: flat` for not doing expensive lighting calculations when we just need a flat color View Result @@ -366,18 +366,34 @@ assets section (pictured above). > light source. Mix together the geometry, material, and light components to > compose this type of object. -1. Look for `` -2. Attach the [geometry component](https://aframe.io/docs/0.5.0/components/geometry.html) configured to use `primitive: sphere` to the entity -3. Attach the [material component](https://aframe.io/docs/0.5.0/components/material.html) configured to use `color: #FFF` and `shader: flat` to the entity -4. Attach the [light component](https://aframe.io/docs/0.5.0/components/light.html) configured to use `type: point` to the entity -5. **Extra Credit:** Add the animation component from [the Registry](https://aframe.io/registry/) via a `