Skip to content

Weight Map Tools v1

August 22, 2012

Hello everyone,

So its been a while since I last posted, I have realized that this blogging thing is alot harder then it seems, but also have been very busy with some side studies and personal projects, and today im happy to release my first plugin for weight maps.

It allows the user to select an object which may have one or multiply weightmaps. Users can specify the weightmap and then do a wide variety of things to there weights.

  • Specify Value for selected points
  • Mirror Weights – a symmetry map is needed
  • Smooth Weight ( does a linear smooth) – you can specify the amount of points you want it to take into consideration and a percentage you want to apply
  • Copy Weights from a specific point onto Selected point

It came to be due to the fact that I was doing alot of shape work and needing to use weights to modulate them.

It was developed in softimage 2013, but should still run on previous version.

If you run into any problems or bugs just leave me a message here or mail me.

download here – wanted on my wordpress site but wasn’t taking .addons

http://cghub.com/scripts/view/256/

Have fun and enjoy πŸ™‚

p.s. the code isn’t the cleanest as I smashed it out in two evenings πŸ˜›

Advertisements
8 Comments
  1. woops forgot to mention
    > Size in smooth is the amount of surrounding points it will take into condideration when calculating the values.
    > Mafnitude is more of a multiploer of the percentage, 1 = 100%, 0 = nothing
    > what ever value you put into assign will get assigned to the selected points
    > Refresh selection just shows you the values of the points selected

  2. Hi everyone, I found a bug that i have fixed in the tool and will release it later this week, will also try implement some of the suggested updates.

    Bug:
    The smooth magnitude that should allow gradual smoothing was not incorporated into my equation, but I have fixed this now, so you can gradually smooth your weights.

    Updates in the coming future:
    – Invert weights
    – Gradient creation
    – Rescale weights
    – Value culling
    – Copy paste weights

    I also tested the tool on Push maps and it is working, so give it try on those also.

    Thanks you to the list for suggestions on additions, was great πŸ™‚

  3. Thanks Simon! Looks really handy. πŸ™‚

  4. Great tool! I’ve cross posted it to our blog.

  5. Hello! I am trying to use the plug in and I get lots of error messages.

    like this one pasted below.

    Is there a problem on my installation?

    I would love to take advantage of this cool features!

    If you know how to solve it would be nice to hear it from you.

    Cheers and thank you very much for this gift to the comunity!

    Pablo.

    ERROR : Traceback (most recent call last):
    ‘ File “”, line 278, in SA_SetPointWeights_MirrorWeights_OnClicked
    ‘ geo, cluster, selWmap = getGeoClusterWMap()
    ‘ File “”, line 298, in getGeoClusterWMap
    ‘ wMap = geo.ActivePrimitive.Geometry.Clusters( cluster ).Properties( selWmap )
    ‘ File “C:\Program Files\Autodesk\Softimage 2013\Application\python\Lib\site-packages\win32com\client\dynamic.py”, line 500, in __getattr__
    ‘ raise AttributeError, “%s.%s” % (self._username_, attr)
    ‘ AttributeError: .ActivePrimitive
    ‘ – [line 297 in C:\Users\user\Autodesk\Softimage_2013\Addons\SA_WeightTool_v1_00\Application\Plugins\SA_SetPointWeights.py]
    ‘ ERROR : Property Page Script Logic Error (Python ActiveX Scripting Engine)
    ‘ ERROR : [295] geo = geo[0]
    ‘ ERROR : [296] cluster = selWmap.split(‘.’) [-2]
    ‘ ERROR : >[297] selWmap = selWmap.split(‘.’) [-1]
    ‘ ERROR : [298] wMap = geo.ActivePrimitive.Geometry.Clusters( cluster ).Properties( selWmap )
    ‘ ERROR : [299] return geo, cluster, wMap
    ‘ ERROR : [300] else:
    ‘ ERROR : Traceback (most recent call last):
    ‘ File “”, line 278, in SA_SetPointWeights_MirrorWeights_OnClicked
    ‘ geo, cluster, selWmap = getGeoClusterWMap()
    ‘ File “”, line 298, in getGeoClusterWMap
    ‘ wMap = geo.ActivePrimitive.Geometry.Clusters( cluster ).Properties( selWmap )
    ‘ File “C:\Program Files\Autodesk\Softimage 2013\Application\python\Lib\site-packages\win32com\client\dynamic.py”, line 500, in __getattr__
    ‘ raise AttributeError, “%s.%s” % (self._username_, attr)
    ‘ AttributeError: .ActivePrimitive

    • Ahoy man, Just got back from vacation, I have done some updated a few weeks back I will be releasing it soon, I hope that this will fix the error you are encountering.

      Thanks again for the feedback, its great to hear from some people that have been using it.

Trackbacks & Pingbacks

  1. Weight Map Tools v1 for Softimage « Digital Pictures, Inc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: