if(rayimage:::run_documentation()){
#Plot the dragon array
plot_image_grid(list(dragon, dragon), dim = c(1,2))
}
if(rayimage:::run_documentation()){
plot_image_grid(list(dragon, dragon), dim = c(2,1))
}
if(rayimage:::run_documentation()){
plot_image_grid(list(dragon, dragon), dim = c(2,2))
}
if(rayimage:::run_documentation()){
#Plot alongside the depth matrix
dragon_depth_reoriented = render_reorient(dragondepth,
transpose = TRUE,
flipx = TRUE)/2000
plot_image_grid(list(dragondepth/2000, dragon, dragon, dragondepth/2000),
dim = c(2,2))
}
Run the code above in your browser using DataLab