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

disable shadows on the directionalLight in the Maya scene for the testProxyShapeDrawColorAccuracy test #815

Conversation

mattyjams
Copy link
Contributor

@mattyjams mattyjams commented Oct 2, 2020

This is intended to address #265.

The Storm-based Pixar batch renderer (poorly) supports depth map shadows but not ray-traced shadows, while the Viewport 2.0 render delegate supports both. The directionalLight in the Maya scene for the testProxyShapeDrawColorAccuracy test was set to use ray-traced shadows (which is the default). This meant that the "all_lights" image written by the test would not include shadows when run with the Pixar batch renderer, but it would include a very noisy shadow when run with the Viewport 2.0 render delegate, since the geometry is just a very simple cube.

Shadows are not important in the functionality being exercised by this test, so this change simply disables shadows on the directionalLight.

…tProxyShapeDrawColorAccuracy test

The Storm-based Pixar batch renderer (poorly) supports depth map shadows but not
ray-traced shadows, while the Viewport 2.0 render delegate supports both. The
directionalLight in the Maya scene for the testProxyShapeDrawColorAccuracy test
was set to use ray-traced shadows (which is the default). This meant that the
"all_lights" image written by the test would not include shadows when run with
the Pixar batch renderer, but it would include a very noisy shadow when run
with the Viewport 2.0 render delegate, since the geometry is just a very simple
cube.

Shadows are not important in the functionality being exercised by this test, so
this change simply disables shadows on the directionalLight.
@kxl-adsk kxl-adsk added unit test Related to unit tests (both python or c++) ready-for-merge Development process is finished, PR is ready for merge labels Oct 2, 2020
@kxl-adsk kxl-adsk merged commit 8600952 into Autodesk:dev Oct 2, 2020
@mattyjams mattyjams deleted the pr/disable_directionalLight_shadows_in_testProxyShapeDrawColorAccuracy_test branch October 2, 2020 19:03
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 unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants