diff --git a/docs/src/components/GlobalStyles.astro b/docs/src/components/GlobalStyles.astro new file mode 100644 index 00000000..f5e7ffda --- /dev/null +++ b/docs/src/components/GlobalStyles.astro @@ -0,0 +1,218 @@ + diff --git a/docs/src/layouts/AlSpecific.astro b/docs/src/layouts/AlSpecific.astro new file mode 100644 index 00000000..87262b5e --- /dev/null +++ b/docs/src/layouts/AlSpecific.astro @@ -0,0 +1,17 @@ +--- +import "../components/GlobalStyles.astro"; +--- + + + + + + + + + + + + + + diff --git a/docs/src/layouts/BaseLayout.astro b/docs/src/layouts/BaseLayout.astro index cb5387e0..276eb8b9 100644 --- a/docs/src/layouts/BaseLayout.astro +++ b/docs/src/layouts/BaseLayout.astro @@ -1,3 +1,7 @@ +--- +import "../components/GlobalStyles.astro"; +--- + @@ -6,225 +10,8 @@ + - diff --git a/docs/src/layouts/Changelog.astro b/docs/src/layouts/Changelog.astro new file mode 100644 index 00000000..d7fe34f7 --- /dev/null +++ b/docs/src/layouts/Changelog.astro @@ -0,0 +1,17 @@ +--- +import "../components/GlobalStyles.astro"; +--- + + + + + + + + + + + + + + diff --git a/docs/src/layouts/Documentation.astro b/docs/src/layouts/Documentation.astro new file mode 100644 index 00000000..dd662f30 --- /dev/null +++ b/docs/src/layouts/Documentation.astro @@ -0,0 +1,17 @@ +--- +import "../components/GlobalStyles.astro"; +--- + + + + + + + + + + + + + + diff --git a/docs/src/pages/alSpecific.md b/docs/src/pages/alSpecific.md index 5be0247e..efa8953a 100644 --- a/docs/src/pages/alSpecific.md +++ b/docs/src/pages/alSpecific.md @@ -1,5 +1,5 @@ --- -layout: ../layouts/BaseLayout.astro +layout: ../layouts/AlSpecific.astro --- # Animal Logic @@ -241,7 +241,7 @@ In the example below, you can see how the **weave** procedural is configured to > Note: We will replace the "relative path" string attribute with USD relationships soon. -[weave.usda](../../public/weave.usda) +[weave.usda](./public/weave.usda) ```python def "weave_gauze" ( @@ -303,7 +303,7 @@ With regards to material composition, we currently leverage referencing in two w - To `reference` materials from a centralised "material library" into "look bindings." - To `reference` "subgraphs" (node graphs) of shaders into materials. Our "triplanar projection" setup is an example of this. -[look_binding.usda](../../public/look_binding.usda) +[look_binding.usda](./public/look_binding.usda) ```c++ over "GEO" diff --git a/docs/src/pages/changelog.md b/docs/src/pages/changelog.md index 91f73edb..be7b705b 100644 --- a/docs/src/pages/changelog.md +++ b/docs/src/pages/changelog.md @@ -1,5 +1,5 @@ --- -layout: ../layouts/BaseLayout.astro +layout: ../layouts/Changelog.astro --- # Changelog diff --git a/docs/src/pages/documentation.md b/docs/src/pages/documentation.md index d54e759a..b894ebf4 100644 --- a/docs/src/pages/documentation.md +++ b/docs/src/pages/documentation.md @@ -1,5 +1,5 @@ --- -layout: ../layouts/BaseLayout.astro +layout: ../layouts/Documentation.astro --- # Documentation @@ -451,7 +451,7 @@ When crowd departments use this as an agent, they choose the `skeleton=on` varia `Primvars` are a special attribute that a renderer can associate with a geometric `primitive`. They can vary across the `primitive` they are defined on through various interpolation rules, defined in the [documentation](https://graphics.pixar.com/usd/dev/api/class_usd_geom_primvar.html). -For example, **vertex** defines the value to be interpolated across the vertices on the surface. `Primvars` can also be passed onto children of USD `primitives`. This makes them very flexible, which makes them effective as custom attributes for renderers (such as Animal Logic's Glimpse) to read. You can read more about this in the [AL-Specific documentation](al_specific.html). +For example, **vertex** defines the value to be interpolated across the vertices on the surface. `Primvars` can also be passed onto children of USD `primitives`. This makes them very flexible, which makes them effective as custom attributes for renderers (such as Animal Logic's Glimpse) to read. You can read more about this in the [AL-Specific documentation](alSpecific). As seen in the USD snippet above, the `SkelBindingAPI` uses its **skel** `primvars` to allow joint weights and joint indices to vary across the same primitive with vertex interpolation.