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

Implemented perspective view occlusion #52

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

landrumb
Copy link
Contributor

@landrumb landrumb commented Oct 19, 2020

This PR implements perspective occlusion as described in #30. To turn occlusion on or off, assign the kwarg perspective::Bool of get_agent_view to true or false.

This branch does not currently work, as environments without an objects attribute currently throw an error, and I'm at a loss for an elegant workaround. I'm also skeptical that it functions as desired, but I'm looking to solve the w.objects issue before trying to write tests to confirm it works and/or changing render_with_Makie to not highlight occluded spaces in the agent view.

Also, it's beyond me why this branch has every commit I've ever made on my fork. If anyone knows how to fix that, I'd greatly appreciate it.

landrumb and others added 30 commits October 10, 2020 10:19
Co-authored-by: Jun Tian <find_my_way@foxmail.com>
Co-authored-by: Jun Tian <find_my_way@foxmail.com>
Co-authored-by: Jun Tian <find_my_way@foxmail.com>
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

Successfully merging this pull request may close these issues.

2 participants