Closed wiesehahn closed 2 years ago
This is working on my system—Can you provide more information on your system via sessionInfo()
?
See this comment, try it out and tell me if it fixes your problem:
https://github.com/tylermorganwall/rayshader/issues/208#issuecomment-1032012029
Unfortunately, updating to the latest rgl version does not solve this issue.
Actually it seems a little random. I ran the code a couple of times and in one case the upper (second) overlay was rendered duplicated.
What happens if you set a cache_filename
in render_highquality()
?
I also recommend fully uninstalling rayshader on your system, and then doing a fresh install. Check your package directory (call .libPaths()
) and make sure it's deleting the old version. I have found problems with Windows not actually uninstalling packages in the past.
When setting the cache_filename
the cached layer files were correct, but the rendered image still displayed two times the first layer.
But your second suggestion to simply do a fully reinstall of rayshader seems to do the trick, thanks.
Great!
When rendering multiple floating overlays at different heights
render_highquality()
renders the first overlay multiple times.e.g.:
render_snapshot()
works as expected:while
render_highquality()
does this: