-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[May18] Surface Magnetism + Spatial Processing example scene #2113
[May18] Surface Magnetism + Spatial Processing example scene #2113
Conversation
@@ -72,7 +73,7 @@ Material: | |||
- _WireThickness: 100 | |||
- _ZWrite: 1 | |||
m_Colors: | |||
- _BaseColor: {r: 0, g: 0, b: 0, a: 1} | |||
- _BaseColor: {r: 0.0036224083, g: 0.24982113, b: 0.49264705, a: 1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be editing the base material, or using a copy for our example?
May need to revert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Why was the color changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can duplicate with a new name 'WireframeBlue.mat' if we want. and assign it to SpatialMapping prefab as a default material.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do duplicate the material. Changing the color can cause confusion with customers.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only issue I see is the change to Wireframe.mat
…ted scene with new material. Adding missing meta file for the readme.
@davidkline-ms Reverted Wireframe.mat to black & white. and added WireframeBlue.mat. Thanks! |
Applied same updates to the PR for Dev branch #2114 |
Overview
Adding an example scene which shows how to make objects smoothly align with the surfaces using SolverSurfaceMagnetism. Based on existing SpatialProcessing example scene, added a plane with MRTK logo with SolverSurfaceMagnetism script.
Demo video
https://gfycat.com/PitifulRareKodiakbear
Changes
Readme
SpatialProcessingSurfaceMagnetism.md