Skip to content

Commit

Permalink
adding the randomized hand dataset generation code..
Browse files Browse the repository at this point in the history
  • Loading branch information
AmmarkoV committed Oct 20, 2021
1 parent ac3c093 commit e15f87f
Show file tree
Hide file tree
Showing 5 changed files with 970 additions and 0 deletions.
140 changes: 140 additions & 0 deletions dataset/lhand.bvh
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
HIERARCHY
ROOT lHand
{
OFFSET 0 0 0
CHANNELS 6 Xposition Yposition Zposition Zrotation Yrotation Xrotation
JOINT metacarpal1.l
{
OFFSET 4.0 -0.27 2.00
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-1.l
{
OFFSET 4.5 0.27 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-2.l
{
OFFSET 3.5 -0.32 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-3.l
{
OFFSET 2.1 -0.29 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.98 -0.68 0.0
}
}
}
}
}
JOINT metacarpal2.l
{
OFFSET 4.0 -0.27 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-1.l
{
OFFSET 4.50 0.62 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-2.l
{
OFFSET 3.97 -0.58 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-3.l
{
OFFSET 2.5 -0.42 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.964 -0.73 0.00
}
}
}
}
}
JOINT __metacarpal3.l
{
OFFSET 2.5 -0.27 -2.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT metacarpal3.l
{
OFFSET 1.5 -0.16 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-1.l
{
OFFSET 4.5 0.70 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-2.l
{
OFFSET 3.67 -0.48 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-3.l
{
OFFSET 2.27 -0.35 -0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.904 -0.62 0.0
}
}
}
}
}
}
JOINT __metacarpal4.l
{
OFFSET 2.0 -0.27 -3.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT metacarpal4.l
{
OFFSET 2.0 -0.16 -1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-1.l
{
OFFSET 4.0 0.17 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-2.l
{
OFFSET 3.2 -0.17 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-3.l
{
OFFSET 1.495 -0.10 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.9 -0.10 0.0
}
}
}
}
}
}
JOINT lthumbBase
{
OFFSET 2.0 -0.279 4.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT lthumb
{
OFFSET 2.0 -0.142 1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger1-2.l
{
OFFSET 1.9598 -2.10 1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger1-3.l
{
OFFSET 2.76 -0.46 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 2.595 -0.16 0.0
}
}
}
}
}
}
MOTION
Frames: 1
Frame Time: 0.040000
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
140 changes: 140 additions & 0 deletions dataset/lhand.qbvh
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
HIERARCHY
ROOT lHand
{
OFFSET 0 0 0
CHANNELS 7 Xposition Yposition Zposition Wrotation Xrotation Yrotation Zrotation
JOINT metacarpal1.l
{
OFFSET 4.0 -0.27 2.00
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-1.l
{
OFFSET 4.5 0.27 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-2.l
{
OFFSET 3.5 -0.32 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger2-3.l
{
OFFSET 2.1 -0.29 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.98 -0.68 0.0
}
}
}
}
}
JOINT metacarpal2.l
{
OFFSET 4.0 -0.27 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-1.l
{
OFFSET 4.50 0.62 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-2.l
{
OFFSET 3.97 -0.58 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger3-3.l
{
OFFSET 2.5 -0.42 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.964 -0.73 0.00
}
}
}
}
}
JOINT __metacarpal3.l
{
OFFSET 2.5 -0.27 -2.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT metacarpal3.l
{
OFFSET 1.5 -0.16 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-1.l
{
OFFSET 4.5 0.70 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-2.l
{
OFFSET 3.67 -0.48 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger4-3.l
{
OFFSET 2.27 -0.35 -0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.904 -0.62 0.0
}
}
}
}
}
}
JOINT __metacarpal4.l
{
OFFSET 2.0 -0.27 -3.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT metacarpal4.l
{
OFFSET 2.0 -0.16 -1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-1.l
{
OFFSET 4.0 0.17 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-2.l
{
OFFSET 3.2 -0.17 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger5-3.l
{
OFFSET 1.495 -0.10 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 1.9 -0.10 0.0
}
}
}
}
}
}
JOINT lthumbBase
{
OFFSET 0.0 -0.279 2.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT lthumb
{
OFFSET 2.0 -0.142 1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger1-2.l
{
OFFSET 1.9598 -2.10 1.0
CHANNELS 3 Zrotation Xrotation Yrotation
JOINT finger1-3.l
{
OFFSET 2.76 -0.46 0.0
CHANNELS 3 Zrotation Xrotation Yrotation
End Site
{
OFFSET 2.595 -0.16 0.0
}
}
}
}
}
}
MOTION
Frames: 1
Frame Time: 0.040000
0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Loading

0 comments on commit e15f87f

Please sign in to comment.