-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
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
render_highquality() results in black image [BUG] #264
Comments
Did you post the full code? Calling E.g. what does the following produce: volcano |>
sphere_shade() |>
plot_3d(volcano)
render_highquality() |
Sorry, I didn't post the full code before. I'll attach it bellow, but yes I used
So I tried specifying the width and height inside of Note: The first part of the code ( Edit: I ran the volcano test code again and this time it ran without any problems. But I still get the same error when trying to Full code:
|
Hi! This is a quick update with the solution that I found that worked for me. I still don't know why I was getting that error, BUT I found that if I take the I'll show the code bellow. I also just wanted to thank you for taking your time to answer here, I appreciate it!
|
Describe the bug
I'm following an youtube florida tutorial. The height_shade(), plot_3d() and render_camera() functions all run without problem. When I get to render_highquality() though, it runs and it seems to work fine, but when I check my folder the saved test_plot.png image is completely black, and it doesn't generate any erros on the Console.
I alread tried reinstalling rayshader with both devtools and remotes, but so far when I run my code I keep running into the same issue.
Session Info
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
rayimage 0.9.1 2023-01-27 [1] Github (tylermorganwall/rayimage@0d24441)
rayrender 0.29.4 2023-01-27 [1] Github (tylermorganwall/rayrender@e1f8951)
rayshader * 0.34.5 2023-01-27 [1] Github (03dd1d3)
The text was updated successfully, but these errors were encountered: