Skip to content

rayyanmridha/kit-extension-sample-ui-scene

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omni.ui.scene Kit Extension Samples

Object Info

About

This extension uses the omni.ui.scene API to add simple graphics and labels in the viewport above your selected prim. The labels provide the prim path of the selected prim and the prim path of its assigned material.

See the README for this extension to learn more about it including how to use it.

Follow a step-by-step tutorial that walks you through how to use omni.ui.scene to build this extension.

Widget Info

About

This extension uses the omni.ui.scene API to add a widget in the viewport, just above your selected prim. The widget provides the prim path of your selection and a scale slider.

See the README for this extension to learn more about it including how to use it.

Follow a step-by-step tutorial that walks you through how to use omni.ui.scene to build this extension.

Light Manipulator

About

This extension add a custom manipulator for RectLights that allows you to control the width, height, and intensity of RectLights by clicking and dragging in the viewport.

See the README for this extension to learn more about it including how to use it.

Follow a step-by-step tutorial that walks you through how to use omni.ui.scene to build this extension.

Light Manipulator

About

This extension add a custom slider manipulator above you selected prim that controls the scale of the prim when you click and drag the slider.

See the README for this extension to learn more about it including how to use it.

Follow a step-by-step tutorial that walks you through how to use omni.ui.scene to build this extension.

Adding These Extensions

To add these extensions to your Omniverse app:

  1. Go into: Extension Manager -> Gear Icon -> Extension Search Path
  2. Add this as a search path: git://github.com/NVIDIA-Omniverse/kit-extension-sample-ui-scene?branch=main&dir=exts

Linking with an Omniverse app

For a better developer experience, it is recommended to create a folder link named app to the Omniverse Kit app installed from Omniverse Launcher. A convenience script to use is included.

Run:

> link_app.bat

There is also an analogous link_app.sh for Linux. If successful you should see app folder link in the root of this repo.

If multiple Omniverse apps is installed script will select recommended one. Or you can explicitly pass an app:

> link_app.bat --app code

You can also just pass a path to create link to:

> link_app.bat --path "C:/Users/bob/AppData/Local/ov/pkg/create-2022.1.3"

Running this command adds a symlink to Omniverse Code. This makes intellisense work and lets you easily run the app from the terminal.

Contributing

The source code for this repository is provided as-is and we are not accepting outside contributions.

About

Sample Repository to create Kit Extension using the ui.scene API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 74.9%
  • PowerShell 14.1%
  • Batchfile 6.8%
  • Shell 4.2%