-
Notifications
You must be signed in to change notification settings - Fork 493
Fix the view menu in the ociodisplay app #2057
Copy link
Copy link
Closed
Labels
BugUnwanted or incorrect behavior in currently available functionality.Unwanted or incorrect behavior in currently available functionality.good first issueStandard label for new developers to locate good issues to tackle to learn about OCIO development.Standard label for new developers to locate good issues to tackle to learn about OCIO development.help wantedIssues that the TSC has decided are worth implementing, but don't currently have the dev resources.Issues that the TSC has decided are worth implementing, but don't currently have the dev resources.
Metadata
Metadata
Assignees
Labels
BugUnwanted or incorrect behavior in currently available functionality.Unwanted or incorrect behavior in currently available functionality.good first issueStandard label for new developers to locate good issues to tackle to learn about OCIO development.Standard label for new developers to locate good issues to tackle to learn about OCIO development.help wantedIssues that the TSC has decided are worth implementing, but don't currently have the dev resources.Issues that the TSC has decided are worth implementing, but don't currently have the dev resources.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This would be a great first issue for someone!
Under the src/apps directory, OCIO comes with a few applications that allow people to test out various aspects of the software. One of these applications is "ociodisplay" which allows the user display an image in a window with OCIO processing applied.
In an OCIO config, there are a series of "displays" and each display has a series of "views". In general, each display may have a different set of views. For example, the views associated to an SDR display is usually different than for an HDR display.
Unfortunately, the primitive menu system in ociodisplay assumes that each display has exactly the same views. To see this, run the app with the -v option so it prints the actual display and view being used to the shell (they will be different from what you see in the menus). Use the control-click menu to select various options from the "Device" menu (these are the displays), and then select options from the "Transform" menu (these are the views). (While you're at it, you could rename those menus to be "Display" and "Views".)
The built-in Studio config is an example config that shows the problem. Set the OCIO environment variable to "ocio://studio-config-latest" before launching ociodisplay to use that config.
For test images, you could use one of the OpenEXR ACES test images from
[here](https://www.dropbox.com/scl/fo/zbrp6siai5r9wgasdlmle/ABYNKw5mO_aYdDn3m59c6cs/ACES?dl=0&rlkey=41zj6by2t39ckzt0caydb7s91&subfolder_nav_tracking=1).