Naming Conventions
From Moviesandbox
Line 8: | Line 8: | ||
NECK | NECK | ||
- | LEFT_SHOULDER | + | LEFT_SHOULDER or leftShoulder |
- | LEFT_ELBOW | + | LEFT_ELBOW or leftElbow |
- | LEFT_HAND | + | LEFT_HAND or leftHand |
RIGHT_SHOULDER | RIGHT_SHOULDER | ||
Line 16: | Line 16: | ||
RIGHT_HAND | RIGHT_HAND | ||
- | TORSO or | + | TORSO or spine |
- | + | pelvis | |
- | LEFT_HIP | + | LEFT_HIP or leftHip |
- | RIGHT_HIP | + | RIGHT_HIP or rightHip |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | LEFT_KNEE or leftKnee | ||
+ | LEFT_FOOT or leftFoot | ||
- | Moviesandbox is lenient in capitalization Left_Knee is the same as left_knee and LEFT_KNEE - all will work. | + | RIGHT_KNEE or rightKnee |
+ | RIGHT_FOOT or rightFoot | ||
+ | |||
+ | |||
+ | Moviesandbox is lenient in capitalization Left_Knee is the same as left_knee and LEFT_KNEE - all will work. Same goes for leftHand or LEFTHAND or lefthand. | ||
<h2>Importing TGA files </h2> | <h2>Importing TGA files </h2> |
Current revision
Moviesandbox sometimes looks for specific naming conventions in some of its functionality, for example to import two sides of a milkscanned TGA file or to connect kinect skeleton data. Here is a list of the conventions you should be aware of:
[edit] Bone naming conventions
Roughly following the OPENNI bone names:
HEAD NECK
LEFT_SHOULDER or leftShoulder LEFT_ELBOW or leftElbow LEFT_HAND or leftHand
RIGHT_SHOULDER RIGHT_ELBOW RIGHT_HAND
TORSO or spine
pelvis
LEFT_HIP or leftHip RIGHT_HIP or rightHip
LEFT_KNEE or leftKnee LEFT_FOOT or leftFoot
RIGHT_KNEE or rightKnee RIGHT_FOOT or rightFoot
Moviesandbox is lenient in capitalization Left_Knee is the same as left_knee and LEFT_KNEE - all will work. Same goes for leftHand or LEFTHAND or lefthand.
[edit] Importing TGA files
Moviesandbox will automatically look for a file of the same name plus "_back", load it and interpret it as the backside of your TGApointcloud import. Like this:
astronaut.tga astronaut_back.tga
will be put together into one complete drawing!
cosmonaut.tga cosmonaut_back_2.tga
will unfortunately not work, as I am looking for _back just before the file name extension...
taikonaut.tga taikonaut_BACK.tga
will also not work at time of this writing. Given time, I will make this case-agnostic.