Rudo The Awkward Alien

RudocloseupRudo1Rudo2Rudo3Wireframe_handsWireframe_handshiWireframe_wideWireframeBeast_charatserdesign

This is Rudo – the awkward alien. Modeling, rigging, and rendering done in Maya.

 

 

 

Advertisements

Selecting Vertices Sharing Two Edges

Screen_shot_2011-04-08_at_1

Here’s a Python snippet that selects vertices sharing only two edges (using maya.cmds as mc):

With the mesh object selected,

obj = mc.ls(sl=True)[0]
vertCount = mc.polyEvaluate(obj, v=True)
vertList = [‘{0}.vtx[{1}]’.format(obj,vert) for vert in range(vertCount) if len(mc.polyInfo(‘{0}.vtx[{1}]’.format(obj,vert), ve=1)[0].split(‘:’)[1].split()) == 2]
mc.select(vertList)

The if statement containing the polyInfo command does the filtering by counting the number of edges around the queried vertex. Unfortunately this returns a line of values in a string, so I had to split it a couple times to retrieve the edges count. For example, vertex 302 of ‘polySurface’ is shared by the edges 506, 489, 484, and 485:

mc.polyInfo(‘polySurface.vtx[302]’, ve=1)[0]
# Result: u’VERTEX 302: 506 489 484 485 n’ #


UPDATE: A vertex sharing two edges is called ‘winged’. Here’s another way to select winged vertices using PyMEL (as pm)…

obj = pm.ls(sl=True)[0]
vertList = [obj.verts[v] for v in range(len(obj.verts)) if len(obj.verts[v].connectedEdges()) == 2]
pm.select(vertList)

Cache Cloud Is Out

Finally posted my script! It’s a utility that creates Maya Particle Disk Cache (PDC) files from a sequence of point cloud data. You can find more information here. Hope you enjoy it as much as I do.

UPDATE: I modified the script so that it contains more classes and documentation (v0.9.0). Unfortunately, it’s almost twice as slow as the original release (v0.8.4). Feel free to download the code from my website: http://folio.heylight.com/#958712/Code

Cache Cloud finished

Screen_shot_2011-03-15_at_9

The past couple of weeks I’ve been working on a python script that I named Cache Cloud. With all the point cloud data being generated with Kinect hacks and 3D scanners, I thought this would be a useful Maya utility. It writes Maya Particle Disk Cache files using an animation of point cloud data. It’s finished, but I’ll post some sample videos before releasing the script within the next couple of days. Thanks to this video, I was inspired to write Cache Cloud. Next I’d like to write another one to make nParticle cache files.

 

UPDATE: I added another feature that removes zero-value points; and cleaned up some code which is now making it twice as fast to process.

Installing Amazon EC2 API tools in Linux

It took a couple of days, but I finally found out how to configure linux in order to run Amazon EC2 Tools commands. I found some instructions here and there, but I’ll provide instructions that are clearer (I hope) to the new Linux user, particularly, running Fedora (RPM-based Linux). Much of it is derived from the aforelinked instructions, so look at those for extra information. You should already know some basic linux commands – and remember that these instructions worked for me in Fedora. 

First of all, what is Amazon EC2?  Continue reading

Mark V Helmet

Helmet15aHelmet15bHelmet_wireframeHelmet_wireframe2Helmet_wireframe3Helmet_wireframe4

I finally found some time to work on the helmet again and finally arrived at a point where happy with the model. Now I can move on to some shading tweaks and detailing the textures in Mudbox. It’s way too crisp and shiny. Although, this probably won’t get done until I get back from South America in a few months. A la proxima…