利用者:Mont29/Dev/WeightVGroup

提供: wiki
< 利用者:Mont29‎ | Dev
2018年6月29日 (金) 04:41時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

WeightVGroup Modifiers

This is my first C development for Blender. They are three modifiers that affect the weight values of a given vertex group – Edit does mapping, adding/removing and clamping, Mix mixes with another vertex group, or a constant value, and Proximity weights based on the distance between the vertices (or the whole mesh) and another reference object (or its geometry). Optionally, you can control the changes with an influence value, and another vertex group or texture.

The patch tracker id: http://projects.blender.org/tracker/index.php?func=detail&aid=26108.

How to test them?

To test these modifiers, you’ll have to build your own Blender from svn sources, after having patched them with the diff linked here:

  1. Checkout the sources from the svn repository (if you want to make it easy, checkout the same revision as the one specified in the patch file name).
  2. Patch these sources like this:
$ patch -p1 -d path/to/blender/sources < path/to/the/patch
For example, if you got your blender sources in ~/blendersvn-2.5/work/test_src, and put weightvgroup_mod_svn34638.patch under ~/blendersvn-2.5/work/, you’ll enter:
$ cd ~/blendersvn-2.5/work
$ patch -p1 -d test_src < weightvgroup_mod_svn34638.patch
  1. Build Blender, either with scons or CMake!

If you used the same svn revision as the one specified in the patch file name, this should work (with a later revision, it should also work – probably with some « adaptations » by the patch tool, though…)!

Alternatively, if you are using a GNU/Linux OS compatible with Debian testing amd64, or Windows, you can try one of my own builds listed below.

Note: If you have built this modifier on another system (other Windows, OSX, other Linux distro…), I’d be pleased to put it on graphicall as well – just let me a message in my talk page (or send me a mail), with the details of your build (svn revision, OS, debug/optimized build, etc.), and a link to the archive.

Links

See Also