Recent Changes - Search:

Advanced Graphics 2009

All Pages
All Changes

Login

Project2 / GroupCoryAlexTomBlog

May 12,2009 by alex (link)
Last writeup...

TomCoryAlexProject3Writeup

April 12,2009 by alex (link)
The rest of Milestone 2

Well you can see that we have a world that plays a BVH file. So far the parser has worked on all the bvh motions I've fed it. It does assume that the units are Euler angles and are declared ZXY. So I guess a good way to put is that the parser can read "standard" or "basic conventional" BVH files. If it strays to being declared in Quaternions or a different ordering for the angles, it won't work right.

The first bonus feature we're going to try to get working nicely is concatenation - first with just re-orienting and adding onto the base motion, then hopefully making a smooth transition between the two using quaternion interpolation.

If that goes smoothly I'll assume we'll try our hand at motion blending.

April 10,2009 by cory (link)
Signs of life for me

Just an FYI,

I'm working on quaternions and slerping. Nothing to show yet. Hopefully soon :-)

April 10,2009 by tgrim (link)
Here's a better looking UI, with blending starting to get on.

Sorry this took forever....

Spent way too many hours debugging FLTK's bassackwards systems for storing data in menus and drop down boxes.

April 4,2009 by tgrim (link)
New subversion is up.

Check your email. I've got the code building in linux and windows with VS2008. Working on FLTK UI for the motion blending subsystem this weekend...

April 2,2009 by alex (link)
This is what happens when Alex has nothing to do at work...

April 2,2009 by tgrim (link)
SVN will be accessable shortly.

I've got one set up in my home directory at /u/t/g/tgrim/svn/project2

Check out http://www.cs.wisc.edu/twiki/bin/view/CSDocs/FileSharingAndSVNHowTo for some good documentation. It seems like Cory and myself are pretty familiar with it. It will be easy to train Alex.

It seems that the catch with this system is that you can only update when you're connected to the AFS, which is less than useful if you're not ssh'd into a CS computer. We might work around this one way or another in the near future. I also need to configure permissions to give your cs accounts write access before it all works.

April 1,2009 by alex (link)
IT'S ALIIIIIIVE!!!!!! :-O

Parsing complete, line-drawing with rotations complete, frame-stepping complete. I haven't come across a file I haven't been able to read yet in the motion directory (it's been more than 10), so that's good. The falls are especially fun. :-) Once we can plug this into a better world interface and attach it to a timer we'll be all set to start playing with the real tasks of the project.

This is a frame from the jeeheeBoxing set:

And this was too much fun not to post - Drunk fall!

No, I didn't actually implement strobing, I just pasted the frames together in Paint.

April 1,2009 by cory (link)
String Parsing

I use char* instead of strings and it looks something like this. The following code extracts x y z values from a line like "73 23 1"

  • char* inBuffer = new char[bufSize];
  • char* pch = new char[16];
  • modelFile.getline(inBuffer, bufSize);
  • pch = strtok (inBuffer," ");
  • vert = new HE_vert;
  • vert->x = static_cast<float>(atof(pch));
  • pch = strtok (NULL, " ");
  • vert->y = static_cast<float>(atof(pch));
  • pch = strtok (NULL, " ");
  • vert->z = static_cast<float>(atof(pch));

March 31,2009 by alex (link)
Parsing

Wrote a BVH parser tonight. It can display the skeleton in its "zero" position drawn with lines and points at the joints. It's not the fastest piece of code I've ever written (couple seconds for a 2MB motion file) but I still don't know what the best way to parse a string in C++ is since it doesn't have a built in StringTokenizer class, so that's that. Maybe one of you know a way to cut down the tokenizing time, but the parsing itself is robust-ish I think.

I was going to e-mail you guys the code but I didn't want to start a bad trend of sharing code via e-mail, so if there's a share space set up for us somewhere let me know and I'll put it there.

March 30,2009 by tgrim (link)
So it looks like we're investing in C++ and FLTK technologies.

Stock prices have boomed after the famous group C.A.T. announced at their weekly summit what parts of the tech industry they have decided to use. In other news, Java dropped 3 points.

March 26,2009 by gleicher (link)
Test

empty

History - Print - Recent Changes - Search
Page last modified on May 12, 2009, at 04:14 PM