Skip to content

Conversation

@StevenBorkman
Copy link
Contributor

Peer Review Information

Review for keypoint self occlusion.

Editor / Package versioning:

Editor Version Target: 2019.4

Dev Testing:

Tests Added:
Yes

Core Scenario Tested:

At Risk Areas:

Checklist

  • - Updated docs
  • - Updated changelog
  • - Updated test rail

JonathanHUnity and others added 29 commits April 14, 2021 16:05
…ect, but catches a few edge cases for now. Should migrate to doing all checks in shader at some point
Copy link
Contributor

@JonathanHUnity JonathanHUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of notes on the docs and the new class.

@JonathanHUnity JonathanHUnity merged commit 2e79fe5 into master Sep 14, 2021
@JonathanHUnity JonathanHUnity deleted the keypoint_self_occlusion branch September 14, 2021 21:13
eugeneteoh pushed a commit to eugeneteoh/com.eugeneteoh.perception that referenced this pull request Apr 29, 2023
* WIP self-occlusion checks.

* More updates for self-occlusion

* Almost working using compute shaders. Need to switch to regular rendering now.

* Kind of working!

* Ok, officially working now

* Adding some tests for self-occlusion. Some fixes in KeypointLabeler

* Fix issues with orthographic views and points close to far plane

* Fixing remainder of tests.

* Removing comments

* Fixing issues in URP with orthographic view

* Updating JointLabel

* Updating JointLabel to include self-occlusion distance and drop the reference to the keypoint label config

* Adding gizmos for keypoints

* Adding and fixing remainder of tests.

* Fixing various bugs in keypoint self occlusion, including (hopefully) properly supporting player builds

* Fixing issues with large numbers of keypoints.

* Fixing issue with resizing buffers

* Add search for non-background pixel to keypoint depth check. Not perfect, but catches a few edge cases for now. Should migrate to doing all checks in shader at some point

* Apply object scale even when using the global occlusion distance.

* Make scaling of self-occlusion distance apply in every scenario

* Fix joint scale

* Moving self occlusion distance to the KeypointTemplate

* Model based occludder distance overrides

* Code cleaned up and commented

* Tests for self-occlusion scalar value

* Updated changelog file

* Updated class documentation

* Updates to documentation

* Removed added, but unneeded, import

* Mostly updated comments

* Adding some comments to the depth check shader

* Fixing test compile error and mistake in RenderTextureReader

* Fixes for PR comments

* Fix for shader to work properly in HDRP/URP

* Another attempt to fix shaders for URP & HDRP

* Tests are passing locally right now

* Setting hdrp enabled disabled again

* Another attempt

* Another try to get these shaders to compile correctly

* Magic test fix attempt

* Incorporating mohsen's test fix

* Update to fix compile error

* One more attempt at fixing the keypoint shader

* Attempt moving to newer unity version

* Upgrade projects to 2020.3.16f1.

* Updating shader to use PackageRequirements

* Fixing package name

* Updating to 2020.3.16

* Fixing keypoint depth issues on Linux

* More project updated for 2020.3 and fixing tests.

* Changing minimum version to 2020.3

* Cleaning up commented out code

Co-authored-by: Jon Hogins <jonathanh@unity3d.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.

3 participants