animatron: isometric sprite rendering script

Ok… I actually wrote this a while ago, but after seeing fambros’APC… I realized I needed to incorporate it into the blender UI.

Check it out:

Just drop animatron.py into ${HOME}/.blender/scripts

Then you can open a “Script Window” and select it from Scripts -> Render -> Animatron.

Here are some sample from a project I’m working on now:

Of course this is just 1 direction, the point of the script is to provide 360 carved into a # of directions.

Anyhoo… my python is getting a little less ridiculous.

I think this should be true isometric now… based on stuff from wikipedia and stuff

Character Demo

Here is an initial demo. There are some minor cropping issues in a few actions / directions.

update 2010.09.18: another angle correction

As I started to use the script to render tiles, I realized something was not quite right. The tops aren’t squished properly! I compared the results to Tom Gersic’s efforts and the error is obvious:

So what was the dealio? It has to do with the nutty way spherical coordinates are defined: azimuth v/s inclination. Basically, I needed to subtract theta from 90 degrees. If you think about it, people using 45 degrees don’t have to deal with the issue, since 90 – 45 = 45, but since I used the kooky 35.264 (???) I was off quite a bit. Anyway… it is fixed now. But… I have to re-render all the character animations… 😦

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: