- Import bone and marker models
- In Maya, go to file<import
- Make sure the file type is set to .obj, .ma or BestGuess click here if you have VRML models.
- select the file and click ok
- repeat for each model
- Get get marker coordinates from the marker models
- In the main camera view window, select all bone models (but not the markers). Hit ctrl+h on the keyboard to hide all of the bones. Only the markers are showing.
- Select the marker object
- right click and select vertex from the marking menu
- drag select the vertices for a single marker
- click vAvg on the shelf bar or type vertAvg on the command line. You will get a window that looks like:
If you are using XROMM_Maya_tools_2.0.5 or earlier, the window will look like this:
If you have a window like the one above, follow the instructions below. If you are using XROMM_Maya_tools_2.0.6 or later, scroll past these instructions to the picture of the newer vertAvg window.
- Type in the number of markers you have and press enter. In the above example, we had 10 markers.
- Select the marker number from the list that corresponds to the vertices you selected and hit the "calculate centroid" button.
- A locator is created with the xyz coordinates of the marker centroid. It will be name "marker##" where ## is the number you typed.
- repeat for all markers
- (hint: if you need to see the bones to determine marker numbers Shift+h will unhide the bones)
If you are using XROMM_Maya_tools_2.0.6 or later, the window will look like this:
- Export the CT marker locator data
- This step can be done in the vAvg window. Once you have created centroid locators for all of the makers, the "export centroids" button will become black. Press this button and save the file it produces.
- If you closed the vAvg window, you can also export the marker locations by doing the following:
- select all of the locators that you just created.
- click the CTex from the XROMMtools Shelf, or type CTMexport in the MEL box
- Save the .csv file
- Save the scene. You will reference this for all animations involving this individual animal