• Twitter
  • Vimeo
  • Linkedin
  • Flickr
  • Rss
  • Mail

  • About
    • Bio
    • Resume
  • Work
    • Portfolio
    • Moleskine
  • Blog

Blog

Rudo The Awkward Alien

April 28, 2011
28 Apr 2011

Meet Rudo – the awkward alien. Modelling, rigging, and rendering done in Maya.

0 Comments/
Array Likes
/0 Tweets/in Animation, Technical

Selecting Vertices Sharing Two Edges

April 8, 2011
08 Apr 2011

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

With the mesh object selected,

[python]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)[/python]
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:
 
[python]mc.polyInfo(‘polySurface.vtx[302]‘, ve=1)[0]
# Result: u’VERTEX 302: 506 489 484 485 n’ #[/python]

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

[python]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)[/python]

0 Comments/
Array Likes
/0 Tweets/in Technical

Cache Cloud Is Out

March 25, 2011
25 Mar 2011

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

0 Comments/
Array Likes
/0 Tweets/in News, Technical

Cache Cloud finished

March 16, 2011
16 Mar 2011
Cache Cloud finished

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.

0 Comments/
Array Likes
/0 Tweets/in News

Installing Amazon EC2 API tools in Linux

February 26, 2011
26 Feb 2011

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?  Read more →
0 Comments/
Array Likes
/0 Tweets/in Technical

Importing Point Cloud Data

February 21, 2011
21 Feb 2011
Importing Point Cloud Data
Importing Point Cloud Data

I was inspired by the making of a music video and wanted to try the same thing using their data with Python in Maya. I also ended up trying it with the House Of Cards data. Eventually, I’ll make a GUI that allows for easy point cloud data import into Maya. I wonder how this data can be used for polygon modelling – something else to try.

 

0 Comments/
Array Likes
/0 Tweets/in News

Mark V Helmet

October 8, 2010
08 Oct 2010

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…

0 Comments/
Array Likes
/0 Tweets/in Animation

Stellated Dodecahedron

July 22, 2010
22 Jul 2010

Stellated Dodecahedron

Last Monday, I learned some modular origami with friends at VHS‘ Crafter Night (organized by Emily). Check out some of the photos here and here. Thanks to Mathew Arthur for teaching us the ways!

0 Comments/
Array Likes
/0 Tweets/in News

Wiggle Stereoscopy

June 19, 2010
19 Jun 2010

Flowers

I tried out this Processing code to make some ‘wiggle stereoscopy’. It would be cool to use this technique in a video.

0 Comments/
Array Likes
/0 Tweets/in Technical

Thermal camera effect test.

June 18, 2010
18 Jun 2010

Testing to emulate a thermal camera as close as possible with After Effects. As a reference, I used a video that was recorded with the FLIR camera. First I tried a tutorial where they use Photoshop, but it turns out that the Colorama effect in After Effects works just as well.

I still need to figure out a good algorithm that translates a color sample to a temperature value (click here for a simple example). There’s a few more details that I need to work on. For example, if you watch the real footage, you may notice the shifting in the color phase, as indicated in the right-side gradient bar. This is also accompanied by the shift in the high/low threshold temperatures. Hopefully I’ll get a decent-looking thermal camera effect for a piece I’d like to do.

0 Comments/
Array Likes
/0 Tweets/in Technical
Page 2 of 512345

Tag Cloud

3D animation 3D scan 3D scanner after effects Amazon AWS animals animation augmented reality C++ character animation character design crafts data visualization dynamics Eclipse fur Git Java JavaScript jon brion Kinect lamarck Linux Maya modeling molecular mudbox origami particles photorealistic point cloud Processing programming pymel Python reel science shading stereoscopy thermal camera visual effects wip Xcode

Twitter Feed

Tweets by @Danvas

On Flickr

Reclining man. (Oil, 24x36 canvas)Demise (acrylic on canvas 24 x 18)
Demise concept sketchLife drawing 1-5min
TAP

Contact Info

dan@heylight.com

six zero four, six one six six four four five

Latest Tweets

  • Let the Waste begin. http://t.co/SP9fGFiNFi
  • This character animation tutorial is rather refreshing. http://t.co/v9RQ9xjMZh (via @pjkc) #3D
  • Secret: this is also how I feel when I have the elevator to myself. https://t.co/owRfVcvmR3

Blog Posts

  • Tuneline App February 10, 2014
  • Setting Up a Git Repository in Eclipse August 1, 2013
  • Scripting a Bloom June 1, 2013
  • Setting Up a Bullet Physics Project May 16, 2013

© Copyright - Hey Light | Portfolio of Daniel Vasquez – 3D Artist and Programmer - CSS by Kriesi
  • About
  • Work
  • Blog