We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When soil is set to TRUE in the plot_3d() function, the solid colour is incorrectly rendered in the PNG output from the render_highquality() function.
For example:
However, in the rgl window (RStudio Server/Rmarkdown), the solid colour is correctly rendered.
This might be an issue with the render_highquality() function?
A code snippet, which creates the error in the PNG output from the render_highquality() function:
A code snippet: plot_3d( v_mat_nas, zscale = 20, theta = 160, phi = 25, # 45, zoom = 0.7, windowsize = c(3000, 3000), lineantialias = TRUE, # solidcolor = "#4B3A26", # solidlinecolor = "#362312", # shadowcolor = "grey20" soil = TRUE ) render_compass( position = "E", scale_distance = 0.7, compass_radius = 100 ) Sys.sleep(0.2) render_highquality( filename = "3d_output.png", clamp_value = 300, lightintensity = 800, lightaltitude = 70, lightdirection = 115, ground_material = rayrender::diffuse(checkerperiod = 30, checkercolor = "white"), min_variance = 0 )
My session info details:
─ Session info setting value version R version 4.3.2 (2023-10-31) os Ubuntu 22.04.3 LTS system x86_64, linux-gnu ui RStudio language (EN) collate C.UTF-8 ctype C.UTF-8 date 2024-02-19 rstudio 2023.09.1+494 Desert Sunflower (server) pandoc 3.1.1 @ /usr/lib/rstudio-server/bin/quarto/bin/tools/ (via rmarkdown) Selected packages: ambient * 1.0.2 2022-09-08 [1] RSPM (R 4.3.0) rayimage * 0.10.0 2024-01-06 [1] Github (tylermorganwall/rayimage@8497883) rayrender * 0.31.2 2024-01-02 [1] Github (tylermorganwall/rayrender@3b200c4) rayshader * 0.37.1 2024-01-27 [1] Github (tylermorganwall/rayshader@e1d2766) rayvertex 0.10.4 2024-01-02 [1] Github (tylermorganwall/rayvertex@a352f40) sf * 1.0-16 2024-02-06 [1] Github (r-spatial/sf@9073a52) terra * 1.7-72 2024-02-06 [1] https://rspatial.r-universe.dev (R 4.3.2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When soil is set to TRUE in the plot_3d() function, the solid colour is incorrectly rendered in the PNG output from the render_highquality() function.
For example:
However, in the rgl window (RStudio Server/Rmarkdown), the solid colour is correctly rendered.
This might be an issue with the render_highquality() function?
A code snippet, which creates the error in the PNG output from the render_highquality() function:
My session info details:
The text was updated successfully, but these errors were encountered: