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

What shade value to assign below tree canopies? #12

Open
Pakillo opened this issue Jun 9, 2022 · 0 comments
Open

What shade value to assign below tree canopies? #12

Pakillo opened this issue Jun 9, 2022 · 0 comments

Comments

@Pakillo
Copy link
Owner

Pakillo commented Jun 9, 2022

Coming from #8

We need to discount the number of rays that are intercepted by the tree canopy just above, but keep all the other rays (coming from sides).

Look into rayshader::ray_shade function and try to get the number of rays intercepted vertically by the canopy above.

See also explanation of algorithm here https://www.tylermw.com/throwing-shade/

image

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

1 participant