Archive for September, 2009

notable in 0909 release

Wednesday, September 16th, 2009

Thought it might be helpful to those in the game industry (and other industries for that matter) – there is a perforce python module in this release that can be used to perform perforce operations.

Whoop-de-doo you say?  Well there are a couple of things to note about this particular implementation.  First up its pure python.  Perforce distributes a python module but there is a binary aspect to it which makes maintaining it in a multi-version python environment (welcome to production people).

For the most part this module returns very similar data to the perforce version, so there is a good chance you can swap this implementation straight in if you’re using perforce’s module (thats what I did).

But the other nifty thing is that python keeps an eye on the p4 process it spawns to make sure it doesn’t hang.  Perforce servers seem to be fairly susceptible to big hangs when people make various queries (ie a changes query on the root of a depot for example, or an unbounded integrate).  When the server gets hit with one of these super expensive operations, everyone who is in the queue waiting for an operation to complete can be stuck there for quite some time.  This means that any app that has perforce integration can become unresponsive which is no fun.

Anyway the next release will have callbacks you can define so applications can decide how to handle such a situation.  Depending on the tool you’re writing you may want to wait for it, or you may want to just throw up a dialog for the user so they know its time to go get coffee or whatever.

Also worth noting – this is just python – its not tied to maya at all.  In fact I use it in a heap of standalone apps here at Valve.  Along with a bunch of UI I’ve written (wx python) artists and animators often don’t have to worry at all about version control until it comes time to submit.

OMG OMG OMG!

Tuesday, September 15th, 2009

So I’ve put up a new release.  Its been awhile – as you may have noticed.  And its not a particularly ground breaking release.  But its gotten me back into the routine, and its forced me to take some time to do a bit of maintenance on the tools.  One of the most annoying thing about the toolbox is keeping it up to date with changes and bugfixes which happen over the course of production.  The further the two branches drift, the harder they are to merge.

Anyhoo, excuses out of the way, go forth and download version 0909.

One big thing to note – the animation layers in 2009 break a lot of the functionality of tools like zooXferAnim, the deltaAnims tool, and various others.  This is something that I hope to address in the near future, but no guarantees on when.  Just take comfort in the fact that it annoys the dude out of me as much as it does you, so that will hopefully lite a fire under my ass.

Enjoy!