Monday, July 25, 2011

Maya API charts

These are a couple of charts that tells what methods you can use to get an object you need. I wrote them when I was writing a Maya programming book (which ended up not being published), when Maya version was 5 so they're old and the interface and behavior written there may be changed but most of them are still valid.

The first chart shows the relationship between MDagPath, MObject, MFn*, etc. The second one focuses on plugs and attributes. The term "attribute" and "plug" are distinguished strictly in the API. You can say a node *type* has attributes, not a node, so

correct: a mesh has an attribute translateX.
wrong: pCone1 has an attribute translateX.

It indicates you need two informations to get a plug for "pCone1.translateX". First, the node is "pCone1", and second, the attribute is "translateX". You'll see it on the second chart.


Disclaimer: I do not guarantee the accuracy of the information. Refer to it at your own risk.

Friday, June 10, 2011

SPH second test


18000 particles.

Saturday, June 4, 2011

SPH

Test.

Thursday, March 31, 2011

Working Effectively with Legacy Code

I ordered Working Effectively with Legacy Code on Amazon.
According to the comments, it looks it's about how to tackle with real world problems.
I'll write a review here when I get it.

Friday, March 18, 2011

I'm still in Tokyo

There are still power cuts, not a lot of food, gasoline in stores due to seaport damage, prioritized allocation to afflicted areas, and nasty buyups. Lots of foreigners and a bit of Japanese around me left Tokyo momentarily. Tokyo is slowly getting back to normal. The gym I use, which was closed after the earthquake reopened yesterday. There is still a serious concern in the plant. The result is likely to be clear during this three-day weekend. I'm watching the news closely.

Friday, March 11, 2011

Earthquake

There was a couple of huge earthquakes that I had never experienced. Every public transportation stopped and I had to walk home taking 6 hours. There are still afterquakes every 30 minutes.

Monday, March 7, 2011

PENGUIN BOMB