Commits

Michael Ludwig  committed 42fd36b

Improve motion demo

  • Participants
  • Parent commits 23e1b8f

Comments (0)

Files changed (1)

File ferox-demos/src/main/java/com/ferox/anim/SimpleSkeletonDemo.java

 
     @Override
     protected void init(OnscreenSurface surface) {
+        //        surface.setVSyncEnabled(true);
         system = new EntitySystem();
 
         renderJob = system.getScheduler()
         Entity mainSkeleton = system.addEntity();
         try {
             AcclaimSkeleton skeleton = new AcclaimSkeleton();
-            InputStream in = new FileInputStream("/Users/michaelludwig/Desktop/U of M/Semesters/Spring 2013/Directed Study/cmu_motions/01.asf");
+            InputStream in = new FileInputStream("/Users/michaelludwig/Desktop/U of M/Semesters/Spring 2013/Directed Study/cmu_motions/35.asf");
             skeleton.load(in);
             skeleton.addSkeleton(mainSkeleton);
 
             in.close();
 
-            in = new FileInputStream("/Users/michaelludwig/Desktop/U of M/Semesters/Spring 2013/Directed Study/cmu_motions/01_01.amc");
+            in = new FileInputStream("/Users/michaelludwig/Desktop/U of M/Semesters/Spring 2013/Directed Study/cmu_motions/35_22.amc");
             SkeletonAnimation anim = skeleton.loadAnimation(in, 1 / 120.0);
 
             mainSkeleton.add(Animated.class).getData().setAnimation(anim).setTimeScale(1);