The use of this tool is to setup the connection between the projection nodes in Maya.
Setting up a camera projection in RfM has more complications, or at least more steps than usual workflow. It may cause some frustration for artists trying to get this to work, so I decided to make a small gui to do make this connections.
Tested for in Maya 2016 | RenderMan 20 and Maya 2017 RenderMan 21
For more information please CLICK HERE.
-
Unzip the downloaded file and rename it to prmanProjectionSetup.
-
Then move the entire prmanProjectionSetup folder to the specified path:
- Mac OS X
- ~/Library/Preferences/Autodesk/maya/scripts
- Linux
- /maya/<version>/scripts
- Windows
- <drive>:\Documents and Settings\<username>\My Documents\maya\scripts
- Mac OS X
-
Then in a new instance of Maya, open the script editor and run the following in a Python tab:
from prmanProjectionSetup import cam_proj_setup_ui reload(cam_proj_setup_ui) cam_proj_setup_ui.create_ui()
In case you don't have access to any of the above location, you can install this tool in a custom location. Following steps describe how to do it:
-
Unzip the downloaded file and rename it to prmanProjectionSetup.
-
Then move the entire prmanProjectionSetup folder to any location you want
-
Then in a new instance of Maya, open the script editor and run the following in a Python tab:
import sys, os # Update this path to where you copied the package PATH_TO_PACKAGE = r"REPLACE/ME/WITH/PATH/TO/WHERE/YOU/COPIED/THE/PACKAGE" src_path = os.path.realpath(PATH_TO_PACKAGE) # Adding the location to system path if not src_path in sys.path: sys.path.append(src_path) print "added {} to the path\n".format(src_path) from prmanProjectionSetup import cam_proj_setup_ui reload(cam_proj_setup_ui) cam_proj_setup_ui.create_ui()
Make sure you set the PATH_TO_PACKAGE to where you copied the rfmPrimVarTool package
example:
If the path to prmanProjectionSetup is this:
/Users/Shared/Autodesk/maya/scripts/prmanProjectionSetup
Then you need to set the PATH_TO_PACKAGE as follow:
PATH_TO_PACKAGE = r"/Users/Shared/Autodesk/maya/scripts"
Note: Probably you don't want to run the script from the python tab every time you wan to open the tool, you could drag and drop the code from the python tab to a shell