Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Texturebased blendshape HLSL DX9

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
387 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 28, 2010

This is a project I worked on my freetime.

Consists of three stuff:
HLSL Shader, MEL Script and MLL Plugin

What it does is this:

Calculate amount of pixels needed, build an array that will hold the colors.
Calcualte delta vectors and weight colors and send it off to a plugin I wrote for maya in c++, the plugin saves out a targa instantly.
Once the texture is saved by the plugin, the computer starts off to calculate a second UV coordinate for the mesh that will match the colors outputted in the same order. It also offsets the UVs so texels allign in DX9 by a half pixel. The texture is 60x60 pixels after photoshop resize to fix missmatching of UV to Pixel. The shader is very simple and very efficent and 90% of the work is at production time.

Thanks for watching

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more