-
Notifications
You must be signed in to change notification settings - Fork 203
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
updates for building with latest post-21.02 dev branch commit of core USD #1199
updates for building with latest post-21.02 dev branch commit of core USD #1199
Conversation
…butes in testUsdImportRfMLight UsdLuxShapingAPI and UsdLuxShadowAPI are now connectable, so all attributes on these APIs have been given the "inputs:" prefix. This change corresponds to core USD commit PixarAnimationStudios/OpenUSD@3738719 (Internal change: 2148852)
taskParams.camera = _cameraId; | ||
taskParams.viewport = _viewport; |
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.
These parameters were not used by the task at least as far back as USD 20.02 and most likely were never used.
std::vector<GfMatrix4d> | ||
Compute(const CameraUtilFraming& framing, CameraUtilConformWindowPolicy policy) override | ||
{ | ||
return _shadowMatrices; | ||
} |
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.
Both overloads of Compute()
will exist for a while during a transition period until the old one that takes a GfVec4f
is eventually removed.
float shaping:cone:angle = 92 | ||
float shaping:cone:softness = 0.2 | ||
float shaping:focus = 0.2 | ||
color3f shaping:focusTint = (0.2, 0.2, 0.2) | ||
float shaping:ies:angleScale = 1.2 | ||
asset shaping:ies:file = @./DiskLight_profile.ies@ | ||
float inputs:shaping:cone:angle = 92 | ||
float inputs:shaping:cone:softness = 0.2 | ||
float inputs:shaping:focus = 0.2 | ||
color3f inputs:shaping:focusTint = (0.2, 0.2, 0.2) | ||
float inputs:shaping:ies:angleScale = 1.2 | ||
asset inputs:shaping:ies:file = @./DiskLight_profile.ies@ |
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.
Technically, this might actually break the test if you tried to run it in older versions of USD, but we do not actually run the RenderMan for Maya tests in this repo:
# testUsdImportRfMLight.py |
…es CameraUtilFraming This new version of Compute() will ultimately replace the original one that takes a GfVec4f viewport, and the original will be removed. This change corresponds to core USD commit PixarAnimationStudios/OpenUSD@0eac446 (Internal changes: 2149169, 2149173)
The framing is computed in HdxSimpleLightTask per shadow-casting light, so the camera and viewport params have not been used in the HdxShadowTask since at least core USD 20.02. This change corresponds to core USD commit PixarAnimationStudios/OpenUSD@8bd9d50 (Internal change: 2149197)
This identifies core USD commit 09ff5b7 (post 21.02 release) as the most recent supported version of USD: PixarAnimationStudios/OpenUSD@09ff5b7
53f50e7
to
c1b6753
Compare
Forgot to |
A few small changes to go along with commits pushed to the dev branch of core USD today.
All supported releases of USD should continue to work with these changes.