Quantcast
Channel: zoomy dot net » Code
Browsing latest articles
Browse All 10 View Live

Colored Voxels

Returning to the scene of the cubical crime… I’ve found a way to apply colors to my mesh-voxelizing script, by sampling the color of the source model with Maya’s polyGeoSampler command. Incredibly,...

View Article


Banana

The code now respects alpha, and can vary the cube size.

View Article


Banana 02

Separate controls for the size of the voxel grid and the size of the cubes.

View Article

Voxelizer 1.0

Voxelizer 1.0 is a script written in Python for Maya. It builds an array of animated cubes in the shape of selected target objects. It takes the color of the cubes from the texture and lighting of the...

View Article

Translucent City

Made with my foetal citybuilder script, rendered in with mental ray using the misss_physical shader.

View Article


Coral Towers

New attachment support in my favela-generating code, plus a Romanesque model set, and I’ve got a collaboration by de Chirico and Dr. Seuss.

View Article

Ramp rig

Occasionally in my Maya rigging work I want to use and animate a ramp (or many ramps) as part of a node network, but going through the ramp-editing interface is tedious, and the graph editor doesn’t...

View Article

selectTrigger v01

Here’s a Maya script I wrote to trigger the selection of one object with the selection of another, inspired by Hamish McKenzie‘s Trigger UI, as seen in Andrew Silke‘s venerable Generi rig. The script...

View Article


Importing Expressions in Maya

Writing expressions in Maya is a huge pain. The error messages are vague, there’s no stack trace, and the editor is a text entry field with no line numbers, syntax highlighting, or line wraps. And Maya...

View Article


Check for Existence of a Variable in MEL

Error-catching in MEL with the catch command won’t catch a “variable does not exist” error, so use whatIs instead: if (`whatIs "$test"` == "Unknown") { print "yes"; } else { print "no"; } There ya go.

View Article
Browsing latest articles
Browse All 10 View Live