diff --git a/docs/_guide/optimization.md b/docs/_guide/optimization.md index 2ea634f82..87088da2c 100644 --- a/docs/_guide/optimization.md +++ b/docs/_guide/optimization.md @@ -130,3 +130,62 @@ From most effective to least: - Simplify material - Simplify light - Simplify camera + +## Operators That Repeat Work (or might seem like they do) + +### Cheap + +- Common + - `mirrorAxes` + - `mirrorOctant` + - `mirrorQuadrant` + - `modulo1D` + - `modulo2D` + - `modulo3D` + - `moduloPolar` + - `reflect` +- Unusual + - `geometricSeriesSquareTile` + - `logPolarRepeat` + - `moduloDistance` + - `moduloSpherical` + - `moduloLine` + - `quadTreeRepeat` + - `rectangleRepeat` + +### Expensive + +- Common + - `gridClone` → `modulo2D` + - `instance` + - `linearClone` → `modulo1D` + - `radialClone` → `moduloPolar` +- Unusual + - `circularRepeat` but only 4x regardless of spacing/radius + - `flip` with merge enabled + - `instanceField` + - `iteratedTransform` with accumulation enabled + +[`mirrorAxes`]: /raytk/reference/operators/filter/mirrorAxes +[`mirrorOctant`]: /raytk/reference/operators/filter/mirrorOctant +[`mirrorQuadrant`]: /raytk/reference/operators/filter/mirrorQuadrant +[`modulo1D`]: /raytk/reference/operators/filter/modulo1D +[`modulo2D`]: /raytk/reference/operators/filter/modulo2D +[`modulo3D`]: /raytk/reference/operators/filter/modulo3D +[`moduloPolar`]: /raytk/reference/operators/filter/moduloPolar +[`reflect`]: /raytk/reference/operators/filter/reflect +[`geometricSeriesSquareTile`]: /raytk/reference/operators/filter/geometricSeriesSquareTile +[`logPolarRepeat`]: /raytk/reference/operators/filter/logPolarRepeat +[`moduloDistance`]: /raytk/reference/operators/filter/moduloDistance +[`moduloSpherical`]: /raytk/reference/operators/filter/moduloSpherical +[`moduloLine`]: /raytk/reference/operators/filter/moduloLine +[`quadTreeRepeat`]: /raytk/reference/operators/filter/quadTreeRepeat +[`rectangleRepeat`]: /raytk/reference/operators/filter/rectangleRepeat +[`gridClone`]: /raytk/reference/operators/filter/gridClone +[`instance`]: /raytk/reference/operators/filter/instance +[`linearClone`]: /raytk/reference/operators/filter/linearClone +[`radialClone`]: /raytk/reference/operators/filter/radialClone +[`circularRepeat`]: /raytk/reference/operators/filter/circularRepeat +[`flip`]: /raytk/reference/operators/filter/flip +[`instanceField`]: /raytk/reference/operators/filter/instanceField +[`iteratedTransform`]: /raytk/reference/operators/filter/iteratedTransform diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index 0f6c0ec3d..fee744017 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -169,11 +169,11 @@ $status-deprecated-fg-color: rgb(64%, 81%, 81%); border-color: #666666; } -div.highlighter-rouge div.highlight.highlight, +/*div.highlighter-rouge div.highlight.highlight, div.highlighter-rouge pre.highlight.highlight { background: #f5f6fa; -} +}*/ .param-menu-opts { padding-left: 3em; -} \ No newline at end of file +}