Skip to content
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 error on matrix with na values #49

Open
LTHD97 opened this issue Oct 17, 2023 · 2 comments
Open

render_highquality error on matrix with na values #49

LTHD97 opened this issue Oct 17, 2023 · 2 comments

Comments

@LTHD97
Copy link

LTHD97 commented Oct 17, 2023

Hi Tyler,
Thx for your work, project is very cool, using it for a few days trying to render data with 3D through rayshader

packageVersion("rayshader")
[1] ‘0.36.1’
packageVersion("rayrender")
[1] ‘0.30.3’
Was followings some tutorial wich were not working at some points. Seems that's its related to render_highquality generating error when matrix use in plot3D has NA values (render_snapshot is working fine). error : Erreur dans rayvertex::validate_mesh(mesh) :
!any(is.na(normals)) n'est pas TRUE
Hace a nice day, thx again

@trevorld
Copy link

Could you please provide a minimal, reproducible example of your issue? What was the tutorial?

@LTHD97
Copy link
Author

LTHD97 commented Oct 18, 2023

Hi, was following this one
https://www.youtube.com/watch?v=zgFXVhmKNbU
code is here
https://github.com/Pecners/kontur_rayshader_tutorial/blob/main/main.R

not functionnal until i add "mat[is.na(mat)] <- 0" line 79

Have a nice day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants