Skip to content

Commit 00b51d5

Browse files
committedDec 10, 2024·
-Update cache in pkgdown
-Change samples down in examples to 16
1 parent 015fd1e commit 00b51d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+406
-406
lines changed
 

Diff for: ‎.github/workflows/pkgdown.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
uses: actions/cache@v2
4444
with:
4545
path: ${{ env.R_LIBS_USER }}
46-
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2-${{ hashFiles('.github/depends.Rds') }}
47-
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2-
46+
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-3-${{ hashFiles('.github/depends.Rds') }}
47+
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-3-
4848

4949
- name: Install system dependencies
5050
if: runner.os == 'Linux'

Diff for: ‎R/animate_objects.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#' generate_studio() %>%
3535
#' add_object(pig(y=-1.2,scale=0.5,angle=c(0,-70,0)))%>%
3636
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
37-
#' render_scene(samples=128,sample_method = "sobol_blue")
37+
#' render_scene(samples=16,sample_method = "sobol_blue")
3838
#' }
3939
#' if(run_documentation()) {
4040
#' #Render a moving pig
@@ -45,7 +45,7 @@
4545
#' start_position = c(-0.1,0,0), end_position = c(0.1,0.2,0))
4646
#' ) %>%
4747
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
48-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10)
48+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10)
4949
#' }
5050
#' if(run_documentation()) {
5151
#'
@@ -57,7 +57,7 @@
5757
#' start_scale = c(1,1,1), end_scale = c(0.5,0.5,0.5))
5858
#' ) %>%
5959
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
60-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10)
60+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10)
6161
#' }
6262
#' if(run_documentation()) {
6363
#' #Render a spinning pig
@@ -68,7 +68,7 @@
6868
#' start_angle = c(0,-30,0), end_angle = c(0,30,0))
6969
#' ) %>%
7070
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
71-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10)
71+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10)
7272
#' }
7373
#' if(run_documentation()) {
7474
#'
@@ -80,7 +80,7 @@
8080
#' start_angle = c(0,-30,0), end_angle = c(0,30,0))
8181
#' ) %>%
8282
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
83-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10,
83+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10,
8484
#' shutteropen=0.4, shutterclose = 0.6)
8585
#' }
8686
#' if(run_documentation()) {
@@ -92,7 +92,7 @@
9292
#' start_angle = c(0,-30,0), end_angle = c(0,30,0))
9393
#' ) %>%
9494
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
95-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10,
95+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10,
9696
#' shutteropen=0, shutterclose = 0.1)
9797
#' }
9898
#' if(run_documentation()) {
@@ -105,7 +105,7 @@
105105
#' start_angle = c(0,-30,0), end_angle = c(0,30,0))
106106
#' ) %>%
107107
#' add_object(sphere(y=5,x=5,z=5,radius=2,material=light())) %>%
108-
#' render_scene(samples=128,sample_method = "sobol_blue",clamp_value = 10,
108+
#' render_scene(samples=16,sample_method = "sobol_blue",clamp_value = 10,
109109
#' shutteropen=0, shutterclose = 0.1)
110110
#' }
111111
animate_objects = function(scene, start_time = 0, end_time = 1,

0 commit comments

Comments
 (0)
Please sign in to comment.