Required for creating your own application
Image generated with live interactive demo.
To replicate the functionality as experienced on NVIDIA Omniverse Blueprints, you'll need to add extensions to the custom app built from kit-app-template. However, if you did not create your own application then this part is already done for you and is part of the Blueprint download.
Here's how to add the necessary extensions to your custom application:
❗ Please read this section carefully.
-
Open the file location where you saved/cloned this repository and navigate to the applications folder, e.g:
{full-path-kit-app-template}\source\apps
-
Copy all 3 of the blueprint's apps that exist in the apps folder of the Blueprint Repository to the applications folder of YOUR custom kit-app-template.
-
First copy over the following application:
omni.app.conditioning_for_precise_visual_generative_ai.kit
❗ Do not change this file or the name of this.
-
Then copy over
omni.app.conditioning_for_precise_visual_generative_ai_desktop.kit
and rename it to your app name (e.g.,my_company.my_editor.kit
)
- Do the same for the application
omni.app.conditioning_for_precise_visual_generative_ai_streaming.kit
(e.g.,my_company.my_editor_streaming.kit
)
At the end of this step you should have 3 applications in YOUR custom kit-app-template.
omni.app.conditioning_for_precise_visual_generative_ai.kit
my_company.my_editor.kit
my_company.my_editor_streaming.kit
-
-
Locate the extensions folder of the blueprint's repository,
{blueprint-repo}\source\extensions
-
Copy the blueprint's extensions to your kit-app-template extensions folder (e.g.
{full-path-kit-app-template}\kit-streamer\source\extensions
) -
Navigate to your app's
premake.lua
file at{full-path-kit-app-template}\premake.lua
-
Locate the
define_app
calls and add new adefine_app
as follows:define_app("omni.app.conditioning_for_precise_visual_generative_ai.kit")
Save
premake.lua
-
Navigate to your app's
repo.toml
file at{full-path-kit-app-template}\repo.toml
-
Edit the
Extensions precacher
section as follows:[repo_precache_exts] # Apps to run and precache apps = ["${root}/source/apps/omni.app.conditioning_for_precise_visual_generative_ai.kit", "${root}/source/apps/my_company.my_editor.kit", "${root}/source/apps/my_company.my_editor_streaming.kit"] registries = [ { name = "kit/default", url = "https://ovextensionsprod.blob.core.windows.net/exts/kit/prod/106/shared" }, { name = "kit/sdk", url = "https://ovextensionsprod.blob.core.windows.net/exts/kit/prod/sdk/${kit_version_short}/${kit_git_hash}" }, { name = "kit/community", url = "https://dw290v42wisod.cloudfront.net/exts/kit/community" }, ]
-
Locate the
pip.toml
file at{full-path-kit-app-template}\tools\deps\pip.toml
-
Copy over the content from the same file on the blueprint repo at
{full-path-blueprint-repo}\kit-streamer\deps\pip.toml
-
Change the relative pathing from
..
to../..
for each line that has a path. Save your changes. -
Rebuild and Restart the application.
Linux:./repo.sh build
|./repo.sh launch -d
Windows:.\repo.bat build
|.\repo.bat launch -d
You can read any of the *.kit
files in your apps folder to see how extensions are added (i.e. "omni.ai.viewport.core" = {}
under [dependencies]).
Note - Use this same process to add your own custom extensions as you further develop your experience.
← Back to Guide | ___________________________________________________________________________ | Next (Configure Extensions) → |
---|