click to return to main page
maya

useful mel stuff

3d Point -> Screen Space

Very often you want to find the 2d coordinates on the screen for a given 3d point. Most often, you want this to feed an animated curve in a compositing package.

Here's a little mel script that knows the projection math and takes care of generating the data in a "raw dump" format. From here, it's easy to generate just about any ascii file format that a compositing program might be expecting.


[main] [in production] [recent projects] [technical research] [contact] [subscribe]