Skip to content

Commit

Permalink
small modify
Browse files Browse the repository at this point in the history
  • Loading branch information
CalciferZh committed May 31, 2018
1 parent 9af0900 commit bfacf52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 3Dviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,16 @@ def run(self):


if __name__ == '__main__':
asf_joints = reader.parse_asf('./data/01/01.asf')
subject = '28'
sequence = '01'

asf_joints = reader.parse_asf('./data/%s/%s.asf' % (subject, subject))
asf_joints['root'].reset_pose()

smpl = SMPLModel('./model.pkl')
smpl_joints = setup_smpl_joints(smpl)

motions = reader.parse_amc('./data/01/01_01.amc')
motions = reader.parse_amc('./data/%s/%s_%s.amc' % (subject, subject, sequence))

v = Viewer(asf_joints, smpl_joints, motions)
v.run()

0 comments on commit bfacf52

Please sign in to comment.