Skip to content

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