Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Actual notebook files and specific working code snippets


Example #1

So for the people out there with a Linux workstation with a NVidia card and nvidia-docker installed, you can run this command:
docker run -it --rm --gpus=all -e DISPLAY=$DISPLAY -v /tmp/.
X11-unix:/tmp/.X11-unix:rw -v ~/Downloads/Kitchen_set:/home/username/folder -p 8888:8888 aswftesting/rt-vfxall-jupyter:2020
Then the click on the printed URL to open the Jupyter notebook, and you will be able to also render images right in the notebook thanks to the usdrecord APIs!

Example screenshot showing a notebook with code and a render output image:
(click to enlarge)
:

Image Modified


Notebook file: USDBasics.ipynb

For more detailed information see: https://github.com/aloysbaillet/docker-usd#usd-jupyter


Example #2

usd-binder: A USD Jupyter Binder example on how to inspect a USDZ file interactively
Example screenshot showing a notebook with code:
(click to enlarge)
:
Image Modified

Full interactive Binder direct link: https://hub.gke2.mybinder.org/user/aloysbaillet-usd-binder-49wn1hzp/lab
Notebook file: tv_retro_inspect.ipynb

For more detailed information see: https://github.com/aloysbaillet/usd-binder