Have you ever been in usdview and wanted to save your current camera view for later? This quick little plugin does this for you.
- Run this in the terminal
Linux
echo -e '#usda 1.0\n\ndef Sphere "MyPrim" {\ndouble radius = 4\n}' > some_file.usda
PYTHONPATH=$PWD/plugins:$PYTHONPATH PXR_PLUGINPATH_NAME=$PWD/plugins/copy_camera:$PXR_PLUGINPATH_NAME usdview some_file.usda
- In the opened usdview, press the "Copy The Current Camera" menu button
- In the pop-up window, type in the path to where you want this new camera to go.
- Click "Copy" and you should now have a camera Prim exactly where you current camera is.