Skip to content

Commit c497730

Browse files
authored
Merge branch 'PixarAnimationStudios:dev' into dev
2 parents 2c09a0b + 9f6115d commit c497730

File tree

177 files changed

+4835
-1441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+4835
-1441
lines changed

cmake/defaults/msvcdefaults.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
set(_PXR_CXX_FLAGS "${_PXR_CXX_FLAGS} /EHsc")
1010

1111
# Standards compliant.
12-
set(_PXR_CXX_FLAGS "${_PXR_CXX_FLAGS} /Zc:rvalueCast /Zc:strictStrings")
12+
set(_PXR_CXX_FLAGS "${_PXR_CXX_FLAGS} /permissive-")
1313

1414
# Visual Studio sets the value of __cplusplus to 199711L regardless of
1515
# the C++ standard actually being used, unless /Zc:__cplusplus is enabled.

cmake/macros/Public.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,15 @@ function(pxr_register_test TEST_NAME)
959959
# TF_FATAL_VERIFY where desired.
960960
set(testWrapperCmd ${testWrapperCmd} --env-var=TF_FATAL_VERIFY=1)
961961

962+
# Allow env vars to be set via a global variable to make it easier
963+
# to affect a set of tests (e.g., all tests in a library). Set
964+
# this first to allow tests to override these env vars.
965+
if (PXR_TEST_ENV_VARS)
966+
foreach(env ${PXR_TEST_ENV_VARS})
967+
set(testWrapperCmd ${testWrapperCmd} --env-var=${env})
968+
endforeach()
969+
endif()
970+
962971
if (bt_ENV)
963972
foreach(env ${bt_ENV})
964973
set(testWrapperCmd ${testWrapperCmd} --env-var=${env})

docs/doxygen/developer_guides.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<b>Hydra Guides</b>
1212

1313
- \subpage Page_Hydra_Getting_Started_Guide
14-
- \subpage Page_Hydra_Scene_Browser
14+
- \subpage Page_Hydra_Scene_Debugger
1515
- \subpage Page_Hydra_Prim_Schemas
1616

1717
<b>MaterialX Guides</b>

extras/imaging/docs/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(PXR_PACKAGE extras_imaging_docs)
44
pxr_docs_only_dir(${PXR_PACKAGE}
55
DOXYGEN_FILES
66
hydra_getting_started_guide.dox
7-
hydra_scene_browser.dox
7+
hydra_scene_debugger.dox
88
hydra_prim_schemas.dox
99
examples_hydra_getting_started.cpp
1010
app_renderer_filters.png
@@ -17,7 +17,7 @@ pxr_docs_only_dir(${PXR_PACKAGE}
1717
scene_index_adapters.png
1818
scene_index_filter.png
1919
usdimagingstagesceneindex_filters.png
20-
hydra_scene_browser_usdview.png
21-
hydra_scene_browser_columns.png
22-
hydra_scene_browser_filters.png
20+
hydra_scene_debugger_usdview.png
21+
hydra_scene_debugger_columns.png
22+
hydra_scene_debugger_filters.png
2323
)

extras/imaging/docs/hydra_getting_started_guide.dox

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ querying the USD prim hierarchy. Finally, it implements \ref HdSceneIndexBase::G
5050
by returning the appropriate data for the prim in question (transform, geometric
5151
data, etc. as appropriate).
5252

53-
Consumers (such as renderers, the Hydra scene browser, etc) that want to receive
53+
Consumers (such as renderers, the Hydra Scene Debugger, etc) that want to receive
5454
notifications from a scene index can subclass the HdSceneIndexObserver interface.
5555

5656
\snippet examples_hydra_getting_started.cpp HdSceneIndexObserverExcerpt
@@ -215,7 +215,7 @@ See \ref Hydra_Getting_Started_App_With_Filters for additional illustrative
215215
examples of scene index filters.
216216

217217
Hydra provides a way to visualize scene data and filters using the
218-
\ref Page_Hydra_Scene_Browser, available in tools like usdview. You can also
218+
\ref Page_Hydra_Scene_Debugger, available in tools like usdview. You can also
219219
add this to your Hydra-enabled application.
220220

221221
\section Hydra_Getting_Started_Scene_Data Transporting Scene Data with Scene Indexes
@@ -512,7 +512,7 @@ settings) into different threading models if needed.
512512
Although there are benefits to using the scene index API from
513513
end-to-end (for performance, flexibility, configurability), it's not required if
514514
you just want to get started with the
515-
\ref Page_Hydra_Scene_Browser "Hydra Scene Browser" or the Application or
515+
\ref Page_Hydra_Scene_Debugger "Hydra Scene Debugger" or the Application or
516516
Renderer Scene Index Filters. Internally, Hydra is using the Scene Index
517517
API, but to minimize impact we designed adapters to invisibly support existing
518518
scene delegate implementations and existing render delegate implementations that

extras/imaging/docs/hydra_scene_browser.dox renamed to extras/imaging/docs/hydra_scene_debugger.dox

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
/*!
2-
\page Page_Hydra_Scene_Browser Hydra Scene Browser
2+
\page Page_Hydra_Scene_Debugger Hydra Scene Debugger
33

44
A visual representation of the Hydra scene architecture can be very helpful
55
for understanding or debugging your Hydra scene data. Usdview now has a window
6-
called the **Hydra Scene Browser** that can be used for this purpose, and
6+
called the **Hydra Scene Debugger** that can be used for this purpose, and
77
can also be integrated into your Hydra-enabled application.
88

9-
\image html hydra_scene_browser_usdview.png
9+
\image html hydra_scene_debugger_usdview.png
1010

11-
The Hydra Scene Browser is a parallel to usdview's builtin browser, but shows
11+
The Hydra Scene Debugger is a parallel to usdview's builtin browser, but shows
1212
Hydra prims instead of USD prims. This lets users or developers inspect the data
1313
Hydra renders from, after all of the load-time scene transforms have been
1414
applied (like instancing resolution).
1515

16-
The Hydra Scene Browser is bundled as a stand-alone Qt component and can be
16+
The Hydra Scene Debugger is bundled as a stand-alone Qt component and can be
1717
integrated into any Hydra-enabled application. See `pxr/imaging/hdui`, or the
1818
Python implementation in usdview in
19-
`pxr/usdImaging/usdviewq/hydraSceneBrowser.py`.
19+
`pxr/usdImaging/usdviewq/hydraSceneDebugger.py`.
2020

21-
The Hydra Scene Browser view of a given scene index has three columns:
21+
The Hydra Scene Debugger view of a given scene index has three columns:
2222

2323
- A prim tree-view, roughly matching the USD prim view, modulo prims added by
2424
procedurals or removed by instance aggregation, etc. This is populated by
@@ -28,24 +28,24 @@ hierarchical. This is populated by getting the datasource for the prim with
2828
GetPrim(), and then calling GetNames() on containers.
2929
- A property value display for the selected property.
3030

31-
\image html hydra_scene_browser_columns.png
31+
\image html hydra_scene_debugger_columns.png
3232

3333
Everything is computed lazily. Names or values for a datasource are not pulled
34-
until you select and expand it in the browser. The Hydra Scene Browser is also
34+
until you select and expand it in the debugger. The Hydra Scene Debugger is also
3535
a scene index observer, and receives
3636
PrimsAdded/PrimsRemoved/PrimsDirtied/PrimsRenamed messages, which are logged
3737
and displayable with the **Show Notice Logger** button.
3838

3939
If the Hydra pipeline uses scene index filters to modify the view of the data,
40-
the Hydra Scene Browser can look at the data provided by the filter as well as
40+
the Hydra Scene Debugger can look at the data provided by the filter as well as
4141
the data provided by the input scene, in order to debug the scene
4242
transformation in question. The **Inputs** drop-down displays all of the
4343
ancestor scene indexes of the selected scene index. An example scene index
4444
filter pipeline might look like this:
4545

46-
\image html hydra_scene_browser_filters.png
46+
\image html hydra_scene_debugger_filters.png
4747

48-
The Hydra Scene Browser works for any Hydra release starting with 23.02,
48+
The Hydra Scene Debugger works for any Hydra release starting with 23.02,
4949
regardless of whether scene data is coming from a scene delegate or not.
5050
Hydra converts between the representations internally as needed -- see
5151
\ref Hydra_Getting_Started_Appendix_Scene_Index_Emulation for details.

pxr/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ if (${PXR_BUILD_IMAGING})
2121
endif()
2222
endif()
2323

24+
if (PXR_BUILD_USD_TOOLS)
25+
add_subdirectory(bin)
26+
else()
27+
message(STATUS "Skipping commandline tools because PXR_BUILD_USD_TOOLS=OFF")
28+
endif()
29+
2430
pxr_core_epilogue()
2531

2632
export(PACKAGE pxr)

0 commit comments

Comments
 (0)