Friday, December 11, 2009

Center of mass Tool for Particle systems and Geometry in Houdini..

Feels great to be working after a much needed break!
Looks like a good start....Since quite some time now I have been dabbling with
programming in C++
And it turns out that it was a wise decision indeed! With the new understanding of same old concepts life's a bit more refreshing..

I just finished work on the Center Of Mass tool for Particle systems in Houdini..this tool takes in the point data and evaluates the Center Of Mass of the Particle system....It outputs a point positioned at the Center of Mass of the system and has a COM attribute which stores its position data.

This centre can then be used for several effects..for instance the whole particle system can be made to revolve around it using the Position data stored in the COM attrib or what not..
This tool uses the traditional physics equation so is physically correct.
It updates the changing values of all the particles and updates itself by calculating the new center of mass's position.

No comments: