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

HYDRA-805 - add test for look through camera&lights #73

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

lilike-adsk
Copy link
Collaborator

add test for look through camera&lights to cover
1.look through the camera
2.look through the spot light
3.look through the area light with clip planes

@lilike-adsk lilike-adsk self-assigned this Feb 14, 2024
@lilike-adsk
Copy link
Collaborator Author


#Test look through camera and maya lights (spot & area).
def test_LookThrough(self):
cmds.file(new=True, force=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is no longer necessary, as now a new scene will be opened before each individual test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good, I'll remove it

@@ -112,9 +111,6 @@ createNode file -n "file1";
setAttr ".cs" -type "string" "sRGB";
createNode place2dTexture -n "place2dTexture1";
rename -uid "6616C90D-4B36-08C7-8666-33BB13D15663";
createNode mayaUsdLayerManager -n "mayaUsdLayerManager1";
rename -uid "61CE7C31-4E04-09B7-BFEA-F291A58D7E4C";
setAttr ".sst" -type "string" "";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are these changes required? Not sure why they're here, doesn't look like they're used

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This's just for clearing out mayausd stuff, this might cause loading of mayausd, which is not necessary for this case.

@debloip-adsk
Copy link
Collaborator

Thanks! Two minor things, otherwise looks good, just waiting to see if the changes in testStandardSurface.ma are okay to have in before approving

@lilike-adsk lilike-adsk added test ready-for-merge Development process is finished, PR is ready for merge labels Feb 15, 2024
@lilike-adsk lilike-adsk merged commit 5251eca into dev Feb 15, 2024
10 checks passed
@lilike-adsk lilike-adsk deleted the lilike/HYDRA-805/add-test-for-look-through branch February 15, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants