Skip to content

Commit

Permalink
Material graph extension is now installed with kit sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 2, 2024
1 parent 52c2559 commit abcaa7b
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 24 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# Nvidia build folder
extern/nvidia/_build

# Ignore symlink to Omniverse Code
extern/nvidia/app

# Python cache
__pycache__

Expand Down
1 change: 0 additions & 1 deletion apps/cesium.omniverse.cpp.tests.runner.kit
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ folders.'++' = [
"${app}", # Find other applications in this folder
"${app}/exts", # Find extensions in this folder
"${app}/../exts", # Find cesium.omniverse and cesium.usd.schemas
"${app}/../extern/nvidia/app/extscache" # Find omni.kit.window.material_graph
]
3 changes: 1 addition & 2 deletions apps/cesium.omniverse.dev.kit
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app = true
[dependencies]
# Include basic configuration (that brings most of basic extensions)
"omni.app.base" = {}
"omni.kit.window.material_graph" = {optional = true}
"omni.kit.window.material_graph" = {}
"cesium.omniverse" = {}
"cesium.powertools" = {}
"omni.curve.manipulator" = {}
Expand All @@ -26,5 +26,4 @@ folders.'++' = [
"${app}", # Find other applications in this folder
"${app}/exts", # Find extensions in this folder
"${app}/../exts", # Find cesium.omniverse and cesium.usd.schemas
"${app}/../extern/nvidia/app/extscache" # Find omni.kit.window.material_graph
]
1 change: 0 additions & 1 deletion apps/cesium.omniverse.dev.python.debug.kit
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ folders.'++' = [
"${app}", # Find other applications in this folder
"${app}/exts", # Find extensions in this folder
"${app}/../exts", # Find cesium.omniverse and cesium.usd.schemas
"${app}/../extern/nvidia/app/extscache" # Find omni.kit.window.material_graph
]
1 change: 0 additions & 1 deletion apps/cesium.omniverse.dev.trace.kit
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ folders.'++' = [
"${app}", # Find other applications in this folder
"${app}/exts", # Find extensions in this folder
"${app}/../exts", # Find cesium.omniverse and cesium.usd.schemas
"${app}/../extern/nvidia/app/extscache" # Find omni.kit.window.material_graph
]
1 change: 0 additions & 1 deletion apps/cesium.performance.kit
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ folders.'++' = [
"${app}", # Find other applications in this folder
"${app}/exts", # Find extensions in this folder
"${app}/../exts", # Find cesium.omniverse and cesium.usd.schemas
"${app}/../extern/nvidia/app/extscache" # Find omni.kit.window.material_graph
]
15 changes: 0 additions & 15 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,21 +189,6 @@ if(exit_code AND NOT exit_code EQUAL 0)
endif()
# cmake-format: on

# Add a symlink to USD Composer (create) so that we can use its extensions (e.g. omni.kit.window.material_graph) in our internal applications
if(UNIX)
execute_process(COMMAND bash -c "${PROJECT_SOURCE_DIR}/extern/nvidia/link_app.sh --app create"
RESULT_VARIABLE exit_code)
elseif(WIN32)
execute_process(COMMAND cmd /C "${PROJECT_SOURCE_DIR}/extern/nvidia/link_app.bat --app create"
RESULT_VARIABLE exit_code)
endif()

# cmake-format: off
if(exit_code AND NOT exit_code EQUAL 0)
message(WARNING "Could not find USD Composer which contains the material graph extension needed by cesium.omniverse.dev.kit. While Cesium for Omniverse will still build fine, running cesium.omniverse.dev.kit will fail.")
endif()
# cmake-format: on

set(NVIDIA_RELEASE_FOLDER_NAME "release")

if(${USE_NVIDIA_RELEASE_LIBRARIES})
Expand Down

0 comments on commit abcaa7b

Please sign in to comment.