Recent Changes - Search:

Advanced Graphics 2009

All Pages
All Changes

Login

Contrib / BlayneEricP2Writeup

Code, screenshots, and videos are stored at ~aderhold/public/cs838/p2/.

1. A description of the limitations of your parser.

One limitation is that we don't have a check to verify that we read in the number of frames that we were expecting in the file. Our parser can handle arbitrary sets of Euler angles, but our viewer assumes ZXY for the ordering. The changes needed to support arbitrary ordering of Euler angles is minimal. Similarly, the parser should robustly handle cases where there are more than 3 parameters, but our program definitely doesn't make use of any such information.

2. A list of the basic requirements that you have working

  • Concatenation: we have somewhere between levels 1 and 2 working. We align the positions of the root nodes (so clip 2 starts where clip 1 ends), but we do not have the orientation aligned. There isn't any blending of the transition between the two. The video linked to below illustrates our concatenation, you can see the visual discontinuity at frame 250.
  • Blending: we have simple blending working (you can choose a number of frames from 2 motions, and do a weighted average of them). We do the positional alignment as in the concatenation, but once again, no alignment of the orientations. We do not have quaternions implemented, so we just do the linear interpolation of the raw parameters (Euler angles). This leads to some pretty jarring visual effects, but it appears to be working correctly (basically a good implementation of a bad technique).

3. A list of all of the bonus features that you've implemented.

  • Strobes (just draws any even-numbered frames from the preceding 10 frames)
  • Tracers (draws the path of the end-effectors for the previous 10 frames)
  • Export to BVH (allows us to write out any new motions that we create)

4. A list of any outside code that you used (libraries, ...), and any resources you consulted (web pages, etc).

We used JOGL to handle the 3D drawing. Other than that, everything was just the standard Java environment.

5. A description of how to use your program.

Upon starting the program, a dialog box will come up to select the

first BVH file. This file will be added to the list in the upper-right corner of the interface. To concatenate another file onto the end of the first one, click the "+" button under the file list.

To merge a file with another one, click on its name in the file list. In

the bottom-right corner of the interface, click the "Change..." button for either mention of the file and pick another file to merge into the first one. Select starting frames for each file, the desired number of frames to blend, and the weight for the first one (from 0 to 100).

The camera can be controlled by using the sliders marked "Elevation,"

"Rotation," and "Zoom."

End effector tracers and a strobe effect can be turned on or off with

the check boxes that are labeled "Tracers" and "Strobe."

To export the current sequence, click the "Save As..." button and pick

a file path.

6. Screenshots. After the screenshots, we have two movies (blending and concatenation).

http://www.cs.wisc.edu/~aderhold/cs838/blending.mov

http://www.cs.wisc.edu/~aderhold/cs838/concatenation.mov

History - Print - Recent Changes - Search
Page last modified on April 20, 2009, at 01:39 PM