-
Notifications
You must be signed in to change notification settings - Fork 6
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-824 - add unit test for maya lights #52
Conversation
test/lib/mayaUsd/render/mayaToHydra/MayaLightsTest/flatLight.png
Outdated
Show resolved
Hide resolved
test/lib/mayaUsd/render/mayaToHydra/MayaLightsTest/noLight_shadowOn.png
Outdated
Show resolved
Hide resolved
test/lib/mayaUsd/render/mayaToHydra/MayaLightsTest/pointLight_shadowOn.png
Outdated
Show resolved
Hide resolved
test/lib/mayaUsd/render/mayaToHydra/MayaLightsTest/spotLight_shadowOn.png
Outdated
Show resolved
Hide resolved
import mayaUtils | ||
import unittest | ||
|
||
class TesMayatLights(mtohUtils.MtohTestCase): #Subclassing mtohUtils.MtohTestCase to be able to call self.assertSnapshotClose |
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.
The "t" from test has been moved after Maya in the class name. :-) Can you please fix it ? Thanks.
"testMayaLights", | ||
"testMayaLights.ma") | ||
cmds.refresh() | ||
#Do a view fit --Test removed as on Linux the fit doesn't produce the same result as on Windows and OSX. |
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.
Can you please remove that commented code which I did in a previous PR, it's not required to keep it. Thanks.
Modify the testDirectionalLights test to cover more cases for MAYA lights:
1.different lighting modes
2.shadow on/off