-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add exposure controls to UsdGeomCamera #3085
Open
anderslanglands
wants to merge
30
commits into
PixarAnimationStudios:dev
Choose a base branch
from
anderslanglands:usdGeomCamera-exposure
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
22437dc
Add exposure controls to UsdGeomCamera
anderslanglands 8ae7ff8
feed calculated exposure scale to HdCamera::GetExposure() via UsdImag…
anderslanglands 0dea7ef
add additional doc comments explaining the exposure attributes and th…
anderslanglands dc65e05
docs clarifications
anderslanglands c3ad145
rename f-number to f-stop
anderslanglands cdbe0c5
add definition of nits
anderslanglands f9a8c8c
add units for imaging ratio
anderslanglands 29f6b34
fix dimensions and further clarify exposure scale
anderslanglands aa9e5f1
fix spelling on steradian
anderslanglands c75aea4
fix formatting to backticks and format fStop reference
anderslanglands 50cea0a
convert exposure scale to logarithmic exposure in adapter.
anderslanglands 1d5c60a
replace f-number with f-stop
anderslanglands 4ab55da
add note pointing to physLight doc and explaning the form of the equa…
anderslanglands 425382e
update generated schema
anderslanglands 3749e6b
add initialization for exposure fields
anderslanglands 21d8899
Pixar schema tweaks: rename 'GetExposureScale' to 'ComputeLinearExpos…
2f668a6
Add exposure parameters to hydra camera schema
a33a85a
Add UsdImaging 2.0 support for exposure, update UsdImaging usage of U…
92cd975
Merge pull request #1 from tcauchois/usdGeomCamera-exposure
pmolodo b5d9f08
add missing camera exposure documentation in usdGeom/generatedSchema.…
pmolodo f574fd4
rename 'GetExposureScale' to 'ComputeLinearExposureScale' - python wr…
pmolodo 43b89cd
Merge remote-tracking branch 'origin/dev' into usdGeomCamera-exposure
pmolodo 4a929d4
Exposure: simplify hydra-USD mapping
pmolodo e916b3e
testUsdGeomCamera.test_ComputeLinearExposureScale fixes
pmolodo 0ae21ac
bugfix for UsdImagingCameraAdapter::Get(exposureScale)
pmolodo 7e94c68
avoid copying TfToken in loop
pmolodo 95e2cad
undo accidental cmake version bump
pmolodo 36becba
fix initial value of HdCamera::_exposureScale (1.0, not 0.0)
pmolodo 846dd7f
rename tokens from exposureScale to linearExposureScale
pmolodo 07496b0
change all instances of "exposureScale" to "linearExposureScale"
pmolodo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This had been log2 throughout, to match the encoding of "exposure". Is the loss of precision such that this is necessary for you all? If so: (1) let's make the hydra token "linearExposureScale" and (2) let's update dataSourceCamera.cpp correspondingly.
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.
This was just log2 so that it backdoored into the existing exposure field (since that's log2). Since we're not doing that hijack any more this wants to be linear. @pmolodo can you update the token per Tom's comment?
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 thinking behind linear wasn't avoiding precision loss, so much as simplicity and consistency:
Regardless, I totally agree with you that the possibility for confusion is high - so, in addition to making a commit where the token names are changed to "linearExposureScale", I also added a commit where ALL references to "exposureScale" in the code are changed to "linearExposureScale", for clarity. (You can leave that commit out if you feel it's too verbose, though!)